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)
CDECL void FEM_Mesh_conn (int fem_mesh, int entity, int *conn, int firstItem, int length, int width)
FDECL void FTN_NAME (FEM_MESH_CONN, fem_mesh_conn)
CDECL void FEM_Mesh_set_conn (int fem_mesh, int entity, const int *conn, int firstItem, int length, int width)
FDECL void FTN_NAME (FEM_MESH_SET_CONN, fem_mesh_set_conn)
CDECL void FEM_Mesh_get_conn (int fem_mesh, int entity, int *conn, int firstItem, int length, int width)
FDECL void FTN_NAME (FEM_MESH_GET_CONN, fem_mesh_get_conn)
CDECL 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)) CDECL 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:.
CDECL const char * FEM_Get_entity_name (int entity, char *storage)
 Return the human-readable version of this entity code, like "FEM_NODE".
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)
CDECL 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)) CDECL 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 49 of file mesh.C.

References FEM_Abort(), and FEM_Mesh_is_set().

FDECL void FTN_NAME ( FEM_MESH_CONN  ,
fem_mesh_conn   
)

Definition at line 65 of file mesh.C.

References FEM_Mesh_data(), and width().

FDECL void FTN_NAME ( FEM_MESH_SET_CONN  ,
fem_mesh_set_conn   
)

Definition at line 80 of file mesh.C.

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

FDECL void FTN_NAME ( FEM_MESH_GET_CONN  ,
fem_mesh_get_conn   
)

Definition at line 95 of file mesh.C.

References checkIsSet(), FTN_NAME(), 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 (  ) 

attr ( attr_   ) 

width (  ) 

datatype ( 1  ) 

allocated ( false   ) 

Definition at line 520 of file mesh.C.

References femVersion, and width().

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

References c, firstItem, BasicTable2d< T >::getRow(), length, and width().

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

References c, firstItem, BasicTable2d< T >::getRow(), length, and width().

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

Definition at line 785 of file mesh.C.

References AllocTable2d< T >::allocate().

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

Definition at line 813 of file mesh.C.

References data, and width().

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

Definition at line 826 of file mesh.C.

References data, and width().

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

Definition at line 843 of file mesh.C.

References data, and width().

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

Definition at line 857 of file mesh.C.

References data, and width().

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

References c, firstItem, BasicTable2d< T >::getRow(), length, and width().

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

References c, firstItem, BasicTable2d< T >::getRow(), length, and width().

static void read_version (  )  [inline, static]

Definition at line 2167 of file mesh.C.

References Converse::CkMyPe(), and femVersion.

static void write_version (  )  [inline, static]

Definition at line 2177 of file mesh.C.

References femVersion.

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 entity

Definition at line 119 of file mesh.C.

int int attr

Definition at line 119 of file mesh.C.

int int const void* data

Definition at line 119 of file mesh.C.

int int const void int firstItem

Definition at line 119 of file mesh.C.

int int const void int int length

Definition at line 119 of file mesh.C.

int int const void int int int datatype

Definition at line 119 of file mesh.C.

int entityType

Definition at line 2250 of file mesh.C.


Generated on Sun Jun 29 13:29:35 2008 for Charm++ by  doxygen 1.5.1