PPL Logo

libs/ck-libs/fem/fem_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_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


Function Documentation

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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

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

Referenced by FORTRAN_AS_C(), FEM_Mesh::n2e_add(), and FEM_Mesh::n2e_replace().

Here is the caller graph for this function:

attr ( attr_   ) 

width (  ) 

datatype ( 1  ) 

allocated ( false   ) 

Definition at line 515 of file fem_mesh.C.

References femVersion, and FEM_Attribute::tryAllocate().

Referenced by refine().

Here is the call graph for this function:

Here is the caller 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 696 of file fem_mesh.C.

References c, 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 708 of file fem_mesh.C.

References c, 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 756 of file fem_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 784 of file fem_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 797 of file fem_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 814 of file fem_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 828 of file fem_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 908 of file fem_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 917 of file fem_mesh.C.

References c, 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 928 of file fem_mesh.C.

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

Here is the call graph for this function:

static void read_version (  )  [inline, static]

Definition at line 1921 of file fem_mesh.C.

References Converse::CkMyPe(), and femVersion.

Referenced by FEM_readMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

static void write_version (  )  [inline, static]

Definition at line 1931 of file fem_mesh.C.

References femVersion.

Referenced by FEM_writeMesh().

Here is the caller 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

int int attr

int int const void* data

Definition at line 122 of file fem_mesh.C.

int int const void int firstItem

Definition at line 122 of file fem_mesh.C.

Referenced by FTN_NAME(), and PUPmarshall().

int int const void int int length

int int const void int int int datatype

Definition at line 122 of file fem_mesh.C.

Definition at line 1996 of file fem_mesh.C.


Generated on Mon Sep 21 08:07:15 2020 for Charm++ by  doxygen 1.5.5