SPModel: libSPModel/src/SplineInterpolator.h File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

SplineInterpolator.h File Reference

Role: Stores and manages the catchment mesh, including the node interconnectivity, and provider/receiver relationships between catchments. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SplineInterpolator

Defines

#define __SplineInterpolator

Functions

SplineInterpolatorSplineInterpolator_DefaultNew (Name name)
SplineInterpolatorSplineInterpolator_New (Name name, Dictionary *dictionary, SurfaceMesh *mesh, SurfaceRegularMesh *regularMesh)
SplineInterpolator_SplineInterpolator_New (SizeT _sizeOfSelf, Type type, Stg_Class_DeleteFunction *_delete, Stg_Class_PrintFunction *_print, Stg_Class_CopyFunction *_copy, Stg_Component_DefaultConstructorFunction *_defaultConstructor, Stg_Component_ConstructFunction *_construct, Stg_Component_BuildFunction *_build, Stg_Component_InitialiseFunction *_initialise, Stg_Component_ExecuteFunction *_execute, Stg_Component_DestroyFunction *_destroy, Name name, Bool initFlag, Dictionary *dictionary, SurfaceMesh *mesh, SurfaceRegularMesh *regularMesh)
void _SplineInterpolator_Init (SplineInterpolator *self)
void _SplineInterpolator_Print (void *splineInterpolator, Stream *stream)
void _SplineInterpolator_Delete (void *splineInterpolator)
void _SplineInterpolator_Construct (void *splineInterpolator, Stg_ComponentFactory *cf)
void _SplineInterpolator_Build (void *splineInterpolator, void *data)
void _SplineInterpolator_Initialise (void *splineInterpolator, void *data)
void _SplineInterpolator_Execute (void *splineInterpolator, void *data)
void _SplineInterpolator_Destroy (void *splineInterpolator, void *data)
void SplineInterpolator_InterpolateFromGridToMesh (_Interpolator *interpolator, float **gridDeflectionArray, float *meshDeflectionArray)
void spline (int numElements, float *x, float *y, float yp1, float ypn, float *y2, double *u)
void splint (int numElements, float *xa, float *ya, float *y2a, float x, float *y)
void splie2 (SplineInterpolator *splInt, float **ya)
void splin2 (SplineInterpolator *splInt, float **ya, float x1, float x2, float *y)


Detailed Description

Role: Stores and manages the catchment mesh, including the node interconnectivity, and provider/receiver relationships between catchments.

Assumptions:

Id
SplineInterpolator.h 159 2005-07-04 10:11:31Z RaquibulHassan

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

Definition in file SplineInterpolator.h.


Define Documentation

#define __SplineInterpolator
 

Value:

__Interpolator \
        /* arrays used in the spline interpolation */ \
        double          *um; \
        double          *un; \
        float           *x1a; \
        float           *x2a; \
        float           **y2a; \
        float           *ytmp; \
        float           *yytmp; \
        float           *y2a_t; \
        float           *ya_t;

Definition at line 35 of file SplineInterpolator.h.


Function Documentation

void _SplineInterpolator_Build void *  splineInterpolator,
void *  data
 

Definition at line 183 of file SplineInterpolator.c.

References _Interpolator_Build().

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void _SplineInterpolator_Construct void *  splineInterpolator,
Stg_ComponentFactory *  cf
 

Definition at line 179 of file SplineInterpolator.c.

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void _SplineInterpolator_Delete void *  splineInterpolator  ) 
 

Definition at line 159 of file SplineInterpolator.c.

References _Interpolator_Delete().

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void _SplineInterpolator_Destroy void *  splineInterpolator,
void *  data
 

Definition at line 241 of file SplineInterpolator.c.

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void _SplineInterpolator_Execute void *  splineInterpolator,
void *  data
 

Definition at line 236 of file SplineInterpolator.c.

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void _SplineInterpolator_Init SplineInterpolator self  ) 
 

Definition at line 124 of file SplineInterpolator.c.

References _Interpolator_Init().

Referenced by _SplineInterpolator_New().

void _SplineInterpolator_Initialise void *  splineInterpolator,
void *  data
 

Definition at line 231 of file SplineInterpolator.c.

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

SplineInterpolator* _SplineInterpolator_New SizeT  _sizeOfSelf,
Type  type,
Stg_Class_DeleteFunction *  _delete,
Stg_Class_PrintFunction *  _print,
Stg_Class_CopyFunction *  _copy,
Stg_Component_DefaultConstructorFunction *  _defaultConstructor,
Stg_Component_ConstructFunction *  _construct,
Stg_Component_BuildFunction *  _build,
Stg_Component_InitialiseFunction *  _initialise,
Stg_Component_ExecuteFunction *  _execute,
Stg_Component_DestroyFunction *  _destroy,
Name  name,
Bool  initFlag,
Dictionary *  dictionary,
SurfaceMesh mesh,
SurfaceRegularMesh regularMesh
 

Definition at line 93 of file SplineInterpolator.c.

References _Interpolator_New(), _SplineInterpolator_Init(), and SplineInterpolator_InterpolateFromGridToMesh().

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void _SplineInterpolator_Print void *  splineInterpolator,
Stream *  stream
 

Definition at line 129 of file SplineInterpolator.c.

References _Interpolator_Print(), and MASTER_PROC.

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void splie2 SplineInterpolator splInt,
float **  ya
 

Definition at line 355 of file SplineInterpolator.c.

References spline(), SplineInterpolator::un, SplineInterpolator::x2a, SplineInterpolator::y2a, SplineInterpolator::y2a_t, and SplineInterpolator::ya_t.

Referenced by SplineInterpolator_InterpolateFromGridToMesh().

void splin2 SplineInterpolator splInt,
float **  ya,
float  x1,
float  x2,
float *  y
 

Definition at line 377 of file SplineInterpolator.c.

References spline(), splint(), SplineInterpolator::um, SplineInterpolator::x1a, SplineInterpolator::x2a, SplineInterpolator::y2a, SplineInterpolator::y2a_t, SplineInterpolator::ya_t, SplineInterpolator::ytmp, and SplineInterpolator::yytmp.

Referenced by SplineInterpolator_InterpolateFromGridToMesh().

void spline int  numElements,
float *  x,
float *  y,
float  yp1,
float  ypn,
float *  y2,
double *  u
 

Definition at line 284 of file SplineInterpolator.c.

Referenced by splie2(), and splin2().

SplineInterpolator* SplineInterpolator_DefaultNew Name  name  ) 
 

Definition at line 51 of file SplineInterpolator.c.

References _SplineInterpolator_Build(), _SplineInterpolator_Construct(), _SplineInterpolator_Delete(), _SplineInterpolator_Destroy(), _SplineInterpolator_Execute(), _SplineInterpolator_Initialise(), _SplineInterpolator_New(), _SplineInterpolator_Print(), SplineInterpolator_DefaultNew(), and SplineInterpolator_Type.

Referenced by SplineInterpolator_DefaultNew(), and SplineInterpolator_New().

void SplineInterpolator_InterpolateFromGridToMesh _Interpolator interpolator,
float **  gridDeflectionArray,
float *  meshDeflectionArray
 

Definition at line 248 of file SplineInterpolator.c.

References SurfaceMesh::id, _Interpolator::mesh, SurfaceMesh::myLoad, SurfaceMesh::numNodes, splie2(), splin2(), SurfaceMesh::x, and SurfaceMesh::y.

Referenced by _SplineInterpolator_New().

SplineInterpolator* SplineInterpolator_New Name  name,
Dictionary *  dictionary,
SurfaceMesh mesh,
SurfaceRegularMesh regularMesh
 

Definition at line 72 of file SplineInterpolator.c.

References _SplineInterpolator_Build(), _SplineInterpolator_Construct(), _SplineInterpolator_Delete(), _SplineInterpolator_Destroy(), _SplineInterpolator_Execute(), _SplineInterpolator_Initialise(), _SplineInterpolator_New(), _SplineInterpolator_Print(), SplineInterpolator_DefaultNew(), and SplineInterpolator_Type.

Referenced by _SPModel_Context_Init().

void splint int  numElements,
float *  xa,
float *  ya,
float *  y2a,
float  x,
float *  y
 

Definition at line 323 of file SplineInterpolator.c.

Referenced by splin2().