Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ MMG2D_countLocalParamAtEdg()
- Parameters
-
mesh | pointer toward the mesh structure. |
bdyRefs | pointer toward the list of the boundary references. |
- Returns
- npar, the number of local parameters at edges if success, 0 otherwise.
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
Definition at line 51 of file mmg2d.c.
◆ MMG2D_defaultOption()
- Parameters
-
mesh | pointer toward the mesh structure. |
met | pointer toward a sol structure (metric). |
sol | pointer toward a sol structure (metric). |
- Returns
- MMG5_SUCCESS if success, MMG5_LOWFAILURE if failed but a conform mesh is saved and MMG5_STRONGFAILURE if failed and we can't save the mesh.
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.
Definition at line 189 of file mmg2d.c.
◆ MMG2D_writeLocalParam()
static int MMG2D_writeLocalParam |
( |
MMG5_pMesh |
mesh | ) |
|
|
inlinestatic |
- Parameters
-
mesh | pointer toward the mesh structure. |
- Returns
- 1 if success, 0 otherwise.
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
Definition at line 121 of file mmg2d.c.
◆ MMG2D_writeLocalParamAtEdg()
- Parameters
-
mesh | pointer toward the mesh structure. |
bdryRefs | pointer toward the list of the boundary references. |
out | pointer toward the file in which to write. |
- Returns
- 1 if success, 0 otherwise.
Write the local default values at edges in the parameter file.
Definition at line 96 of file mmg2d.c.
◆ MMG5_endcod()
static void MMG5_endcod |
( |
void |
| ) |
|
|
static |
Print elapsed time at end of process.
Definition at line 32 of file mmg2d.c.
◆ MMG5_ctim