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

DiffusionErosion.c File Reference

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

Include dependency graph for DiffusionErosion.c:

Go to the source code of this file.

Functions

void * _SPModelDiffusionErosion_DefaultNew (Name name)
void _SPModelDiffusionErosion_Construct (void *component, Stg_ComponentFactory *data)
void _SPModelDiffusionErosion_Init (void *_context)
void SPModelDiffusionErosion_Solve (void *_context)
Index SPModelDiffusionErosion_Register (PluginsManager *pluginsManager)

Variables

const Name SPModelFlowHierarchyViewerPluginName = "SPModelFlowHierarchyViewer"
ExtensionInfo_Index SPModel_Simulation_ContextExtHandle
const Type SPModelDiffusionErosion_Type = "SPModelDiffusionErosion"


Function Documentation

void _SPModelDiffusionErosion_Construct void *  component,
Stg_ComponentFactory *  data
 

Definition at line 52 of file DiffusionErosion.c.

References _SPModelDiffusionErosion_Init(), and SPModelDiffusionErosion_Solve().

Referenced by _SPModelDiffusionErosion_DefaultNew().

void* _SPModelDiffusionErosion_DefaultNew Name  name  ) 
 

Definition at line 40 of file DiffusionErosion.c.

References _SPModelDiffusionErosion_Construct(), _SPModelDiffusionErosion_DefaultNew(), and SPModelDiffusionErosion_Type.

Referenced by _SPModelDiffusionErosion_DefaultNew(), and SPModelDiffusionErosion_Register().

void _SPModelDiffusionErosion_Init void *  _context  ) 
 

Definition at line 63 of file DiffusionErosion.c.

References SPModel_Simulation_ContextExtHandle.

Referenced by _SPModelDiffusionErosion_Construct().

Index SPModelDiffusionErosion_Register PluginsManager *  pluginsManager  ) 
 

Definition at line 173 of file DiffusionErosion.c.

References _SPModelDiffusionErosion_DefaultNew(), and SPModelDiffusionErosion_Type.

void SPModelDiffusionErosion_Solve void *  _context  ) 
 

Definition at line 71 of file DiffusionErosion.c.

References SPModel_Context::bedRockDiffusivity, SurfaceMesh::boundaryConditions, SPModel_Context::dt, SPModelSimulationContextExtension_t::erosion, SurfaceMesh::h, SPModel_Context::localMesh, SurfaceMesh::mapGlobalToLocal, minSediment, SurfaceMesh::myLoad, SurfaceMesh::nodeNeighbours, SurfaceMesh::numNeigh, PI, SurfaceMesh::rank, SPModel_Context::seaLevel, SPModel_Context::sedimentDiffusivity, SPModelSimulationContextExtension_t::sedimentHistory, simulationExt, SurfaceMesh::sortedId, SPModel_Simulation_ContextExtHandle, SPModel_Context::submarineBedRockDiffusivity, SPModel_Context::submarineSedimentDiffusivity, SurfaceMesh::surface, ParameterTimeSeries::value, SurfaceMesh::x, and SurfaceMesh::y.

Referenced by _SPModelDiffusionErosion_Construct().


Variable Documentation

ExtensionInfo_Index SPModel_Simulation_ContextExtHandle
 

Definition at line 35 of file DiffusionErosion.c.

const Type SPModelDiffusionErosion_Type = "SPModelDiffusionErosion"
 

Definition at line 38 of file DiffusionErosion.c.

Referenced by _SPModelDiffusionErosion_DefaultNew(), and SPModelDiffusionErosion_Register().

const Name SPModelFlowHierarchyViewerPluginName = "SPModelFlowHierarchyViewer"
 

Definition at line 33 of file DiffusionErosion.c.