PPL Logo

libs/ck-libs/ParFUM/mesh.C File Reference

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_MeshFEM_readMesh (const char *prefix, int chunkNo, int nChunks)
void FEM_writeMesh (FEM_Mesh *m, const char *prefix, int chunkNo, int nChunks)
CLINKAGE void FEM_traceBegin ()
 FORTRAN_AS_C (FEM_TRACEBEGIN, FEM_traceBegin, fem_tracebegin,(),())
 FORTRAN_AS_C (FEM_TRACEEND, FEM_traceEnd, fem_traceend,(),())
 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


Function Documentation

static void checkIsSet ( int  fem_mesh,
bool  wantSet,
const char *  caller 
) [static]

Definition at line 48 of file mesh.C.

References FEM_Abort(), FEM_Mesh_is_set(), and msg.

Here is the call graph for this function:

FLINKAGE void FTN_NAME ( FEM_MESH_CONN  ,
fem_mesh_conn   
)

Definition at line 64 of file mesh.C.

References FEM_Mesh_data(), and width().

Here is the call graph for this function:

FLINKAGE void FTN_NAME ( FEM_MESH_SET_CONN  ,
fem_mesh_set_conn   
)

Definition at line 79 of file mesh.C.

References checkIsSet(), FTN_NAME(), and width().

Here is the call graph for this function:

FLINKAGE void FTN_NAME ( FEM_MESH_GET_CONN  ,
fem_mesh_get_conn   
)

Definition at line 94 of file mesh.C.

References checkIsSet(), FTN_NAME(), and width().

Here is the call graph for this function:

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 (  ) 

Type Constraints

attr ( attr_   ) 

width (  ) 

datatype ( 1  ) 

allocated ( false   ) 

Definition at line 519 of file mesh.C.

References femVersion, and FEM_Attribute::tryAllocate().

Here is the call graph for this function:

template<class T>
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 724 of file mesh.C.

References BasicTable2d< T >::getRow(), and r.

Here is the call graph for this function:

template<class T>
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 736 of file mesh.C.

References BasicTable2d< T >::getRow(), and r.

Here is the call graph for this function:

template<class T>
AllocTable2d<T>* allocTablePtr ( AllocTable2d< T > *  src,
int  len,
int  wid 
) [inline]

Definition at line 784 of file mesh.C.

References AllocTable2d< T >::allocate().

Here is the call graph for this function:

template<class T>
void interpolateAttrs ( AllocTable2d< T > *  data,
int  A,
int  B,
int  D,
double  frac,
int  width 
) [inline]

Definition at line 812 of file mesh.C.

References BasicTable2d< T >::getRow().

Here is the call graph for this function:

template<class T>
void interpolateAttrs ( AllocTable2d< T > *  data,
int iNodes,
int  rNode,
int  k,
int  width 
) [inline]

Definition at line 825 of file mesh.C.

References BasicTable2d< T >::getRow().

Here is the call graph for this function:

template<class T>
void minAttrs ( AllocTable2d< T > *  data,
int  A,
int  B,
int  D,
double  frac,
int  width 
) [inline]

Definition at line 842 of file mesh.C.

References BasicTable2d< T >::getRow().

Here is the call graph for this function:

template<class T>
void minAttrs ( AllocTable2d< T > *  data,
int iNodes,
int  rNode,
int  k,
int  width 
) [inline]

Definition at line 856 of file mesh.C.

References BasicTable2d< T >::getRow().

Here is the call graph for this function:

static int type2base ( int  base_type,
const char *  caller 
) [static]

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 939 of file mesh.C.

References FEM_Abort().

Here is the call graph for this function:

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 948 of file mesh.C.

References BasicTable2d< T >::getRow(), and r.

Here is the call graph for this function:

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 959 of file mesh.C.

References BasicTable2d< T >::getRow(), and r.

Here is the call graph for this function:

static void read_version (  )  [inline, static]

Definition at line 2189 of file mesh.C.

References Converse::CkMyPe(), and femVersion.

Here is the call graph for this function:

static void write_version (  )  [inline, static]

Definition at line 2199 of file mesh.C.

References femVersion.

CLINKAGE void FEM_traceBegin (  ) 

Definition at line 2262 of file mesh.C.

References traceBegin().

Here is the call graph for this function:

FORTRAN_AS_C ( FEM_TRACEBEGIN  ,
FEM_traceBegin  ,
fem_tracebegin  ,
()  ,
()   
)

Definition at line 2265 of file mesh.C.

References traceEnd().

Here is the call graph for this function:

FORTRAN_AS_C ( FEM_TRACEEND  ,
FEM_traceEnd  ,
fem_traceend  ,
()  ,
()   
)

Definition at line 2274 of file mesh.C.

References FEM_Entity::allocateValid(), and FEM_Mesh::lookup().

Here is the call graph for this function:

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 
)


Variable Documentation

Definition at line 118 of file mesh.C.

int int attr

Definition at line 118 of file mesh.C.

int int const void* data

Definition at line 118 of file mesh.C.

int int const void int firstItem

Definition at line 118 of file mesh.C.

int int const void int int length

Definition at line 118 of file mesh.C.

int int const void int int int datatype

Definition at line 118 of file mesh.C.

Definition at line 2295 of file mesh.C.


Generated on Mon Sep 21 08:10:52 2020 for Charm++ by  doxygen 1.5.5