Classes | Defines | Typedefs | Functions

Esys_MPI.h File Reference

#include "system_dep.h"
#include "types.h"

Go to the source code of this file.

Classes

struct  Esys_MPIInfo

Defines

#define MPI_INT   6
#define MPI_DOUBLE   11
#define MPI_COMM_WORLD   91
#define ESYS_MPI_TODO   { fprintf( stdout, "\nTODO : %s:%d\n", __FILE__, __LINE__); MPI_Finalize(); exit(1); }

Typedefs

typedef int MPI_Comm
typedef int MPI_Request
typedef int Esys_MPI_rank
typedef struct Esys_MPIInfo Esys_MPIInfo

Functions

ESYSUTILS_DLL_API Esys_MPIInfoEsys_MPIInfo_alloc (MPI_Comm comm)
ESYSUTILS_DLL_API void Esys_MPIInfo_free (Esys_MPIInfo *)
ESYSUTILS_DLL_API Esys_MPIInfoEsys_MPIInfo_getReference (Esys_MPIInfo *in)
ESYSUTILS_DLL_API int Esys_MPIInfo_initialized (void)
ESYSUTILS_DLL_API index_t Esys_MPIInfo_mod (index_t n, index_t k)
ESYSUTILS_DLL_API dim_t Esys_MPIInfo_setDistribution (Esys_MPIInfo *in, index_t min_id, index_t max_id, index_t *distribution)
ESYSUTILS_DLL_API void Esys_MPIInfo_Split (Esys_MPIInfo *mpi_info, dim_t n, dim_t *local_N, index_t *offset)
ESYSUTILS_DLL_API bool_t Esys_MPIInfo_noError (Esys_MPIInfo *mpi_info)
ESYSUTILS_DLL_API char * Esys_MPI_appendRankToFileName (const char *, int, int)

Define Documentation

#define ESYS_MPI_TODO   { fprintf( stdout, "\nTODO : %s:%d\n", __FILE__, __LINE__); MPI_Finalize(); exit(1); }
#define MPI_COMM_WORLD   91
#define MPI_DOUBLE   11
#define MPI_INT   6

Referenced by escript::Data::calc_maxGlobalDataPoint(), escript::Data::calc_minGlobalDataPoint(), Dudley_ElementFile_distributeByRankOfDOF(), Dudley_ElementFile_setElementDistribution(), Dudley_Mesh_createDOFMappingAndCoupling(), Dudley_Mesh_createNodeFileMappings(), Dudley_Mesh_optimizeDOFDistribution(), Dudley_Mesh_optimizeDOFLabeling(), Dudley_Mesh_read(), Dudley_Mesh_resolveNodeIds(), Dudley_NodeFile_createDenseDOFLabeling(), Dudley_NodeFile_createDenseNodeLabeling(), Dudley_NodeFile_createDenseReducedDOFLabeling(), Dudley_NodeFile_createDenseReducedNodeLabeling(), Dudley_NodeFile_gather_global(), Dudley_NodeFile_setGlobalDOFRange(), Dudley_NodeFile_setGlobalIdRange(), Dudley_NodeFile_setGlobalNodeIDIndexRange(), Dudley_NodeFile_setGlobalReducedDegreeOfFreedomRange(), Dudley_NodeFile_setGlobalReducedNodeIDIndexRange(), Dudley_Util_setValuesInUse(), finley::MeshAdapter::dump(), dudley::MeshAdapter::dump(), escript::DataTagged::dump(), escript::DataExpanded::dump(), escript::DataConstant::dump(), Finley_ElementFile_distributeByRankOfDOF(), Finley_ElementFile_setElementDistribution(), Finley_Mesh_createDOFMappingAndCoupling(), Finley_Mesh_createNodeFileMappings(), Finley_Mesh_optimizeDOFDistribution(), Finley_Mesh_optimizeDOFLabeling(), Finley_Mesh_read(), Finley_Mesh_resolveNodeIds(), Finley_Mesh_setOrders(), Finley_NodeFile_createDenseDOFLabeling(), Finley_NodeFile_createDenseNodeLabeling(), Finley_NodeFile_createDenseReducedDOFLabeling(), Finley_NodeFile_createDenseReducedNodeLabeling(), Finley_NodeFile_gather_global(), Finley_NodeFile_setGlobalDOFRange(), Finley_NodeFile_setGlobalIdRange(), Finley_NodeFile_setGlobalNodeIDIndexRange(), Finley_NodeFile_setGlobalReducedDegreeOfFreedomRange(), Finley_NodeFile_setGlobalReducedNodeIDIndexRange(), Finley_Util_setValuesInUse(), escript::Data::interpolateFromTable1D(), escript::Data::interpolateFromTable2D(), escript::Data::interpolateFromTable3D(), weipa::EscriptDataset::loadData(), weipa::EscriptDataset::loadDomain(), escript::Data::matrixInverse(), weipa::FileWriter::openFile(), Paso_Distribution_numPositives(), Paso_MergedSolver_mergeSystemMatrix(), Paso_Preconditioner_AMG_alloc(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_CopyRemoteData(), Paso_Preconditioner_AMG_extendB(), Paso_Preconditioner_AMG_getProlongation(), Paso_Preconditioner_AMG_getRestriction(), Paso_ReactiveSolver_solve(), Paso_SystemMatrix_borrowMainDiagonalPointer(), Paso_SystemMatrix_copyRemoteCoupleBlock(), Paso_SystemMatrix_extendedRowsForST(), Paso_TransportProblem_getSafeTimeStepSize(), weipa::EscriptDataset::saveVTKsingle(), weipa::EscriptDataset::setDomain(), weipa::EscriptDataset::setExternalDomain(), escript::Data::toString(), and weipa::EscriptDataset::updateSampleDistribution().


Typedef Documentation

typedef int Esys_MPI_rank
typedef struct Esys_MPIInfo Esys_MPIInfo
typedef int MPI_Comm
typedef int MPI_Request

Function Documentation

ESYSUTILS_DLL_API char* Esys_MPI_appendRankToFileName ( const char *  ,
int  ,
int   
)
ESYSUTILS_DLL_API Esys_MPIInfo* Esys_MPIInfo_alloc ( MPI_Comm  comm  ) 
ESYSUTILS_DLL_API void Esys_MPIInfo_free ( Esys_MPIInfo  ) 
ESYSUTILS_DLL_API Esys_MPIInfo* Esys_MPIInfo_getReference ( Esys_MPIInfo in  ) 
ESYSUTILS_DLL_API int Esys_MPIInfo_initialized ( void   ) 

References ESYS_MPI_ERROR, and Esys_setError().

ESYSUTILS_DLL_API index_t Esys_MPIInfo_mod ( index_t  n,
index_t  k 
)
ESYSUTILS_DLL_API bool_t Esys_MPIInfo_noError ( Esys_MPIInfo mpi_info  ) 
ESYSUTILS_DLL_API dim_t Esys_MPIInfo_setDistribution ( Esys_MPIInfo in,
index_t  min_id,
index_t  max_id,
index_t distribution 
)
ESYSUTILS_DLL_API void Esys_MPIInfo_Split ( Esys_MPIInfo mpi_info,
dim_t  n,
dim_t local_N,
index_t offset 
)