Go to the source code of this file.
Data Structures | |
class | FEM_Elem_Conn_Checker |
This checker verifies that FEM_Elem::conn's entries are valid node indices. More... | |
class | FEM_Sparse_Elem_Checker |
This checker makes sure FEM_Sparse::elem's two element indices (element type, element index) are valid. More... | |
Functions | |
static void | checkIsSet (int fem_mesh, bool wantSet, const char *caller) |
CLINKAGE void | FEM_Mesh_conn (int fem_mesh, int entity, int *conn, int firstItem, int length, int width) |
FLINKAGE void | FTN_NAME (FEM_MESH_CONN, fem_mesh_conn) |
CLINKAGE void | FEM_Mesh_set_conn (int fem_mesh, int entity, const int *conn, int firstItem, int length, int width) |
FLINKAGE void | FTN_NAME (FEM_MESH_SET_CONN, fem_mesh_set_conn) |
CLINKAGE void | FEM_Mesh_get_conn (int fem_mesh, int entity, int *conn, int firstItem, int length, int width) |
FLINKAGE void | FTN_NAME (FEM_MESH_GET_CONN, fem_mesh_get_conn) |
CLINKAGE void | FEM_Mesh_data (int fem_mesh, int entity, int attr, void *data, int firstItem, int length, int datatype, int width) |
FORTRAN_AS_C (FEM_MESH_DATA, FEM_Mesh_data, fem_mesh_data,(int *fem_mesh, int *entity, int *attr, void *data, int *firstItem, int *length, int *datatype, int *width),(*fem_mesh,*entity,*attr, data,*firstItem-1,*length,*datatype,*width)) CLINKAGE void FEM_Mesh_set_data(int fem_mesh | |
ghost (0) | |
attr (attr_) | |
width (0) | |
datatype (-1) | |
allocated (false) | |
template<class T> | |
void | setTableData (const void *user, int firstItem, int length, IDXL_LAYOUT_PARAM, AllocTable2d< T > *table) |
Copy this data out of the user's (layout-formatted) array:. | |
template<class T> | |
void | getTableData (void *user, int firstItem, int length, IDXL_LAYOUT_PARAM, const AllocTable2d< T > *table) |
Copy this data into the user's (layout-formatted) array:. | |
template<class T> | |
AllocTable2d< T > * | allocTablePtr (AllocTable2d< T > *src, int len, int wid) |
template<class T> | |
void | interpolateAttrs (AllocTable2d< T > *data, int A, int B, int D, double frac, int width) |
template<class T> | |
void | interpolateAttrs (AllocTable2d< T > *data, int *iNodes, int rNode, int k, int width) |
template<class T> | |
void | minAttrs (AllocTable2d< T > *data, int A, int B, int D, double frac, int width) |
template<class T> | |
void | minAttrs (AllocTable2d< T > *data, int *iNodes, int rNode, int k, int width) |
static int | type2base (int base_type, const char *caller) |
Convert a datatype, which must be FEM_INDEX_0 or FEM_INDEX_1, to the first valid index (base index) of that type. | |
void | setIndexTableData (const void *user, int firstItem, int length, IDXL_LAYOUT_PARAM, AllocTable2d< int > *table, int indexBase) |
Copy this data out of the user's (layout-formatted, indexBase) array:. | |
void | getIndexTableData (void *user, int firstItem, int length, IDXL_LAYOUT_PARAM, const AllocTable2d< int > *table, int indexBase) |
Copy this data into the user's (layout-formatted, indexBase) array:. | |
CLINKAGE const char * | FEM_Get_entity_name (int entity, char *storage) |
Return the human-readable version of this entity code. | |
void | FEM_Index_Check (const char *caller, const char *entityType, int type, int maxType) |
void | FEM_Is_NULL (const char *caller, const char *entityType, int type) |
FILE * | FEM_openMeshFile (const char *prefix, int chunkNo, int nchunks, bool forRead) |
static void | read_version () |
static void | write_version () |
FEM_Mesh * | FEM_readMesh (const char *prefix, int chunkNo, int nChunks) |
void | FEM_writeMesh (FEM_Mesh *m, const char *prefix, int chunkNo, int nChunks) |
CLINKAGE void | FEM_Mesh_allocate_valid_attr (int fem_mesh, int entity_type) |
FORTRAN_AS_C (FEM_MESH_ALLOCATE_VALID_ATTR, FEM_Mesh_allocate_valid_attr, fem_mesh_allocate_valid_attr,(int *fem_mesh, int *entity_type),(*fem_mesh,*entity_type)) CLINKAGE void FEM_set_entity_valid(int mesh | |
Variables | |
int | femVersion |
int | entity |
int int | attr |
int int const void * | data |
int int const void int | firstItem |
int int const void int int | length |
int int const void int int int | datatype |
int | entityType |
Definition at line 52 of file fem_mesh.C.
References FEM_Abort(), FEM_Mesh_is_set(), and msg.
Referenced by FEM_Mesh_get_conn(), FEM_Mesh_set_conn(), and FTN_NAME().
FLINKAGE void FTN_NAME | ( | FEM_MESH_CONN | , | |
fem_mesh_conn | ||||
) |
Definition at line 68 of file fem_mesh.C.
References conn, entity, FEM_Mesh_data(), firstItem, length, and width().
FLINKAGE void FTN_NAME | ( | FEM_MESH_SET_CONN | , | |
fem_mesh_set_conn | ||||
) |
Definition at line 83 of file fem_mesh.C.
References checkIsSet(), conn, entity, firstItem, FTN_NAME(), length, and width().
FLINKAGE void FTN_NAME | ( | FEM_MESH_GET_CONN | , | |
fem_mesh_get_conn | ||||
) |
Definition at line 98 of file fem_mesh.C.
References checkIsSet(), conn, entity, firstItem, FTN_NAME(), length, and width().
FORTRAN_AS_C | ( | FEM_MESH_DATA | , | |
FEM_Mesh_data | , | |||
fem_mesh_data | , | |||
(int *fem_mesh, int *entity, int *attr, void *data, int *firstItem, int *length, int *datatype, int *width) | , | |||
*,*,*,,*-1,*,*,* | width | |||
) |
ghost | ( | 0 | ) |
Referenced by FORTRAN_AS_C(), FEM_Mesh::n2e_add(), and FEM_Mesh::n2e_replace().
attr | ( | attr_ | ) |
width | ( | 0 | ) |
Referenced by ADIOI_Snprintf(), CreateAdaptAdjacencies(), findNodeSet(), FTN_NAME(), LBTOPO_MACRO(), Bulk_Adapt::ParFUM_SetReferenceMesh(), PUPmarshall(), Bulk_Adapt::SetMeshSize(), FEM_Adapt_Algs::SetMeshSize(), and FEM_Adapt_Algs::SetReferenceMesh().
datatype | ( | - | 1 | ) |
allocated | ( | false | ) |
Definition at line 515 of file fem_mesh.C.
References femVersion, and FEM_Attribute::tryAllocate().
Referenced by refine().
void setTableData | ( | const void * | user, | |
int | firstItem, | |||
int | length, | |||
IDXL_LAYOUT_PARAM | , | |||
AllocTable2d< T > * | table | |||
) | [inline] |
Copy this data out of the user's (layout-formatted) array:.
Definition at line 696 of file fem_mesh.C.
References c, BasicTable2d< T >::getRow(), and r.
void getTableData | ( | void * | user, | |
int | firstItem, | |||
int | length, | |||
IDXL_LAYOUT_PARAM | , | |||
const AllocTable2d< T > * | table | |||
) | [inline] |
Copy this data into the user's (layout-formatted) array:.
Definition at line 708 of file fem_mesh.C.
References c, BasicTable2d< T >::getRow(), and r.
AllocTable2d<T>* allocTablePtr | ( | AllocTable2d< T > * | src, | |
int | len, | |||
int | wid | |||
) | [inline] |
Definition at line 756 of file fem_mesh.C.
References AllocTable2d< T >::allocate().
void interpolateAttrs | ( | AllocTable2d< T > * | data, | |
int | A, | |||
int | B, | |||
int | D, | |||
double | frac, | |||
int | width | |||
) | [inline] |
Definition at line 784 of file fem_mesh.C.
References BasicTable2d< T >::getRow().
void interpolateAttrs | ( | AllocTable2d< T > * | data, | |
int * | iNodes, | |||
int | rNode, | |||
int | k, | |||
int | width | |||
) | [inline] |
Definition at line 797 of file fem_mesh.C.
References BasicTable2d< T >::getRow().
void minAttrs | ( | AllocTable2d< T > * | data, | |
int | A, | |||
int | B, | |||
int | D, | |||
double | frac, | |||
int | width | |||
) | [inline] |
Definition at line 814 of file fem_mesh.C.
References BasicTable2d< T >::getRow().
void minAttrs | ( | AllocTable2d< T > * | data, | |
int * | iNodes, | |||
int | rNode, | |||
int | k, | |||
int | width | |||
) | [inline] |
Definition at line 828 of file fem_mesh.C.
References BasicTable2d< T >::getRow().
Convert a datatype, which must be FEM_INDEX_0 or FEM_INDEX_1, to the first valid index (base index) of that type.
Otherwise call FEM_Abort, because the datatype is wrong.
Definition at line 908 of file fem_mesh.C.
References FEM_Abort().
void setIndexTableData | ( | const void * | user, | |
int | firstItem, | |||
int | length, | |||
IDXL_LAYOUT_PARAM | , | |||
AllocTable2d< int > * | table, | |||
int | indexBase | |||
) |
Copy this data out of the user's (layout-formatted, indexBase) array:.
Definition at line 917 of file fem_mesh.C.
References c, BasicTable2d< T >::getRow(), and r.
void getIndexTableData | ( | void * | user, | |
int | firstItem, | |||
int | length, | |||
IDXL_LAYOUT_PARAM | , | |||
const AllocTable2d< int > * | table, | |||
int | indexBase | |||
) |
Copy this data into the user's (layout-formatted, indexBase) array:.
Definition at line 928 of file fem_mesh.C.
References c, BasicTable2d< T >::getRow(), and r.
static void read_version | ( | ) | [inline, static] |
Definition at line 1921 of file fem_mesh.C.
References Converse::CkMyPe(), and femVersion.
Referenced by FEM_readMesh().
static void write_version | ( | ) | [inline, static] |
Definition at line 1931 of file fem_mesh.C.
References femVersion.
Referenced by FEM_writeMesh().
FORTRAN_AS_C | ( | FEM_MESH_ALLOCATE_VALID_ATTR | , | |
FEM_Mesh_allocate_valid_attr | , | |||
fem_mesh_allocate_valid_attr | , | |||
(int *fem_mesh, int *entity_type) | , | |||
*,* | entity_type | |||
) |
Definition at line 122 of file fem_mesh.C.
Referenced by FEM_Update_ghost_field(), FTN_NAME(), FEM_Adapt::newSlot(), FEM_Adapt::printValidArray(), PUPmarshall(), and FEM_Adapt::validDataFor().
Definition at line 122 of file fem_mesh.C.
Referenced by ADIOI_ZOIDFS_Fcntl(), CcsCallerId(), FuncCkLoop::createPThreads(), FEM_REFINE2D_Split(), FEM_Refine_Operation(), FEM_MUtil::packEntData(), pthread_init_lock(), and FEM_MUtil::updateAttrs().
Definition at line 122 of file fem_mesh.C.
Definition at line 122 of file fem_mesh.C.
Referenced by CmiIsomallocPup(), CmiSetPartitionSizes(), CkBitVector::Compare(), cstring_join(), derive_shared_nodes(), element::findLongestEdge(), FTN_NAME(), pupCheckRec::getLength(), final::getLength(), CkDDT_DataType::getName(), win_obj::getName(), ampiCommStruct::getName(), final::getNumReceivedBytes(), growableBufferT< CollideObjRec >::length(), element::lockArc(), LZ4_decompress_generic(), FEM_Adapt::newSlot(), ParFUM_recreateSharedNodes(), PREPEND_PREFIX(), PythonObject::print(), FEM_Adapt::printValidArray(), final::pup(), LogEntry::pup(), CpdList_localQ::pup(), PUPmarshall(), pythonCombinePrint(), element::refineCP(), element::refineLE(), element::refineLF(), regexec(), CkCallback::send(), final::setLength(), LogEntry::setUserSuppliedNote(), growableBufferT< CollideObjRec >::size(), strdup(), strndup(), MBlockChunk::update_field(), writeSts(), and LogPool::writeSts().
Definition at line 1996 of file fem_mesh.C.