SPModel: plugins/faultBlocks/FaultBlocks.c File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FaultBlocks.c File Reference

#include <mpi.h>
#include <StGermain/StGermain.h>
#include "SPModel/SPModel.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "FaultBlocks.h"

Include dependency graph for FaultBlocks.c:

Go to the source code of this file.

Functions

void * _SPModelFaultBlocks_DefaultNew (Name name)
void _SPModelFaultBlocks_Construct (void *component, Stg_ComponentFactory *data)
void _SPModelFaultBlocks_Init (void *_context)
void SPModelFaultBlocks_Solve (void *_context)
Index SPModelFaultBlocks_Register (PluginsManager *pluginsManager)

Variables

const Type SPModelFaultBlocks_Type = "SPModelFaultBlocks"
ExtensionInfo_Index SPModel_FaultBlocks_ContextExtHandle


Function Documentation

void _SPModelFaultBlocks_Construct void *  component,
Stg_ComponentFactory *  data
 

Definition at line 51 of file FaultBlocks.c.

References _SPModelFaultBlocks_Init(), SPModel_FaultBlocks_ContextExtHandle, and SPModelFaultBlocks_Solve().

Referenced by _SPModelFaultBlocks_DefaultNew().

void* _SPModelFaultBlocks_DefaultNew Name  name  ) 
 

Definition at line 39 of file FaultBlocks.c.

References _SPModelFaultBlocks_Construct(), _SPModelFaultBlocks_DefaultNew(), and SPModelFaultBlocks_Type.

Referenced by _SPModelFaultBlocks_DefaultNew(), and SPModelFaultBlocks_Register().

void _SPModelFaultBlocks_Init void *  _context  ) 
 

Definition at line 65 of file FaultBlocks.c.

References SPModelFaultBlocksContextExtension_t::faultBlockNat, SPModelFaultBlocksContextExtension_t::faultBlockNodes, SPModelFaultBlocksContextExtension_t::faultBlockTimes, SPModelFaultBlocksContextExtension_t::faultBlockWeights, SPModelFaultBlocksContextExtension_t::maxNat, SPModelFaultBlocksContextExtension_t::maxNumFaultBlockNodes, SPModelFaultBlocksContextExtension_t::numFaultBlockNodes, SPModelFaultBlocksContextExtension_t::numFaultBlocks, and SPModel_FaultBlocks_ContextExtHandle.

Referenced by _SPModelFaultBlocks_Construct().

Index SPModelFaultBlocks_Register PluginsManager *  pluginsManager  ) 
 

Definition at line 168 of file FaultBlocks.c.

References _SPModelFaultBlocks_DefaultNew(), and SPModelFaultBlocks_Type.

void SPModelFaultBlocks_Solve void *  _context  ) 
 

Definition at line 127 of file FaultBlocks.c.

References SPModel_Context::bedRockDensity, SPModel_Context::dt, SPModelFaultBlocksContextExtension_t::faultBlockNat, SPModelFaultBlocksContextExtension_t::faultBlockNodes, SPModelFaultBlocksContextExtension_t::faultBlockTimes, SPModelFaultBlocksContextExtension_t::faultBlockWeights, SPModel_Context::gravity, SurfaceMesh::h, SPModel_Context::localMesh, SurfaceMesh::mapGlobalToLocal, SurfaceMesh::myLoad, SPModelFaultBlocksContextExtension_t::numFaultBlockNodes, SPModelFaultBlocksContextExtension_t::numFaultBlocks, and SPModel_FaultBlocks_ContextExtHandle.

Referenced by _SPModelFaultBlocks_Construct().


Variable Documentation

ExtensionInfo_Index SPModel_FaultBlocks_ContextExtHandle
 

Definition at line 37 of file FaultBlocks.c.

Referenced by _SPModelFaultBlocks_Construct(), _SPModelFaultBlocks_Init(), and SPModelFaultBlocks_Solve().

const Type SPModelFaultBlocks_Type = "SPModelFaultBlocks"
 

Definition at line 36 of file FaultBlocks.c.

Referenced by _SPModelFaultBlocks_DefaultNew(), and SPModelFaultBlocks_Register().