#include <ctype.h>
#include "Mesh.h"
Defines | |
#define | FSCANF_CHECK(scan_ret, reason) { if (scan_ret == EOF) { perror(reason); Finley_setError(IO_ERROR,"scan error while reading finley file"); return NULL;} } |
Functions | |
Finley_Mesh * | Finley_Mesh_read (char *fname, index_t order, index_t reduced_order, bool_t optimize) |
Finley_Mesh * | Finley_Mesh_read_MPI (char *fname, index_t order, index_t reduced_order, bool_t optimize) |
#define FSCANF_CHECK | ( | scan_ret, | |||
reason | ) | { if (scan_ret == EOF) { perror(reason); Finley_setError(IO_ERROR,"scan error while reading finley file"); return NULL;} } |
Referenced by Finley_Mesh_read(), Finley_Mesh_read_MPI(), and Finley_Mesh_readGmsh().
Finley_Mesh* Finley_Mesh_read | ( | char * | fname, | |
index_t | order, | |||
index_t | reduced_order, | |||
bool_t | optimize | |||
) |
References Finley_ElementFile::Color, Finley_Mesh::ContactElements, Finley_NodeFile::Coordinates, Finley_Mesh::Elements, Finley_Mesh::FaceElements, Finley_ElementFile_alloc(), Finley_ElementFile_allocTable(), Finley_Mesh_addTagMap(), Finley_Mesh_alloc(), Finley_Mesh_free(), Finley_Mesh_prepare(), Finley_Mesh_resolveNodeIds(), Finley_NodeFile_allocTable(), Finley_noError(), Finley_RefElement_getTypeId(), Finley_resetError(), Finley_setError(), Finley_timer(), FSCANF_CHECK, Finley_NodeFile::globalDegreesOfFreedom, Finley_ElementFile::Id, Finley_NodeFile::Id, INDEX2, IO_ERROR, LenErrorMsg_MAX, LenString_MAX, Finley_ElementFile::maxColor, Finley_ElementFile::minColor, MPI_COMM_WORLD, Finley_ElementFile::Nodes, Finley_Mesh::Nodes, NoType, Finley_RefElementInfo::numNodes, Finley_Mesh::order, Finley_ElementFile::Owner, Paso_MPIInfo_alloc(), Paso_MPIInfo_free(), Finley_Mesh::Points, Finley_Mesh::reduced_order, Finley_ElementFile::ReferenceElement, Paso_MPIInfo::size, SYSTEM_ERROR, Finley_ElementFile::Tag, Finley_NodeFile::Tag, Finley_RefElement::Type, and VALUE_ERROR.
Finley_Mesh* Finley_Mesh_read_MPI | ( | char * | fname, | |
index_t | order, | |||
index_t | reduced_order, | |||
bool_t | optimize | |||
) |
References Finley_ElementFile::Color, Paso_MPIInfo::comm, Finley_Mesh::ContactElements, Finley_NodeFile::Coordinates, Finley_Mesh::Elements, Finley_Mesh::FaceElements, Finley_ElementFile_alloc(), Finley_ElementFile_allocTable(), Finley_Mesh_addTagMap(), Finley_Mesh_alloc(), Finley_Mesh_free(), Finley_Mesh_prepare(), Finley_Mesh_resolveNodeIds(), Finley_NodeFile_allocTable(), Finley_noError(), Finley_RefElement_getTypeId(), Finley_resetError(), Finley_setError(), Finley_timer(), FSCANF_CHECK, Finley_NodeFile::globalDegreesOfFreedom, Finley_ElementFile::Id, Finley_NodeFile::Id, INDEX2, IO_ERROR, LenErrorMsg_MAX, LenString_MAX, Finley_ElementFile::maxColor, Finley_ElementFile::minColor, MPI_COMM_WORLD, MPI_DOUBLE, MPI_INT, Finley_ElementFile::Nodes, Finley_Mesh::Nodes, NoType, Finley_RefElementInfo::numNodes, Finley_Mesh::order, Finley_ElementFile::Owner, PASO_MPI_ERROR, Paso_MPIInfo_alloc(), Paso_MPIInfo_free(), Finley_Mesh::Points, Paso_MPIInfo::rank, Finley_Mesh::reduced_order, Finley_ElementFile::ReferenceElement, Paso_MPIInfo::size, Finley_ElementFile::Tag, Finley_NodeFile::Tag, TMPMEMALLOC, TMPMEMFREE, TMPMEMREALLOC, Finley_RefElement::Type, and VALUE_ERROR.
Referenced by finley::readMesh().