|
Last change
on this file since 12004 was 12004, checked in by cborstad, 14 years ago |
|
merged trunk-jpl into trunk-jpl-damage through revision 11990
|
|
File size:
969 bytes
|
| Line | |
|---|
| 1 | /*!\file: BamgGeom.h
|
|---|
| 2 | */
|
|---|
| 3 |
|
|---|
| 4 | #ifndef _BAMGGEOM_H_
|
|---|
| 5 | #define _BAMGGEOM_H_
|
|---|
| 6 |
|
|---|
| 7 | #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)
|
|---|
| 8 | #include <mex.h>
|
|---|
| 9 | #endif
|
|---|
| 10 |
|
|---|
| 11 | class BamgGeom{
|
|---|
| 12 |
|
|---|
| 13 | public:
|
|---|
| 14 | int VerticesSize[2];
|
|---|
| 15 | double* Vertices;
|
|---|
| 16 | int EdgesSize[2];
|
|---|
| 17 | double* Edges;
|
|---|
| 18 | int TangentAtEdgesSize[2];
|
|---|
| 19 | double* TangentAtEdges;
|
|---|
| 20 | int CornersSize[2];
|
|---|
| 21 | double* Corners;
|
|---|
| 22 | int RequiredVerticesSize[2];
|
|---|
| 23 | double* RequiredVertices;
|
|---|
| 24 | int RequiredEdgesSize[2];
|
|---|
| 25 | double* RequiredEdges;
|
|---|
| 26 | int CrackedEdgesSize[2];
|
|---|
| 27 | double* CrackedEdges;
|
|---|
| 28 | int SubDomainsSize[2];
|
|---|
| 29 | double* SubDomains;
|
|---|
| 30 |
|
|---|
| 31 | BamgGeom();
|
|---|
| 32 | #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)
|
|---|
| 33 | BamgGeom(mxArray* matlab_struct);
|
|---|
| 34 | #endif
|
|---|
| 35 | ~BamgGeom();
|
|---|
| 36 |
|
|---|
| 37 | #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)
|
|---|
| 38 | void SetMatlabStructureFields(mxArray** matlab_struct);
|
|---|
| 39 | void SetMatlabStructureField(mxArray* matlab_struct,const char* fieldname,int fieldrows,int fieldcols,double* fieldpointer);
|
|---|
| 40 | #endif
|
|---|
| 41 | };
|
|---|
| 42 |
|
|---|
| 43 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.