SPModel: SurfaceMesh Struct Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

SurfaceMesh Struct Reference

class that facilitates a mesh of catchments - see SurfaceMesh.h More...

#include <SurfaceMesh.h>

Collaboration diagram for SurfaceMesh:

Collaboration graph
[legend]
List of all members.

Public Attributes

Dictionary * dictionary
Stream * debug
SurfaceMeshLoadersurfaceMeshLoader
float * boundaryConditions
int elementGlobalCount
int arrayElements
float delta
float surfScale
int iAdapt
float sideX
 flag for adaptive meshing
float sideY
int * numNeigh
 the physical length and width of the mesh in metres
int ** nodeNeighbours
int numNodes
int maxNeighboursPerNode
 Maximum number of nodes.
int * id
 Maximum number of neighbours per node.
int * sortedId
int numProcs
int rank
MPI_Request * requestTable
MPI_Status * statusTable
int myLoad
int * processor
LinkedList ** nodeProviders
int * numProviders
int * mapGlobalToLocal
float ** sides
int ** vertices
float * surface
float * x
float * y
float * h
int * receiver
int * highestNeighbour
int * size
int * nCatch
int * nLake
int * nodeType
float * slope
float * length
float * hi
float * h0
SurfaceMeshHaloNodeshaloNodes
SurfaceMeshForeignHaloNodesforeignHaloNodes
LinkedList ** foreignProviderChanges
LinkedList ** localProviderChanges

Detailed Description

class that facilitates a mesh of catchments - see SurfaceMesh.h

Definition at line 141 of file SurfaceMesh.h.


Member Data Documentation

int SurfaceMesh::arrayElements
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), and SurfaceMesh_ReleaseMemory().

float* SurfaceMesh::boundaryConditions
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SPModel_Context_Dump(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshSmoother_Execute(), fluvial(), SPModelDiffusionErosion_Solve(), SPModelFluvialErosion_BoundaryConditions(), SurfaceMesh_BuildRiverNetwork(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), SurfaceMeshLoader_LoadMesh(), and SurfaceMeshRectangularCyclicBC_CreateCyclicBC().

Stream* SurfaceMesh::debug
 

Definition at line 141 of file SurfaceMesh.h.

float SurfaceMesh::delta
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by SurfaceMeshLoader_LoadMesh(), SurfaceMeshLoader_ScanMesh(), and SurfaceMeshRectangularCyclicBC_CreateCyclicBC().

Dictionary* SurfaceMesh::dictionary
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _CatchmentList_New(), and _SurfaceMesh_Init().

int SurfaceMesh::elementGlobalCount
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindNeighbours(), dumpNodes(), initializeNodes(), and SurfaceMeshLoader_LoadMesh().

SurfaceMeshForeignHaloNodes* SurfaceMesh::foreignHaloNodes
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_SyncMesh(), SurfaceMesh_AllocateMemoryForHaloNodes(), and SurfaceMesh_ReleaseMemory().

LinkedList** SurfaceMesh::foreignProviderChanges
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

float* SurfaceMesh::h
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SPModel_Context_Dump(), _SPModel_Context_Gather(), _SurfaceMesh_DetermineFlows(), _SurfaceMesh_FindDonors(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshDecomp_SyncMesh(), CalculateCatchmentCentreHelper(), displayCatchments(), dumpNodes(), fluvial(), getSize(), heightCompareFunc(), idCompareFunc(), initializeNodes(), nodePrintFunction(), SPModelDiffusionErosion_Solve(), SPModelFaultBlocks_Solve(), SPModelFaultModel_Solve(), SPModelFluvialErosion_BoundaryConditions(), SPModelOrography_Solve(), SPModelTectonicUplift_Solve(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), SurfaceMeshIrregularDecomp_AllocateNodes(), SurfaceMeshLoader_LoadMesh(), and windowEvents().

float* SurfaceMesh::h0
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), SPModelTectonicUplift_Solve(), and SurfaceMesh_ReleaseMemory().

SurfaceMeshHaloNodes* SurfaceMesh::haloNodes
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_SyncMesh(), fluvial(), SurfaceMesh_AllocateMemoryForHaloNodes(), SurfaceMesh_FindHaloNode(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

float* SurfaceMesh::hi
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), SPModelTectonicUplift_Solve(), and SurfaceMesh_ReleaseMemory().

int* SurfaceMesh::highestNeighbour
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_DetermineFlows(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), fluvial(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

int SurfaceMesh::iAdapt
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by SurfaceMeshLoader_LoadMesh().

int* SurfaceMesh::id
 

Maximum number of neighbours per node.

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_Build(), _SPModel_Context_Dump(), _SPModel_Context_Gather(), _SPModelFaultModel_Init(), _SurfaceMesh_DetermineCatchmentSizes(), _SurfaceMesh_DetermineFlows(), _SurfaceMesh_FindDonors(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshSmoother_Execute(), AssignCatchmentNumber(), CalculateCatchmentCentreHelper(), CatchmentList_InsertCatchments(), displayCatchments(), dumpNodes(), fluvial(), SplineInterpolator_InterpolateFromGridToMesh(), SPModelFaultModel_RefreshNodeIndices(), SPModelFluvialErosion_BoundaryConditions(), SPModelSimulationContextExtension_Gather(), SPModelSimulationContextExtension_Scatter(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), SurfaceMeshLoader_LoadMesh(), and SurfaceMeshRectangularCyclicBC_CreateCyclicBC().

float* SurfaceMesh::length
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindDonors(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

LinkedList** SurfaceMesh::localProviderChanges
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

int* SurfaceMesh::mapGlobalToLocal
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_InterpolateFromMeshToGrid(), _SPModelFaultModel_Init(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_SyncMesh(), fluvial(), idCompareFunc(), SPModelDiffusionErosion_Solve(), SPModelFaultBlocks_Solve(), SPModelFaultModel_RefreshNodeIndices(), SPModelFaultModel_Solve(), SPModelSimulationContextExtension_Scatter(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

int SurfaceMesh::maxNeighboursPerNode
 

Maximum number of nodes.

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindNeighbours(), and _SurfaceMesh_Initialise().

int SurfaceMesh::myLoad
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_InterpolateFromMeshToGrid(), _SPModel_Context_Gather(), _SPModelFaultModel_Init(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshDecomp_SyncMesh(), dumpNodes(), fluvial(), SplineInterpolator_InterpolateFromGridToMesh(), SPModelDiffusionErosion_Solve(), SPModelFaultBlocks_Solve(), SPModelFaultModel_RefreshNodeIndices(), SPModelFaultModel_Solve(), SPModelFluvialErosion_BoundaryConditions(), SPModelSimulationContextExtension_Gather(), SPModelSimulationContextExtension_Scatter(), SurfaceMesh_OrderNodes(), and SurfaceMesh_UpdateFlows().

int* SurfaceMesh::nCatch
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), AssignCatchmentNumber(), and SurfaceMesh_ReleaseMemory().

int* SurfaceMesh::nLake
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindDonors(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), and SurfaceMesh_ReleaseMemory().

int** SurfaceMesh::nodeNeighbours
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_DetermineFlows(), _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshSmoother_Execute(), dumpNodes(), SPModelDiffusionErosion_Solve(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), and SurfaceMeshRectangularCyclicBC_CreateCyclicBC().

LinkedList** SurfaceMesh::nodeProviders
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_DetermineFlows(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), AssignCatchmentNumber(), AssignProcessor(), CalculateCatchmentCentreHelper(), fluvial(), getSize(), SurfaceMesh_BuildRiverNetwork(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

int* SurfaceMesh::nodeType
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), and SurfaceMesh_ReleaseMemory().

int* SurfaceMesh::numNeigh
 

the physical length and width of the mesh in metres

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshSmoother_Execute(), dumpNodes(), SPModelDiffusionErosion_Solve(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), SurfaceMeshLoader_LoadMesh(), and SurfaceMeshRectangularCyclicBC_CreateCyclicBC().

int SurfaceMesh::numNodes
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_Build(), _SPModel_Context_Dump(), _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshSmoother_Execute(), CatchmentList_InsertCatchments(), createGLWindow(), displayCatchments(), dumpNodes(), initializeNodes(), LinearInterpolator_InterpolateFromGridToMesh(), SplineInterpolator_InterpolateFromGridToMesh(), SPModelFileOutput_Dump(), SPModelSimulationContextExtension_Scatter(), SurfaceMeshIrregularDecomp_AllocateNodes(), SurfaceMeshLoader_LoadMesh(), SurfaceMeshLoader_ScanMesh(), SurfaceMeshRectangularCyclicBC_CreateCyclicBC(), and SurfaceMeshRegularDecomp_AllocateNodes().

int SurfaceMesh::numProcs
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_Build(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_Delete(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshDecomp_Init(), _SurfaceMeshDecomp_SyncMesh(), SurfaceMesh_AllocateMemoryForHaloNodes(), SurfaceMesh_FindHaloNode(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), SurfaceMeshIrregularDecomp_AllocateNodes(), SurfaceMeshRegularDecomp_AllocateNodes(), SurfaceRegularMesh_GatherData(), and windowEvents().

int* SurfaceMesh::numProviders
 

Definition at line 141 of file SurfaceMesh.h.

int* SurfaceMesh::processor
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_Build(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_ComputeHaloNodes(), _SurfaceMeshDecomp_Execute(), AssignProcessor(), dumpNodes(), SPModelSimulationContextExtension_Scatter(), SurfaceMesh_ReleaseMemory(), SurfaceMeshIrregularDecomp_AllocateNodes(), and SurfaceMeshRegularDecomp_AllocateNodes().

int SurfaceMesh::rank
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_Build(), _SurfaceMesh_DetermineCatchmentSizes(), _SurfaceMesh_DetermineFlows(), _SurfaceMesh_FindDonors(), _SurfaceMeshDecomp_Build(), _SurfaceMeshDecomp_Delete(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshDecomp_Init(), _SurfaceMeshDecomp_SyncMesh(), _SurfaceMeshSmoother_Execute(), fluvial(), SPModelDiffusionErosion_Solve(), SurfaceMesh_UpdateFlows(), and SurfaceRegularMesh_GatherData().

int* SurfaceMesh::receiver
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SPModel_Context_Dump(), _SPModel_Context_Gather(), _SurfaceMesh_DetermineFlows(), _SurfaceMesh_FindDonors(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshDecomp_SyncMesh(), CatchmentList_InsertCatchments(), displayCatchments(), dumpNodes(), fluvial(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

MPI_Request* SurfaceMesh::requestTable
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), fluvial(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

float** SurfaceMesh::sides
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), SurfaceMesh_ReleaseMemory(), SurfaceMeshLoader_LoadMesh(), and SurfaceMeshRectangularCyclicBC_CreateCyclicBC().

float SurfaceMesh::sideX
 

flag for adaptive meshing

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SPModelFaultModel_Init(), createGLWindow(), SurfaceMeshLoader_LoadMesh(), and SurfaceMeshLoader_ScanMesh().

float SurfaceMesh::sideY
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SPModelFaultModel_Init(), SurfaceMeshLoader_LoadMesh(), and SurfaceMeshLoader_ScanMesh().

int* SurfaceMesh::size
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_DetermineCatchmentSizes(), _SurfaceMesh_DetermineFlows(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), CatchmentList_InsertCatchments(), and SurfaceMesh_ReleaseMemory().

float* SurfaceMesh::slope
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindDonors(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), fluvial(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), and transportEquation().

int* SurfaceMesh::sortedId
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), fluvial(), SPModelDiffusionErosion_Solve(), SurfaceMesh_OrderNodes(), and SurfaceMesh_ReleaseMemory().

MPI_Status* SurfaceMesh::statusTable
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Initialise(), fluvial(), SurfaceMesh_ReleaseMemory(), and SurfaceMesh_UpdateFlows().

float* SurfaceMesh::surface
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_InterpolateFromMeshToGrid(), _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), fluvial(), SPModelDiffusionErosion_Solve(), SPModelOrography_Solve(), SurfaceMesh_ReleaseMemory(), SurfaceMeshLoader_LoadMesh(), and transportEquation().

SurfaceMeshLoader* SurfaceMesh::surfaceMeshLoader
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_Init().

float SurfaceMesh::surfScale
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindNeighbours(), SurfaceMeshLoader_LoadMesh(), and SurfaceMeshLoader_ScanMesh().

int** SurfaceMesh::vertices
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), dumpNodes(), initializeNodes(), SurfaceMesh_ReleaseMemory(), and SurfaceMeshLoader_LoadMesh().

float* SurfaceMesh::x
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_Build(), _SPModel_Context_Dump(), _SPModelFaultModel_Init(), _SurfaceMesh_DetermineFlows(), _SurfaceMesh_FindDonors(), _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshDecomp_SyncMesh(), _SurfaceMeshSmoother_Execute(), CalculateCatchmentCentreHelper(), displayCatchments(), dumpNodes(), initializeNodes(), SplineInterpolator_InterpolateFromGridToMesh(), SPModelDiffusionErosion_Solve(), SPModelFaultModel_RefreshNodeIndices(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), SurfaceMeshIrregularDecomp_AllocateNodes(), SurfaceMeshLoader_LoadMesh(), SurfaceMeshRectangularCyclicBC_CreateCyclicBC(), and windowEvents().

float* SurfaceMesh::y
 

Definition at line 141 of file SurfaceMesh.h.

Referenced by _Interpolator_Build(), _SPModel_Context_Dump(), _SPModelFaultModel_Init(), _SurfaceMesh_DetermineFlows(), _SurfaceMesh_FindDonors(), _SurfaceMesh_FindNeighbours(), _SurfaceMesh_Initialise(), _SurfaceMeshDecomp_Execute(), _SurfaceMeshDecomp_SyncMesh(), _SurfaceMeshSmoother_Execute(), CalculateCatchmentCentreHelper(), displayCatchments(), dumpNodes(), initializeNodes(), SplineInterpolator_InterpolateFromGridToMesh(), SPModelDiffusionErosion_Solve(), SPModelFaultModel_RefreshNodeIndices(), SurfaceMesh_ReleaseMemory(), SurfaceMesh_UpdateFlows(), SurfaceMeshIrregularDecomp_AllocateNodes(), SurfaceMeshLoader_LoadMesh(), SurfaceMeshRectangularCyclicBC_CreateCyclicBC(), SurfaceMeshRegularDecomp_AllocateNodes(), and windowEvents().


The documentation for this struct was generated from the following file: