ESYS13
Revision_
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "Esys_MPI.h"
#include "index.h"
#include "mem.h"
#include "error.h"
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_t | Esys_MPIInfo_noError (Esys_MPIInfo *mpi_info) |
int | Esys_MPIInfo_initialized (void) |
char * | Esys_MPI_appendRankToFileName (const char *fileName, int mpi_size, int mpi_rank) |
int | serial_get_max_threads (void) |
int | serial_get_thread_num (void) |
char* Esys_MPI_appendRankToFileName | ( | const char * | fileName, |
int | mpi_size, | ||
int | mpi_rank | ||
) |
References TMPMEMALLOC.
Referenced by dudley::MeshAdapter::dump(), finley::MeshAdapter::dump(), finley::loadMesh(), and dudley::loadMesh().
Esys_MPIInfo* Esys_MPIInfo_alloc | ( | MPI_Comm | comm | ) |
References Esys_MPIInfo::comm, ESYS_MPI_ERROR, Esys_setError(), MEMALLOC, 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_Mesh_read(), Finley_Mesh_readGmsh(), Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), Finley_RectangularMesh_Rec8(), finley::loadMesh(), dudley::loadMesh(), Paso_SystemMatrix_loadMM_toCSC(), and Paso_SystemMatrix_loadMM_toCSR().
void Esys_MPIInfo_free | ( | Esys_MPIInfo * | in | ) |
References MEMFREE, and 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_ElementFile_free(), Finley_Mesh_addPoints(), Finley_Mesh_free(), Finley_Mesh_read(), Finley_Mesh_readGmsh(), Finley_NodeFile_free(), Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), Finley_RectangularMesh_Rec8(), finley::loadMesh(), dudley::loadMesh(), Paso_Connector_free(), Paso_Coupler_free(), Paso_Distribution_free(), Paso_FCT_FluxLimiter_free(), Paso_FCT_Solver_free(), Paso_Function_LinearSystem_free(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_SharedComponents_free(), Paso_SystemMatrix_free(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), Paso_SystemMatrixPattern_free(), and Paso_TransportProblem_free().
References Esys_MPIInfo::reference_counter.
Referenced by Dudley_ElementFile_alloc(), Dudley_Mesh_alloc(), Dudley_NodeFile_alloc(), Finley_ElementFile_alloc(), Finley_Mesh_addPoints(), Finley_Mesh_alloc(), Finley_NodeFile_alloc(), Paso_Connector_alloc(), Paso_Coupler_alloc(), Paso_Distribution_alloc(), Paso_FCT_FluxLimiter_alloc(), Paso_FCT_Solver_alloc(), Paso_Function_LinearSystem_alloc(), Paso_MergedSolver_alloc(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_getProlongation(), Paso_Preconditioner_AMG_getRestriction(), Paso_SharedComponents_alloc(), Paso_SystemMatrix_alloc(), Paso_SystemMatrixPattern_alloc(), and Paso_TransportProblem_alloc().
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 Dudley_Mesh_optimizeDOFDistribution(), Dudley_Mesh_optimizeDOFLabeling(), Dudley_NodeFile_createDenseDOFLabeling(), Dudley_NodeFile_createDenseNodeLabeling(), Dudley_NodeFile_createDenseReducedDOFLabeling(), Dudley_NodeFile_createDenseReducedNodeLabeling(), Dudley_NodeFile_gather_global(), Finley_Mesh_optimizeDOFDistribution(), Finley_Mesh_optimizeDOFLabeling(), Finley_NodeFile_createDenseDOFLabeling(), Finley_NodeFile_createDenseNodeLabeling(), Finley_NodeFile_createDenseReducedDOFLabeling(), Finley_NodeFile_createDenseReducedNodeLabeling(), and Finley_NodeFile_gather_global().
bool_t Esys_MPIInfo_noError | ( | Esys_MPIInfo * | mpi_info | ) |
References Esys_noError().
Referenced by Dudley_makePattern(), Dudley_Mesh_optimizeDOFLabeling(), Dudley_Mesh_saveVTK(), Dudley_MPI_noError(), Dudley_NodeFile_gather_global(), Finley_makePattern(), Finley_Mesh_optimizeDOFLabeling(), Finley_Mesh_saveVTK(), Finley_MPI_noError(), Finley_NodeFile_gather_global(), 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 N, and Esys_MPIInfo::size.
Referenced by Dudley_Mesh_prepare(), Dudley_NodeFile_createDenseDOFLabeling(), Dudley_NodeFile_createDenseReducedDOFLabeling(), Dudley_NodeFile_createDenseReducedNodeLabeling(), Dudley_NodeFile_gather_global(), Finley_Mesh_prepare(), Finley_NodeFile_createDenseDOFLabeling(), Finley_NodeFile_createDenseReducedDOFLabeling(), Finley_NodeFile_createDenseReducedNodeLabeling(), and Finley_NodeFile_gather_global().
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 | ) |