Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Macros | Functions
velextls_2d.c File Reference
#include "libmmg2d_private.h"
#include "ls_calls.h"
Include dependency graph for velextls_2d.c:

Go to the source code of this file.

Macros

#define _LS_LAMBDA   10.0e5
 
#define _LS_MU   8.2e5
 

Functions

MMG5_int * MMG2D_packLS (MMG5_pMesh mesh, MMG5_pSol disp, LSst *lsst, MMG5_int *npfin)
 
int MMG2D_unpackLS (MMG5_pMesh mesh, MMG5_pSol disp, LSst *lsst, MMG5_int npf, MMG5_int *invperm)
 
int MMG2D_velextLS (MMG5_pMesh mesh, MMG5_pSol disp)
 

Macro Definition Documentation

◆ _LS_LAMBDA

#define _LS_LAMBDA   10.0e5

Definition at line 38 of file velextls_2d.c.

◆ _LS_MU

#define _LS_MU   8.2e5

Definition at line 39 of file velextls_2d.c.

Function Documentation

◆ MMG2D_packLS()

MMG5_int * MMG2D_packLS ( MMG5_pMesh  mesh,
MMG5_pSol  disp,
LSst *  lsst,
MMG5_int *  npfin 
)

Create submesh for solving the linear elasticity velocity extension problem. invperm stores the permutation [ new pt nb -> old pt nb ] (for unpacking purposes) Return: npf = number of vertices in the packed mesh.

Definition at line 48 of file velextls_2d.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_unpackLS()

int MMG2D_unpackLS ( MMG5_pMesh  mesh,
MMG5_pSol  disp,
LSst *  lsst,
MMG5_int  npf,
MMG5_int *  invperm 
)

Transfer solution from the submesh to the global mesh

Definition at line 318 of file velextls_2d.c.

Here is the caller graph for this function:

◆ MMG2D_velextLS()

int MMG2D_velextLS ( MMG5_pMesh  mesh,
MMG5_pSol  disp 
)

Extension of the displacement at the nodes of edges tagged MMG5_DISPREF

Definition at line 340 of file velextls_2d.c.

Here is the call graph for this function:
Here is the caller graph for this function: