mmg2d
|
#include "mmg2d.h"
Functions | |
static void | _MMG5_endcod () |
static int | MMG2D_usage (char *name) |
static int | _MMG5_defaultValues (MMG5_pMesh mesh, double qdegrad[2]) |
static int | MMG2D_countLocalParamAtEdg (MMG5_pMesh mesh, _MMG5_iNode **bdyRefs) |
static int | MMG2D_writeLocalParamAtEdg (MMG5_pMesh mesh, _MMG5_iNode *bdryRefs, FILE *out) |
static int | _MMG2D_writeLocalParam (MMG5_pMesh mesh) |
static int | _MMG2D_defaultOption (MMG5_pMesh mesh, MMG5_pSol met, double qdegrad[2]) |
int | parsar (int argc, char *argv[], MMG5_pMesh mesh, MMG5_pSol met, double *qdegrad) |
int | main (int argc, char *argv[]) |
Variables | |
mytime | MMG5_ctim [TIMEMAX] |
|
inlinestatic |
mesh | pointer toward the mesh structure. |
met | pointer toward a sol structure (metric). |
qdegrad | optimization thresholds. |
Program to save the local default parameter file: read the mesh and metric (needed to compite the hmax/hmin parameters), scale the mesh and compute the hmax/hmin param, unscale the mesh and write the default parameter file.
|
inlinestatic |
mesh | pointer toward the mesh structure. |
Write a DEFAULT.mmg2d file containing the default values of parameters that can be locally defined.
Save the local parameters file
Write local param at triangles
Write local param at tetra
|
inlinestatic |
mesh | pointer toward the mesh structure. |
qdegrad | optimization thresholds. |
Print the default parameters values.
|
static |
Print elapsed time at end of process.
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
inlinestatic |
mesh | pointer toward the mesh structure. |
bdyRefs | pointer toward the list of the boundary references. |
Count the local default values at edges and fill the list of the boundary references.
Count the number of different boundary references and list it
|
static |
|
inlinestatic |
mesh | pointer toward the mesh structure. |
bdryRefs | pointer toward the list of the boundary references. |
out | pointer toward the file in which to write. |
Write the local default values at edges in the parameter file.
int parsar | ( | int | argc, |
char * | argv[], | ||
MMG5_pMesh | mesh, | ||
MMG5_pSol | met, | ||
double * | qdegrad | ||
) |