SPModel: libSPModel/src/SurfaceMeshLoader.h File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

SurfaceMeshLoader.h File Reference

Role: Loads the mesh from various input files, as specified in the xml input file. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SurfaceMeshLoader

Defines

#define __SurfaceMeshLoader

Functions

SurfaceMeshLoaderSurfaceMeshLoader_DefaultNew (Name name)
SurfaceMeshLoaderSurfaceMeshLoader_New (Name name, Dictionary *dictionary)
SurfaceMeshLoader_SurfaceMeshLoader_New (SizeT _sizeOfSelf, Type type, Stg_Class_DeleteFunction *_delete, Stg_Class_PrintFunction *_print, Stg_Class_CopyFunction *_copy, Stg_Component_DefaultConstructorFunction *_defaultConstructor, Stg_Component_ConstructFunction *_construct, Stg_Component_BuildFunction *_build, Stg_Component_InitialiseFunction *_initialise, Stg_Component_ExecuteFunction *_execute, Stg_Component_DestroyFunction *_destroy, Name name, Bool initFlag, Dictionary *dictionary)
void _SurfaceMeshLoader_Init (SurfaceMeshLoader *self)
void _SurfaceMeshLoader_Print (void *surfaceMeshLoader, Stream *stream)
void _SurfaceMeshLoader_Delete (void *surfaceMeshLoader)
void _SurfaceMeshLoader_Construct (void *surfaceMeshLoader, Stg_ComponentFactory *cf)
void _SurfaceMeshLoader_Build (void *surfaceMeshLoader, void *data)
void _SurfaceMeshLoader_Initialise (void *surfaceMeshLoader, void *data)
void _SurfaceMeshLoader_Execute (void *surfaceMeshLoader, void *data)
void _SurfaceMeshLoader_Destroy (void *surfaceMeshLoader, void *data)
void SurfaceMeshLoader_LoadMesh (SurfaceMeshLoader *surfaceMeshLoader, SurfaceMesh *mesh)
void SurfaceMeshLoader_ScanMesh (SurfaceMeshLoader *surfaceMeshLoader, SurfaceMesh *mesh)


Detailed Description

Role: Loads the mesh from various input files, as specified in the xml input file.

Assumptions:

Id
SurfaceMeshLoader.h 159 2005-07-14 10:11:31Z RaquibulHassan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Definition in file SurfaceMeshLoader.h.


Define Documentation

#define __SurfaceMeshLoader
 

Value:

struct{ __Stg_Component }; \
        int                         nx; \
        int                         ny; \
        char                        *inputType; \
        char                        *inputDirectory; \
        char                        *inputFile; \
        Dictionary                  *dictionary;

Definition at line 34 of file SurfaceMeshLoader.h.


Function Documentation

void _SurfaceMeshLoader_Build void *  surfaceMeshLoader,
void *  data
 

Definition at line 218 of file SurfaceMeshLoader.c.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

void _SurfaceMeshLoader_Construct void *  surfaceMeshLoader,
Stg_ComponentFactory *  cf
 

Definition at line 213 of file SurfaceMeshLoader.c.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

void _SurfaceMeshLoader_Delete void *  surfaceMeshLoader  ) 
 

Definition at line 204 of file SurfaceMeshLoader.c.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

void _SurfaceMeshLoader_Destroy void *  surfaceMeshLoader,
void *  data
 

Definition at line 233 of file SurfaceMeshLoader.c.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

void _SurfaceMeshLoader_Execute void *  surfaceMeshLoader,
void *  data
 

Definition at line 228 of file SurfaceMeshLoader.c.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

void _SurfaceMeshLoader_Init SurfaceMeshLoader self  ) 
 

Definition at line 125 of file SurfaceMeshLoader.c.

References SurfaceMeshLoader::dictionary, SurfaceMeshLoader::inputType, MESH_TYPE_AUTOGENERATED, MESH_TYPE_FROM_ENVI_INPUT, MESH_TYPE_FROM_OUTPUT_FILES, MESH_TYPE_FROM_SPM_INPUT, MESH_TYPE_FROM_TEXT_INPUT, and SPModel_Warning.

Referenced by _SurfaceMeshLoader_New().

void _SurfaceMeshLoader_Initialise void *  surfaceMeshLoader,
void *  data
 

Definition at line 223 of file SurfaceMeshLoader.c.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

SurfaceMeshLoader* _SurfaceMeshLoader_New SizeT  _sizeOfSelf,
Type  type,
Stg_Class_DeleteFunction *  _delete,
Stg_Class_PrintFunction *  _print,
Stg_Class_CopyFunction *  _copy,
Stg_Component_DefaultConstructorFunction *  _defaultConstructor,
Stg_Component_ConstructFunction *  _construct,
Stg_Component_BuildFunction *  _build,
Stg_Component_InitialiseFunction *  _initialise,
Stg_Component_ExecuteFunction *  _execute,
Stg_Component_DestroyFunction *  _destroy,
Name  name,
Bool  initFlag,
Dictionary *  dictionary
 

Definition at line 94 of file SurfaceMeshLoader.c.

References _SurfaceMeshLoader_Init().

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

void _SurfaceMeshLoader_Print void *  surfaceMeshLoader,
Stream *  stream
 

Definition at line 185 of file SurfaceMeshLoader.c.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

SurfaceMeshLoader* SurfaceMeshLoader_DefaultNew Name  name  ) 
 

Definition at line 57 of file SurfaceMeshLoader.c.

References _SurfaceMeshLoader_Build(), _SurfaceMeshLoader_Construct(), _SurfaceMeshLoader_Delete(), _SurfaceMeshLoader_Destroy(), _SurfaceMeshLoader_Execute(), _SurfaceMeshLoader_Initialise(), _SurfaceMeshLoader_New(), _SurfaceMeshLoader_Print(), SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_Type.

Referenced by SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_New().

void SurfaceMeshLoader_LoadMesh SurfaceMeshLoader surfaceMeshLoader,
SurfaceMesh mesh
 

Definition at line 239 of file SurfaceMeshLoader.c.

References SurfaceMesh::boundaryConditions, SurfaceMesh::delta, SurfaceMesh::elementGlobalCount, SurfaceMesh::h, SurfaceMesh::iAdapt, SurfaceMesh::id, initialize_nodal_geometry(), SurfaceMeshLoader::inputDirectory, SurfaceMeshLoader::inputFile, SurfaceMeshLoader::inputType, MESH_TYPE_AUTOGENERATED, MESH_TYPE_FROM_ENVI_INPUT, MESH_TYPE_FROM_OUTPUT_FILES, MESH_TYPE_FROM_SPM_INPUT, MESH_TYPE_FROM_TEXT_INPUT, SurfaceMesh::numNeigh, SurfaceMesh::numNodes, SurfaceMeshLoader::nx, SurfaceMeshLoader::ny, PI, SurfaceMesh::sides, SurfaceMesh::sideX, SurfaceMesh::sideY, SurfaceMesh::surface, SurfaceMesh::surfScale, SurfaceMesh::vertices, SurfaceMesh::x, and SurfaceMesh::y.

Referenced by _SurfaceMesh_Build().

SurfaceMeshLoader* SurfaceMeshLoader_New Name  name,
Dictionary *  dictionary
 

Definition at line 76 of file SurfaceMeshLoader.c.

References _SurfaceMeshLoader_Build(), _SurfaceMeshLoader_Construct(), _SurfaceMeshLoader_Delete(), _SurfaceMeshLoader_Destroy(), _SurfaceMeshLoader_Execute(), _SurfaceMeshLoader_Initialise(), _SurfaceMeshLoader_New(), _SurfaceMeshLoader_Print(), SurfaceMeshLoader_DefaultNew(), and SurfaceMeshLoader_Type.

Referenced by _SurfaceMesh_Init().

void SurfaceMeshLoader_ScanMesh SurfaceMeshLoader surfaceMeshLoader,
SurfaceMesh mesh
 

Definition at line 531 of file SurfaceMeshLoader.c.

References SurfaceMesh::delta, SurfaceMeshLoader::inputDirectory, SurfaceMeshLoader::inputFile, SurfaceMeshLoader::inputType, MESH_TYPE_AUTOGENERATED, MESH_TYPE_FROM_ENVI_INPUT, MESH_TYPE_FROM_OUTPUT_FILES, MESH_TYPE_FROM_SPM_INPUT, MESH_TYPE_FROM_TEXT_INPUT, SurfaceMesh::numNodes, SurfaceMesh::sideX, SurfaceMesh::sideY, and SurfaceMesh::surfScale.

Referenced by _SurfaceMesh_Init().