SPModel: libSPModel/tests/testInterpolator.c File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

testInterpolator.c File Reference

Role: File to configure and launch a default SPModel application. More...

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

Include dependency graph for testInterpolator.c:

Go to the source code of this file.

Functions

float interpolateFunction (int meshLocalIndex, void *args)
int main (int argc, char **argv)

Variables

float * erosion
float * sedimentHistory


Detailed Description

Role: File to configure and launch a default SPModel application.

Assumptions:

Comments: On 10 November 2004, most of the content in this file was moved into the SPModel_Context, once we used the StGermain library.

Id
AbstractSurfaceMesh.h 2282 2004-11-04 08:34:24Z PatrickSunter

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

Definition in file testInterpolator.c.


Function Documentation

float interpolateFunction int  meshLocalIndex,
void *  args
 

Definition at line 51 of file testInterpolator.c.

References SPModel_Context::bedRockDensity, erosion, SPModel_Context::gravity, SPModel_Context::sedimentDensity, and sedimentHistory.

Referenced by _Interpolator_InterpolateFromMeshToGrid(), main(), and SPModelIsostaticFlexure_Solve().

int main int  argc,
char **  argv
 

Definition at line 70 of file testInterpolator.c.

References _Interpolator_InterpolateFromMeshToGrid(), erosion, interpolateFunction(), MASTER_PROC, LinearInterpolator::meshWeights, sedimentHistory, SPModel_Context_New(), SPModel_Init(), SurfaceRegularMesh_BroadcastData(), and SurfaceRegularMesh_GatherData().


Variable Documentation

float* erosion
 

Definition at line 48 of file testInterpolator.c.

Referenced by interpolateFunction(), main(), SPModelSimulationContextExtension_Gather(), and SPModelSimulationContextExtension_Scatter().

float* sedimentHistory
 

Definition at line 49 of file testInterpolator.c.

Referenced by interpolateFunction(), main(), SPModelSimulationContextExtension_Gather(), and SPModelSimulationContextExtension_Scatter().