#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "Paso_MPI.h"
Functions | |
Paso_MPIInfo * | Paso_MPIInfo_alloc (MPI_Comm comm) |
void | Paso_MPIInfo_free (Paso_MPIInfo *in) |
Paso_MPIInfo * | Paso_MPIInfo_getReference (Paso_MPIInfo *in) |
index_t | Paso_MPIInfo_mod (index_t n, index_t k) |
void | Paso_MPIInfo_Split (Paso_MPIInfo *mpi_info, dim_t N, dim_t *local_N, index_t *offset) |
dim_t | Paso_MPIInfo_setDistribution (Paso_MPIInfo *mpi_info, index_t min_id, index_t max_id, index_t *distribution) |
bool_t | Paso_MPIInfo_noError (Paso_MPIInfo *mpi_info) |
int | Paso_MPIInfo_initialized (void) |
char * | Paso_MPI_appendRankToFileName (const char *fileName, int mpi_size, int mpi_rank) |
char* Paso_MPI_appendRankToFileName | ( | const char * | fileName, | |
int | mpi_size, | |||
int | mpi_rank | |||
) |
Paso_MPIInfo* Paso_MPIInfo_alloc | ( | MPI_Comm | comm | ) |
References Paso_MPIInfo::comm, MEMALLOC, Paso_MPIInfo::msg_tag_counter, PASO_MPI_ERROR, Paso_setError(), Paso_MPIInfo::rank, Paso_MPIInfo::reference_counter, and Paso_MPIInfo::size.
Referenced by Finley_Mesh_read(), Finley_Mesh_read_MPI(), Finley_Mesh_readGmsh(), Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), Finley_RectangularMesh_Rec8(), finley::loadMesh(), Paso_SystemMatrix_loadMM_toCSC(), and Paso_SystemMatrix_loadMM_toCSR().
void Paso_MPIInfo_free | ( | Paso_MPIInfo * | in | ) |
References MEMFREE, and Paso_MPIInfo::reference_counter.
Referenced by Finley_ElementFile_free(), Finley_Mesh_free(), Finley_Mesh_read(), Finley_Mesh_read_MPI(), Finley_Mesh_readGmsh(), Finley_NodeFile_free(), Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), Finley_RectangularMesh_Rec8(), finley::loadMesh(), Paso_Connector_free(), Paso_Coupler_free(), Paso_Distribution_free(), Paso_FCTransportProblem_free(), Paso_Function_LinearSystem_free(), Paso_SharedComponents_free(), Paso_SystemMatrix_free(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), and Paso_SystemMatrixPattern_free().
Paso_MPIInfo* Paso_MPIInfo_getReference | ( | Paso_MPIInfo * | in | ) |
References Paso_MPIInfo::reference_counter.
Referenced by Finley_ElementFile_alloc(), Finley_Mesh_alloc(), Finley_NodeFile_alloc(), Paso_Connector_alloc(), Paso_Coupler_alloc(), Paso_Distribution_alloc(), Paso_FCTransportProblem_alloc(), Paso_Function_LinearSystem_alloc(), Paso_SharedComponents_alloc(), Paso_SystemMatrix_alloc(), and Paso_SystemMatrixPattern_alloc().
int Paso_MPIInfo_initialized | ( | void | ) |
References PASO_MPI_ERROR, Paso_setError(), and TRUE.
Referenced by 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 Paso_MPIInfo_noError | ( | Paso_MPIInfo * | mpi_info | ) |
References Paso_MPIInfo::comm, MPI_INT, PASO_MPI_ERROR, Paso_noError(), Paso_setError(), and Paso_MPIInfo::size.
Referenced by Finley_makePattern(), Finley_Mesh_optimizeDOFLabeling(), Finley_Mesh_saveVTK(), Finley_MPI_noError(), Finley_NodeFile_gather_global(), Paso_Solver_setPreconditioner(), and Paso_SystemMatrix_borrowNormalization().
dim_t Paso_MPIInfo_setDistribution | ( | Paso_MPIInfo * | mpi_info, | |
index_t | min_id, | |||
index_t | max_id, | |||
index_t * | distribution | |||
) |
void Paso_MPIInfo_Split | ( | Paso_MPIInfo * | mpi_info, | |
dim_t | N, | |||
dim_t * | local_N, | |||
index_t * | offset | |||
) |
References Paso_MPIInfo::rank, and Paso_MPIInfo::size.
Referenced by Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), and Finley_RectangularMesh_Rec8().