Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
libmmg3df.c
Go to the documentation of this file.
1/* =============================================================================
2** This file is part of the mmg software package for the tetrahedral
3** mesh modification.
4** Copyright (c) Bx INP/CNRS/Inria/UBordeaux/UPMC, 2004-
5**
6** mmg is free software: you can redistribute it and/or modify it
7** under the terms of the GNU Lesser General Public License as published
8** by the Free Software Foundation, either version 3 of the License, or
9** (at your option) any later version.
10**
11** mmg is distributed in the hope that it will be useful, but WITHOUT
12** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14** License for more details.
15**
16** You should have received a copy of the GNU Lesser General Public
17** License and of the GNU General Public License along with mmg (in
18** files COPYING.LESSER and COPYING). If not, see
19** <http://www.gnu.org/licenses/>. Please read their terms carefully and
20** use this copy of the mmg distribution only if you accept them.
21** =============================================================================
22*/
23
44#include "libmmg3d.h"
45#include "mmgcommon_private.h"
46
50FORTRAN_NAME(MMG3D_MMG3DLIB,mmg3d_mmg3dlib,(MMG5_pMesh *mesh,MMG5_pSol *met,
51 int* retval),
52 (mesh,met,retval)){
53
54 *retval = MMG3D_mmg3dlib(*mesh,*met);
55
56 return;
57}
58
62FORTRAN_NAME(MMG3D_MMG3DLS,mmg3d_mmg3dls,(MMG5_pMesh *mesh,MMG5_pSol *sol,
63 MMG5_pSol *met,int* retval),
64 (mesh,sol,met,retval)){
65
66 if ( met ) {
67 *retval = MMG3D_mmg3dls(*mesh,*sol,*met);
68 }
69 else {
70 *retval = MMG3D_mmg3dls(*mesh,*sol,NULL);
71 }
72 return;
73}
74
78FORTRAN_NAME(MMG3D_MMG3DMOV,mmg3d_mmg3dmov,(MMG5_pMesh *mesh,MMG5_pSol *met
79 ,MMG5_pSol *disp,int* retval),
80 (mesh,met,disp,retval)){
81
82 *retval = MMG3D_mmg3dmov(*mesh,*met,*disp);
83
84 return;
85}
MMG5_pMesh char int int * retval
MMG5_pMesh MMG5_pSol * sol
MMG5_pMesh * mesh
int MMG3D_mmg3dls(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol umet)
Definition: libmmg3d.c:1192
int MMG3D_mmg3dlib(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg3d.c:975
int MMG3D_mmg3dmov(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp)
Definition: libmmg3d.c:1475
API headers for the mmg3d library.
#define FORTRAN_NAME(nu, nl, pl, pc)
Adds function definitions.
MMG mesh structure.
Definition: libmmgtypes.h:605