Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions
mmg3.c File Reference
#include "mmgcommon_private.h"
Include dependency graph for mmg3.c:

Go to the source code of this file.

Functions

short MMG5_dikmov (MMG5_pMesh mesh, MMG5_pSol disp, short *lastt, short shortmax, MMG5_int chkmovmesh(MMG5_pMesh, MMG5_pSol, short, MMG5_int *))
 common functions for lagrangian meshing. More...
 
int MMG5_saveDisp (MMG5_pMesh mesh, MMG5_pSol disp)
 

Function Documentation

◆ MMG5_dikmov()

short MMG5_dikmov ( MMG5_pMesh  mesh,
MMG5_pSol  disp,
short *  lastt,
short  shortmax,
MMG5_int   chkmovmeshMMG5_pMesh, MMG5_pSol, short, MMG5_int * 
)

common functions for lagrangian meshing.

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5
Parameters
meshpointer toward the mesh structure
disppointer toward the displacement field
lastt0 if a movement is possible, pointer toward the last tested fraction otherwise
shortmaxmaximal parameter t (MMG2D_SHORTMAX or MMG3D_SHORTMAX)
chkmovmeshfunction that has to be called to check motion validity
Returns
the largest fraction t allowing a valid motion

Generic function to compute the the largest fraction t that makes the motion along disp valid.

Definition at line 49 of file mmg3.c.

Here is the caller graph for this function:

◆ MMG5_saveDisp()

int MMG5_saveDisp ( MMG5_pMesh  mesh,
MMG5_pSol  disp 
)
Parameters
meshpointer toward the mesh structure
disppointer toward the displacement field
Returns
1 if success, 0 if fail.

For debugging purposes: save displacement field.

Definition at line 112 of file mmg3.c.