#include "gstlearn_export.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include "Mesh/AMesh.hpp"
Functions | |
GSTLEARN_EXPORT VectorDouble | get_db_extension (Db *dbin, Db *dbout, int *nout) |
GSTLEARN_EXPORT VectorDouble | extend_grid (DbGrid *db, const VectorDouble &gext, int *nout) |
GSTLEARN_EXPORT VectorDouble | extend_point (Db *db, const VectorDouble &gext, int *nout) |
GSTLEARN_EXPORT int | MSS (int ndim, int ipol, int icas, int icorn, int idim) |
GSTLEARN_EXPORT int | meshes_2D_write (const char *file_name, const char *obj_name, int verbose, int ndim, int ncode, int ntri, int npoints, const VectorInt &ntcode, const VectorInt &triangles, const VectorDouble &points) |
GSTLEARN_EXPORT AMesh * | meshes_turbo_1D_grid_build (DbGrid *dbgrid) |
GSTLEARN_EXPORT AMesh * | meshes_turbo_2D_grid_build (DbGrid *dbgrid) |
GSTLEARN_EXPORT AMesh * | meshes_turbo_3D_grid_build (DbGrid *dbgrid) |
GSTLEARN_EXPORT void | mesh_stats (int ndim, int ncorner, int nmesh, const int *meshes, const double *points) |
GSTLEARN_EXPORT VectorDouble extend_grid | ( | DbGrid * | db, |
const VectorDouble & | gext, | ||
int * | nout | ||
) |
GSTLEARN_EXPORT VectorDouble extend_point | ( | Db * | db, |
const VectorDouble & | gext, | ||
int * | nout | ||
) |
GSTLEARN_EXPORT VectorDouble get_db_extension | ( | Db * | dbin, |
Db * | dbout, | ||
int * | nout | ||
) |
GSTLEARN_EXPORT void mesh_stats | ( | int | ndim, |
int | ncorner, | ||
int | nmesh, | ||
const int * | meshes, | ||
const double * | points | ||
) |
GSTLEARN_EXPORT int meshes_2D_write | ( | const char * | file_name, |
const char * | obj_name, | ||
int | verbose, | ||
int | ndim, | ||
int | ncode, | ||
int | ntri, | ||
int | npoints, | ||
const VectorInt & | ntcode, | ||
const VectorInt & | triangles, | ||
const VectorDouble & | points | ||
) |
Dump the contents of a triangulation in an ASCII file according to the STL format
[in] | file_name | Nmae of the created ASCII file |
[in] | obj_name | Name assigned to the object |
[in] | verbose | Verbose flag |
[in] | ndim | Space dimension |
[in] | ncode | Number of different codes |
[in] | ntri | Number of triangles (expected) |
[in] | npoints | Number of poins (expected) |
[in] | ntcode | Array of number of triangles per code |
[in] | triangles | Array of vertex indices for each triangle |
[in] | points | Array of 3-D coordinates for triangle vertices |
GSTLEARN_EXPORT int MSS | ( | int | ndim, |
int | ipol, | ||
int | icas, | ||
int | icorn, | ||
int | idim | ||
) |
Returns the shift value for the apex('icorn')
[in] | ndim | Space dimension (1, 2 or 3) |
[in] | ipol | Rank of the polarization (starting from 0) |
[in] | icas | Rank of the case (starting from 0) |
[in] | icorn | Rank of the corner (starting from 0) |
[in] | idim | Rank of the coordinate (starting from 0) |