escript
Revision_
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "Esys_MPI.h"
#include "index.h"
#include "mem.h"
#include "error.h"
Namespaces | |
namespace | esysUtils |
Functions | |
Esys_MPIInfo * | Esys_MPIInfo_alloc (MPI_Comm comm) |
void | Esys_MPIInfo_free (Esys_MPIInfo *in) |
Esys_MPIInfo * | Esys_MPIInfo_getReference (Esys_MPIInfo *in) |
index_t | Esys_MPIInfo_mod (index_t n, index_t k) |
void | Esys_MPIInfo_Split (Esys_MPIInfo *mpi_info, dim_t N, dim_t *local_N, index_t *offset) |
dim_t | Esys_MPIInfo_setDistribution (Esys_MPIInfo *mpi_info, index_t min_id, index_t max_id, index_t *distribution) |
bool | Esys_MPIInfo_noError (Esys_MPIInfo *mpi_info) |
bool | esysUtils::getSplitWorld () |
void | esysUtils::splitWorld () |
int | Esys_MPIInfo_initialized (void) |
int | serial_get_max_threads (void) |
int | serial_get_thread_num (void) |
Esys_MPIInfo* Esys_MPIInfo_alloc | ( | MPI_Comm | comm | ) |
References Esys_MPIInfo::comm, ESYS_MPI_ERROR, Esys_setError(), Esys_MPIInfo::msg_tag_counter, Esys_MPIInfo::rank, Esys_MPIInfo::reference_counter, and Esys_MPIInfo::size.
Referenced by Dudley_Mesh_read(), Dudley_Mesh_readGmsh(), Dudley_TriangularMesh_Tet4(), Dudley_TriangularMesh_Tri3(), finley::loadMesh(), dudley::loadMesh(), paso::SystemMatrix::loadMM_toCSC(), paso::SystemMatrix::loadMM_toCSR(), finley::Mesh::read(), finley::Mesh::readGmsh(), finley::RectangularMesh_Hex20(), finley::RectangularMesh_Hex8(), finley::RectangularMesh_Rec4(), finley::RectangularMesh_Rec8(), and ripley::RipleyDomain::RipleyDomain().
void Esys_MPIInfo_free | ( | Esys_MPIInfo * | in | ) |
References Esys_MPIInfo::reference_counter.
Referenced by finley::cleanupAndThrow(), dudley::cleanupAndThrow(), Dudley_ElementFile_free(), Dudley_Mesh_free(), Dudley_Mesh_read(), Dudley_Mesh_readGmsh(), Dudley_NodeFile_free(), Dudley_TriangularMesh_Tet4(), Dudley_TriangularMesh_Tri3(), finley::loadMesh(), dudley::loadMesh(), paso::SystemMatrix::loadMM_toCSC(), paso::SystemMatrix::loadMM_toCSR(), paso::Preconditioner_AMG_buildInterpolationOperator(), paso::Preconditioner_AMG_buildInterpolationOperatorBlock(), finley::Mesh::read(), finley::Mesh::readGmsh(), finley::RectangularMesh_Hex20(), finley::RectangularMesh_Hex8(), finley::RectangularMesh_Rec4(), finley::RectangularMesh_Rec8(), paso::Connector::~Connector(), paso::Coupler::~Coupler(), paso::Distribution::~Distribution(), finley::ElementFile::~ElementFile(), paso::FCT_FluxLimiter::~FCT_FluxLimiter(), paso::FCT_Solver::~FCT_Solver(), paso::Function::~Function(), finley::Mesh::~Mesh(), finley::NodeFile::~NodeFile(), ripley::RipleyDomain::~RipleyDomain(), paso::SharedComponents::~SharedComponents(), paso::SystemMatrix::~SystemMatrix(), paso::SystemMatrixPattern::~SystemMatrixPattern(), and paso::TransportProblem::~TransportProblem().
References Esys_MPIInfo::reference_counter.
Referenced by paso::Connector::Connector(), paso::Coupler::Coupler(), paso::Distribution::Distribution(), Dudley_ElementFile_alloc(), Dudley_Mesh_alloc(), Dudley_NodeFile_alloc(), finley::ElementFile::ElementFile(), paso::FCT_FluxLimiter::FCT_FluxLimiter(), paso::FCT_Solver::FCT_Solver(), paso::Function::Function(), paso::MergedSolver::MergedSolver(), finley::Mesh::Mesh(), finley::NodeFile::NodeFile(), paso::Preconditioner_AMG_buildInterpolationOperator(), paso::Preconditioner_AMG_buildInterpolationOperatorBlock(), paso::Preconditioner_AMG_getProlongation(), paso::Preconditioner_AMG_getRestriction(), paso::SharedComponents::SharedComponents(), paso::SystemMatrix::SystemMatrix(), paso::SystemMatrixPattern::SystemMatrixPattern(), and paso::TransportProblem::TransportProblem().
int Esys_MPIInfo_initialized | ( | void | ) |
References ESYS_MPI_ERROR, Esys_setError(), and TRUE.
index_t Esys_MPIInfo_mod | ( | index_t | n, |
index_t | k | ||
) |
Referenced by finley::NodeFile::createDenseDOFLabeling(), finley::NodeFile::createDenseNodeLabeling(), finley::NodeFile::createDenseReducedLabeling(), Dudley_Mesh_optimizeDOFDistribution(), Dudley_Mesh_optimizeDOFLabeling(), Dudley_NodeFile_createDenseDOFLabeling(), Dudley_NodeFile_createDenseNodeLabeling(), Dudley_NodeFile_createDenseReducedDOFLabeling(), Dudley_NodeFile_createDenseReducedNodeLabeling(), Dudley_NodeFile_gather_global(), finley::NodeFile::gather_global(), finley::Mesh::optimizeDOFDistribution(), finley::Mesh::optimizeDOFLabeling(), and finley::NodeFile::prepareLabeling().
bool Esys_MPIInfo_noError | ( | Esys_MPIInfo * | mpi_info | ) |
References Esys_noError().
Referenced by Dudley_makePattern(), Dudley_Mesh_optimizeDOFLabeling(), Dudley_MPI_noError(), Dudley_NodeFile_gather_global(), finley::NodeFile::gather_global(), finley::Mesh::makePattern(), finley::MPI_noError(), finley::Mesh::optimizeDOFLabeling(), paso::Preconditioner_alloc(), paso::Preconditioner_AMG_Root_alloc(), paso::Preconditioner_Smoother_alloc(), and paso::solve().
dim_t Esys_MPIInfo_setDistribution | ( | Esys_MPIInfo * | mpi_info, |
index_t | min_id, | ||
index_t | max_id, | ||
index_t * | distribution | ||
) |
References paso::N, and Esys_MPIInfo::size.
Referenced by Dudley_Mesh_prepare(), Dudley_NodeFile_createDenseDOFLabeling(), Dudley_NodeFile_createDenseReducedDOFLabeling(), Dudley_NodeFile_createDenseReducedNodeLabeling(), Dudley_NodeFile_gather_global(), finley::NodeFile::gather_global(), finley::Mesh::prepare(), and finley::NodeFile::prepareLabeling().
void Esys_MPIInfo_Split | ( | Esys_MPIInfo * | mpi_info, |
dim_t | N, | ||
dim_t * | local_N, | ||
index_t * | offset | ||
) |
int serial_get_max_threads | ( | void | ) |
int serial_get_thread_num | ( | void | ) |