SPModel: plugins/faultModel/FaultModel.h File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FaultModel.h File Reference

Role: Ths plugin visualises the flow between nodes every timestep, to help debugging. More...

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

Go to the source code of this file.

Classes

struct  Arc_t
struct  SPModelFaultModel
struct  SPModelFaultModelContextExtension_t

Typedefs

typedef enum CoordinateType_t CoordinateType
typedef Arc_t Arc
typedef SPModelFaultModelContextExtension_t SPModelFaultModelContextExtension

Enumerations

enum  CoordinateType_t { NORMALISED, NATURAL }

Functions

void * _SPModelFaultModel_DefaultNew (Name name)
void _SPModelFaultModel_Construct (void *component, Stg_ComponentFactory *data)
void _SPModelFaultModel_Init (void *_context)
void SPModelFaultModel_Solve (void *_context)
void SPModelFaultModel_RefreshNodeIndices (void *_context)
Index SPModel_FaultModel_Register (PluginsManager *pluginsManager)

Variables

ExtensionInfo_Index SPModel_FaultModel_ContextExtHandle
const Type SPModelFaultModel_Type


Detailed Description

Role: Ths plugin visualises the flow between nodes every timestep, to help debugging.

Assumptions:

Comments:

Id
FaultModel.h 225 2005-12-22 00:01:19Z AlanLo

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

Definition in file FaultModel.h.


Typedef Documentation

typedef struct Arc_t Arc
 

typedef enum CoordinateType_t CoordinateType
 

typedef struct SPModelFaultModelContextExtension_t SPModelFaultModelContextExtension
 


Enumeration Type Documentation

enum CoordinateType_t
 

Enumerator:
NORMALISED 
NATURAL 

Definition at line 37 of file FaultModel.h.


Function Documentation

void _SPModelFaultModel_Construct void *  component,
Stg_ComponentFactory *  data
 

Definition at line 52 of file FaultModel.c.

References _SPModelFaultModel_Init(), SPModel_FaultModel_ContextExtHandle, SPModel_Simulation_ContextExtHandle, and SPModelFaultModel_Solve().

Referenced by _SPModelFaultModel_DefaultNew().

void* _SPModelFaultModel_DefaultNew Name  name  ) 
 

Definition at line 40 of file FaultModel.c.

References _SPModelFaultModel_Construct(), _SPModelFaultModel_DefaultNew(), and SPModelFaultModel_Type.

Referenced by _SPModelFaultModel_DefaultNew(), and SPModelFaultModel_Register().

void _SPModelFaultModel_Init void *  _context  ) 
 

Definition at line 89 of file FaultModel.c.

References SPModelFaultModelContextExtension_t::arcPoints, SPModelFaultModelContextExtension_t::arcs, SPModelFaultModelContextExtension_t::circleCentrePoints, colinearityCheck(), SPModelFaultModelContextExtension_t::coordType, SPModelFaultModelContextExtension_t::distFromBoundary, SPModelFaultModelContextExtension_t::faultBounds, faultModel, SPModelFaultModelContextExtension_t::fmUpliftRate, SurfaceMesh::id, Arc_t::index, SPModel_Context::localMesh, SurfaceMesh::mapGlobalToLocal, SurfaceMesh::myLoad, NATURAL, SPModelFaultModelContextExtension_t::nodeIndices, NORMALISED, SPModelFaultModelContextExtension_t::numFaultModel, ParameterTimeSeries_New(), SPModelFaultModelContextExtension_t::radiusSq, SurfaceMesh::sideX, SurfaceMesh::sideY, SPModel_FaultModel_ContextExtHandle, UNDEFINED, SurfaceMesh::x, and SurfaceMesh::y.

Referenced by _SPModelFaultModel_Construct().

Index SPModel_FaultModel_Register PluginsManager *  pluginsManager  ) 
 

void SPModelFaultModel_RefreshNodeIndices void *  _context  ) 
 

Definition at line 382 of file FaultModel.c.

References SPModelFaultModelContextExtension_t::circleCentrePoints, SPModelFaultModelContextExtension_t::distFromBoundary, SPModelFaultModelContextExtension_t::faultBounds, faultModel, SurfaceMesh::id, SPModel_Context::localMesh, SurfaceMesh::mapGlobalToLocal, SurfaceMesh::myLoad, SPModelFaultModelContextExtension_t::nodeIndices, SPModelFaultModelContextExtension_t::numFaultModel, SPModelFaultModelContextExtension_t::radiusSq, SPModel_FaultModel_ContextExtHandle, UNDEFINED, SurfaceMesh::x, and SurfaceMesh::y.

Referenced by SPModelFaultModel_Solve().

void SPModelFaultModel_Solve void *  _context  ) 
 

Definition at line 472 of file FaultModel.c.

References SPModelFaultModelContextExtension_t::distFromBoundary, faultModel, SPModelFaultModelContextExtension_t::fmUpliftRate, SurfaceMesh::h, SPModel_Context::localMesh, SurfaceMesh::mapGlobalToLocal, SurfaceMesh::myLoad, SPModelFaultModelContextExtension_t::nodeIndices, SPModelFaultModelContextExtension_t::numFaultModel, ParameterTimeSeries_Interpolate, SPModel_Context::redistributeNodesFlag, simulationExt, SPModel_FaultModel_ContextExtHandle, SPModel_Simulation_ContextExtHandle, SPModelFaultModel_RefreshNodeIndices(), UNDEFINED, SPModelSimulationContextExtension_t::uplift, and ParameterTimeSeries::value.

Referenced by _SPModelFaultModel_Construct().


Variable Documentation

ExtensionInfo_Index SPModel_FaultModel_ContextExtHandle
 

Definition at line 37 of file FaultModel.c.

Referenced by _SPModelFaultModel_Construct(), _SPModelFaultModel_Init(), SPModelFaultModel_RefreshNodeIndices(), and SPModelFaultModel_Solve().

const Type SPModelFaultModel_Type
 

Definition at line 36 of file FaultModel.c.

Referenced by _SPModelFaultModel_DefaultNew(), and SPModelFaultModel_Register().