source: issm/trunk-jpl/src/c/modules/ContourToMeshx/ContourToMeshx.h@ 14656

Last change on this file since 14656 was 14656, checked in by Eric.Larour, 12 years ago

CHG: implementation of revised ISSM toolkit.
We now have the following objects in the ISSM toolkit:
IssmMat and IssmVec: these are the wrappers to all our toolkit objects. These are hooked up to the
src/c/objects/matrix/Matrix.h and Vector.h objects.
We need of course enums that go with them, which map into Petsc constructs, such as MpiDenseEnum, DenseEnum,
etc ...
The toolkit now implements a MatDense matrix, and a future MatMpiDense matrix, as well as a SeqVec and
future MpiVec vector.
There is also an abstract class, called IssmAbsMat and IssmAbsVec, from which all our matrix and vector objects,
except for IssmMat and IssmVec, derive.
Updated all the wrappers and modules to use these new objects.
The toolkit options database is derived from the .toolkit file which is read at the beginning of any run. Very similar
to what Petsc does with its options database. Created a static class to hold this options database, in src/c/classes/ToolkitOptions.h
very similar to our static class holding the IssmComm.

File size: 626 bytes
Line 
1/*
2 ContourToMeshx.h
3*/
4
5#ifndef _CONTOURTOMESHX_H
6#define _CONTOURTOMESHX_H
7
8#include "../../shared/shared.h"
9#include "../../classes/objects/objects.h"
10
11/*threading: */
12typedef struct{
13
14 DataSet *contours;
15 int nods;
16 int edgevalue;
17 IssmSeqVec<double> *in_nod;
18 double *x;
19 double *y;
20
21} ContourToMeshxThreadStruct;
22
23/* local prototypes: */
24int ContourToMeshx(IssmSeqVec<double>** pin_nods,IssmSeqVec<double>** pin_elem, double* index, double* x, double* y,DataSet* contours,char* interptype,int nel,int nods, int edgevalue);
25
26void* ContourToMeshxt(void* vContourToMeshxThreadStruct);
27
28#endif /* _CONTOURTOMESHX_H */
Note: See TracBrowser for help on using the repository browser.