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

SurfaceMeshRegularDecomp.c File Reference

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

#include <mpi.h>
#include <StGermain/StGermain.h>
#include <Cascade/cascade.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <limits.h>
#include "types.h"
#include "SurfaceMeshDecomp.h"
#include "SurfaceMeshRegularDecomp.h"
#include "SurfaceMesh.h"
#include "Catchment.h"
#include "Misc.h"
#include "CommHandler.h"

Include dependency graph for SurfaceMeshRegularDecomp.c:

Go to the source code of this file.

Functions

SurfaceMeshRegularDecompSurfaceMeshRegularDecomp_DefaultNew (Name name)
SurfaceMeshRegularDecompSurfaceMeshRegularDecomp_New (Name name, SurfaceMesh *mesh, Dictionary *dictionary)
SurfaceMeshRegularDecomp_SurfaceMeshRegularDecomp_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, SurfaceMesh *_mesh, SurfaceMeshDecomp_SyncMeshFunction *_syncMesh, SurfaceMeshDecomp_ComputeHaloNodesFunction *_computeHaloNodes, SurfaceMeshDecomp_AllocateNodesFunction *_allocateNodes)
void _SurfaceMeshRegularDecomp_Init (SurfaceMeshRegularDecomp *self)
void _SurfaceMeshRegularDecomp_Print (void *surfaceMeshRegularDecomp, Stream *stream)
void _SurfaceMeshRegularDecomp_Delete (void *surfaceMeshRegularDecomp)
void _SurfaceMeshRegularDecomp_Construct (void *surfaceMeshRegularDecomp, Stg_ComponentFactory *cf)
void _SurfaceMeshRegularDecomp_Build (void *surfaceMeshRegularDecomp, void *data)
void _SurfaceMeshRegularDecomp_Initialise (void *surfaceMeshRegularDecomp, void *data)
void _SurfaceMeshRegularDecomp_Execute (void *surfaceMeshRegularDecomp, void *data)
void _SurfaceMeshRegularDecomp_Destroy (void *surfaceMeshRegularDecomp, void *data)
void SurfaceMeshRegularDecomp_SyncMesh (SurfaceMeshRegularDecomp *surfaceMeshRegularDecomp, SurfaceMesh *mesh)
 public functions
void SurfaceMeshRegularDecomp_ComputeHaloNodes (SurfaceMeshRegularDecomp *surfaceMeshRegularDecomp)
void SurfaceMeshRegularDecomp_AllocateNodes (_SurfaceMeshDecomp *surfaceMeshDecomp)

Variables

const Type SurfaceMeshRegularDecomp_Type = "SurfaceMeshRegularDecomp"


Detailed Description

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

Assumptions:

Id
SurfaceMeshRegularDecomp.c 159 2005-07-17 10:11:31Z RaquibulHassan

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

Definition in file SurfaceMeshRegularDecomp.c.


Function Documentation

void _SurfaceMeshRegularDecomp_Build void *  surfaceMeshRegularDecomp,
void *  data
 

Definition at line 186 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_Build().

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void _SurfaceMeshRegularDecomp_Construct void *  surfaceMeshRegularDecomp,
Stg_ComponentFactory *  cf
 

Definition at line 181 of file SurfaceMeshRegularDecomp.c.

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void _SurfaceMeshRegularDecomp_Delete void *  surfaceMeshRegularDecomp  ) 
 

Definition at line 163 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_Delete(), and MASTER_PROC.

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void _SurfaceMeshRegularDecomp_Destroy void *  surfaceMeshRegularDecomp,
void *  data
 

Definition at line 210 of file SurfaceMeshRegularDecomp.c.

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void _SurfaceMeshRegularDecomp_Execute void *  surfaceMeshRegularDecomp,
void *  data
 

Definition at line 201 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_Execute().

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void _SurfaceMeshRegularDecomp_Init SurfaceMeshRegularDecomp self  ) 
 

Definition at line 145 of file SurfaceMeshRegularDecomp.c.

Referenced by _SurfaceMeshRegularDecomp_New().

void _SurfaceMeshRegularDecomp_Initialise void *  surfaceMeshRegularDecomp,
void *  data
 

Definition at line 196 of file SurfaceMeshRegularDecomp.c.

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

SurfaceMeshRegularDecomp* _SurfaceMeshRegularDecomp_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,
SurfaceMesh _mesh,
SurfaceMeshDecomp_SyncMeshFunction _syncMesh,
SurfaceMeshDecomp_ComputeHaloNodesFunction _computeHaloNodes,
SurfaceMeshDecomp_AllocateNodesFunction _allocateNodes
 

Definition at line 96 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_New(), and _SurfaceMeshRegularDecomp_Init().

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void _SurfaceMeshRegularDecomp_Print void *  surfaceMeshRegularDecomp,
Stream *  stream
 

Definition at line 150 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_Print().

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void SurfaceMeshRegularDecomp_AllocateNodes _SurfaceMeshDecomp surfaceMeshDecomp  ) 
 

Definition at line 236 of file SurfaceMeshRegularDecomp.c.

References maxX, minX, SurfaceMesh::numNodes, SurfaceMesh::numProcs, SurfaceMesh::processor, and SurfaceMesh::y.

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

void SurfaceMeshRegularDecomp_ComputeHaloNodes SurfaceMeshRegularDecomp surfaceMeshRegularDecomp  ) 
 

Definition at line 227 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_ComputeHaloNodes().

SurfaceMeshRegularDecomp* SurfaceMeshRegularDecomp_DefaultNew Name  name  ) 
 

Definition at line 50 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_SyncMesh(), _SurfaceMeshRegularDecomp_Build(), _SurfaceMeshRegularDecomp_Construct(), _SurfaceMeshRegularDecomp_Delete(), _SurfaceMeshRegularDecomp_Destroy(), _SurfaceMeshRegularDecomp_Execute(), _SurfaceMeshRegularDecomp_Initialise(), _SurfaceMeshRegularDecomp_New(), _SurfaceMeshRegularDecomp_Print(), SurfaceMeshRegularDecomp_AllocateNodes(), SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_Type.

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().

SurfaceMeshRegularDecomp* SurfaceMeshRegularDecomp_New Name  name,
SurfaceMesh mesh,
Dictionary *  dictionary
 

Definition at line 72 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_SyncMesh(), _SurfaceMeshRegularDecomp_Build(), _SurfaceMeshRegularDecomp_Construct(), _SurfaceMeshRegularDecomp_Delete(), _SurfaceMeshRegularDecomp_Destroy(), _SurfaceMeshRegularDecomp_Execute(), _SurfaceMeshRegularDecomp_Initialise(), _SurfaceMeshRegularDecomp_New(), _SurfaceMeshRegularDecomp_Print(), SurfaceMeshRegularDecomp_AllocateNodes(), SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_Type.

void SurfaceMeshRegularDecomp_SyncMesh SurfaceMeshRegularDecomp surfaceMeshRegularDecomp,
SurfaceMesh mesh
 

public functions

Definition at line 217 of file SurfaceMeshRegularDecomp.c.

References _SurfaceMeshDecomp_SyncMesh().


Variable Documentation

const Type SurfaceMeshRegularDecomp_Type = "SurfaceMeshRegularDecomp"
 

Definition at line 48 of file SurfaceMeshRegularDecomp.c.

Referenced by SurfaceMeshRegularDecomp_DefaultNew(), and SurfaceMeshRegularDecomp_New().