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

FluvialErosion.c File Reference

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

Include dependency graph for FluvialErosion.c:

Go to the source code of this file.

Functions

void * _SPModelFluvialErosion_DefaultNew (Name name)
void _SPModelFluvialErosion_Construct (void *component, Stg_ComponentFactory *data)
void _SPModelFluvialErosion_Init (void *_context)
void SPModelFluvialErosion_BoundaryConditions (void *_context)
float transportEquation (int localIndex, SurfaceMesh *mesh, SPModelSimulationContextExtension *simulationExt)
void SPModelFluvialErosion_Solve (void *_context)
Index SPModelFluvialErosion_Register (PluginsManager *pluginsManager)

Variables

const Type SPModelFluvialErosion_Type = "SPModelFluvialErosion"
ExtensionInfo_Index SPModel_Simulation_ContextExtHandle


Function Documentation

void _SPModelFluvialErosion_Construct void *  component,
Stg_ComponentFactory *  data
 

Definition at line 50 of file FluvialErosion.c.

References _SPModelFluvialErosion_Init(), and SPModelFluvialErosion_Solve().

Referenced by _SPModelFluvialErosion_DefaultNew().

void* _SPModelFluvialErosion_DefaultNew Name  name  ) 
 

Definition at line 38 of file FluvialErosion.c.

References _SPModelFluvialErosion_Construct(), _SPModelFluvialErosion_DefaultNew(), and SPModelFluvialErosion_Type.

Referenced by _SPModelFluvialErosion_DefaultNew(), and SPModelFluvialErosion_Register().

void _SPModelFluvialErosion_Init void *  _context  ) 
 

Definition at line 61 of file FluvialErosion.c.

References SPModel_Simulation_ContextExtHandle.

Referenced by _SPModelFluvialErosion_Construct().

void SPModelFluvialErosion_BoundaryConditions void *  _context  ) 
 

Definition at line 69 of file FluvialErosion.c.

References SurfaceMesh::boundaryConditions, SurfaceMesh::h, SurfaceMesh::id, SPModel_Context::localMesh, SurfaceMesh::myLoad, SPModelSimulationContextExtension_t::sediment, SPModelSimulationContextExtension_t::sedimentHistory, simulationExt, and SPModel_Simulation_ContextExtHandle.

Referenced by SPModelFluvialErosion_Solve().

Index SPModelFluvialErosion_Register PluginsManager *  pluginsManager  ) 
 

Definition at line 123 of file FluvialErosion.c.

References _SPModelFluvialErosion_DefaultNew(), and SPModelFluvialErosion_Type.

void SPModelFluvialErosion_Solve void *  _context  ) 
 

Definition at line 106 of file FluvialErosion.c.

References fluvial(), simulationExt, SPModel_Simulation_ContextExtHandle, SPModelFluvialErosion_BoundaryConditions(), and transportEquation().

Referenced by _SPModelFluvialErosion_Construct().

float transportEquation int  localIndex,
SurfaceMesh mesh,
SPModelSimulationContextExtension simulationExt
 

Definition at line 94 of file FluvialErosion.c.

References SurfaceMesh::slope, SurfaceMesh::surface, and SPModelSimulationContextExtension_t::water.

Referenced by SPModelFluvialErosion_Solve().


Variable Documentation

ExtensionInfo_Index SPModel_Simulation_ContextExtHandle
 

Definition at line 36 of file FluvialErosion.c.

const Type SPModelFluvialErosion_Type = "SPModelFluvialErosion"
 

Definition at line 34 of file FluvialErosion.c.

Referenced by _SPModelFluvialErosion_DefaultNew(), and SPModelFluvialErosion_Register().