#include "geoslib_old_f.h"
#include "geoslib_f_private.h"
#include "Basic/Utilities.hpp"
#include "Basic/Law.hpp"
#include "Basic/MathFunc.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include "Mesh/MeshEStandard.hpp"
#include "Geometry/GeometryHelper.hpp"
#include <math.h>
#include <string.h>
#include <stdio.h>
Functions | |
int | MSS (int ndim, int ipol, int icas, int icorn, int idim) |
double * | extend_grid (DbGrid *db, const double *gext, int *nout) |
double * | extend_point (Db *db, const double *gext, int *nout) |
double * | get_db_extension (Db *dbin, Db *dbout, int *nout) |
AMesh * | meshes_turbo_2D_grid_build (DbGrid *dbgrid) |
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) |
void | mesh_stats (int ndim, int ncorner, int nmesh, int *meshes, double *points) |
AMesh * | meshes_turbo_3D_grid_build (DbGrid *dbgrid) |
AMesh * | meshes_turbo_1D_grid_build (DbGrid *dbgrid) |
double* extend_grid | ( | DbGrid * | db, |
const double * | gext, | ||
int * | nout | ||
) |
double* extend_point | ( | Db * | db, |
const double * | gext, | ||
int * | nout | ||
) |
void mesh_stats | ( | int | ndim, |
int | ncorner, | ||
int | nmesh, | ||
int * | meshes, | ||
double * | points | ||
) |
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 |
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) |