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

IsostaticFlexure.c File Reference

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

Include dependency graph for IsostaticFlexure.c:

Go to the source code of this file.

Functions

void * _SPModelIsostaticFlexure_DefaultNew (Name name)
void _SPModelIsostaticFlexure_Construct (void *component, Stg_ComponentFactory *data)
void _SPModelIsostaticFlexure_Init (void *_context)
float interpolateFunction (int meshLocalIndex, void *args)
void SPModelIsostaticFlexure_Solve (void *_context)
Index SPModelIsostaticFlexure_Register (PluginsManager *pluginsManager)

Variables

const Type SPModelIsostaticFlexure_Type = "SPModelIsostaticFlexure"
ExtensionInfo_Index SPModel_Simulation_ContextExtHandle


Function Documentation

void _SPModelIsostaticFlexure_Construct void *  component,
Stg_ComponentFactory *  data
 

Definition at line 51 of file IsostaticFlexure.c.

References _SPModelIsostaticFlexure_Init(), SPModel_Simulation_ContextExtHandle, and SPModelIsostaticFlexure_Solve().

Referenced by _SPModelIsostaticFlexure_DefaultNew().

void* _SPModelIsostaticFlexure_DefaultNew Name  name  ) 
 

Definition at line 39 of file IsostaticFlexure.c.

References _SPModelIsostaticFlexure_Construct(), _SPModelIsostaticFlexure_DefaultNew(), and SPModelIsostaticFlexure_Type.

Referenced by _SPModelIsostaticFlexure_DefaultNew(), and SPModelIsostaticFlexure_Register().

void _SPModelIsostaticFlexure_Init void *  _context  ) 
 

Definition at line 66 of file IsostaticFlexure.c.

Referenced by _SPModelIsostaticFlexure_Construct().

float interpolateFunction int  meshLocalIndex,
void *  args
 

Definition at line 70 of file IsostaticFlexure.c.

References SPModel_Context::bedRockDensity, SPModelSimulationContextExtension_t::erosion, SPModel_Context::gravity, SPModel_Context::sedimentDensity, SPModelSimulationContextExtension_t::sedimentHistory, simulationExt, SPModel_Simulation_ContextExtHandle, and SPModelSimulationContextExtension_t::uplift.

Index SPModelIsostaticFlexure_Register PluginsManager *  pluginsManager  ) 
 

Definition at line 170 of file IsostaticFlexure.c.

References _SPModelIsostaticFlexure_DefaultNew(), and SPModelIsostaticFlexure_Type.

void SPModelIsostaticFlexure_Solve void *  _context  ) 
 

Definition at line 92 of file IsostaticFlexure.c.

References _Interpolator_InterpolateFromGridToMesh(), _Interpolator_InterpolateFromMeshToGrid(), SPModel_Context::asthenosphereDensity, cosfilt(), d3tensor(), SurfaceRegularMesh::dataArray, dmatrix(), SPModel_Context::elasticPlateLength, SPModel_Context::flexuralRigidity, SPModel_Context::flexureInterval, free_d3tensor(), free_dmatrix(), globalMesh, SPModel_Context::globalMesh, SPModel_Context::gravity, SPModelSimulationContextExtension_t::hiso, SPModelSimulationContextExtension_t::hisoPrev, SPModelSimulationContextExtension_t::hisotot, interpolateFunction(), SPModel_Context::interpolator, localMesh, SPModel_Context::localMesh, MASTER_PROC, SurfaceRegularMesh::nx, SurfaceRegularMesh::ny, SPModel_Context::regularMesh, simulationExt, SPModel_Simulation_ContextExtHandle, SurfaceRegularMesh_BroadcastData(), and SurfaceRegularMesh_GatherData().

Referenced by _SPModelIsostaticFlexure_Construct().


Variable Documentation

ExtensionInfo_Index SPModel_Simulation_ContextExtHandle
 

Definition at line 37 of file IsostaticFlexure.c.

const Type SPModelIsostaticFlexure_Type = "SPModelIsostaticFlexure"
 

Definition at line 35 of file IsostaticFlexure.c.

Referenced by _SPModelIsostaticFlexure_DefaultNew(), and SPModelIsostaticFlexure_Register().