src/utility/parallel_tools.h File Reference

#include <cassert>
#include <algorithm>
#include <iostream>
#include <map>
#include <utility>
#include <sstream>
#include <vector>
#include "mpi.h"
#include "utility/triple.h"
#include "tetmesh/entity.h"
#include "myrlog.h"

Include dependency graph for parallel_tools.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  parallel

Classes

class  parallel::Mpi_DType< T >
class  parallel::Mpi_DType< int >
class  parallel::Mpi_DType< unsigned int >
class  parallel::Mpi_DType< unsigned long >

Functions

template<typename T>
int parallel::determine_proc_of_this_element (T nodes, std::vector< int > &procs)
template<>
int parallel::determine_proc_of_this_element< std::pair< id_t, id_t > > (std::pair< id_t, id_t > nodes, std::vector< int > &procs)
template<>
int parallel::determine_proc_of_this_element< utility::triple< id_t, id_t, id_t > > (utility::triple< id_t, id_t, id_t > nodes, std::vector< int > &procs)
template<>
int parallel::determine_proc_of_this_element< id_t > (id_t node, std::vector< int > &procs)
template<typename T>
int parallel::assign_gids (std::vector< T > &elements, std::vector< id_t > &gids, std::vector< int > &elem_counts, std::vector< int > &elem_displs, MPI_Comm comm)
template<typename T>
int parallel::assign_gids2 (bool *my_claims, std::vector< T > &elements, std::vector< id_t > &gids, std::vector< int > &elem_counts, std::vector< int > &elem_displs, MPI_Comm comm)
int parallel::set_ownership (const std::vector< id_t > &gids, std::vector< int > &owned_by, MPI_Comm comm)
void parallel::remove_gids (std::vector< id_t > gids, std::vector< id_t > eliminated_gids, std::vector< id_t > map_elimated)
void parallel::compute_mgid_map (id_t num_global_gids, const std::vector< id_t > &gids, std::vector< id_t > &eliminated_gids, id_t *num_global_mgids, std::map< id_t, id_t > &mgid_map, MPI_Comm comm)
int parallel::set_counts_displs (int my_count, std::vector< int > &counts, std::vector< int > &displs, MPI_Comm comm)
std::ostream & operator<< (std::ostream &ostr, const utility::triple< mesh::id_t, mesh::id_t, mesh::id_t > &x)
std::ostream & operator<< (std::ostream &ostr, const std::pair< mesh::id_t, mesh::id_t > &x)


Function Documentation

std::ostream& operator<< ( std::ostream &  ostr,
const std::pair< mesh::id_t, mesh::id_t > &  x 
)

std::ostream& operator<< ( std::ostream &  ostr,
const utility::triple< mesh::id_t, mesh::id_t, mesh::id_t > &  x 
)


Generated on Fri Oct 26 13:35:15 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7