Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
libmmg2df.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 "libmmg2d.h"
45#include "mmgcommon_private.h"
46
50FORTRAN_NAME(MMG2D_MMG2DLIB,mmg2d_mmg2dlib,(MMG5_pMesh *mesh,MMG5_pSol *met
51 ,int* retval),(mesh,met
52 ,retval)){
53
54 *retval = MMG2D_mmg2dlib(*mesh,*met);
55
56 return;
57}
61FORTRAN_NAME(MMG2D_MMG2DMESH,mmg2d_mmg2dmesh,(MMG5_pMesh *mesh,MMG5_pSol *met
62 ,int* retval),(mesh,met
63 ,retval)){
64
65 *retval = MMG2D_mmg2dmesh(*mesh,*met);
66
67 return;
68}
72FORTRAN_NAME(MMG2D_MMG2DLS,mmg2d_mmg2dls,(MMG5_pMesh *mesh,MMG5_pSol *sol,
73 MMG5_pSol *met,int* retval),
74 (mesh,sol,met,retval)){
75
76 if ( met ) {
77 *retval = MMG2D_mmg2dls(*mesh,*sol,*met);
78 }
79 else {
80 *retval = MMG2D_mmg2dls(*mesh,*sol,NULL);
81 }
82
83 return;
84}
88FORTRAN_NAME(MMG2D_MMG2DMOV,mmg2d_mmg2dmov,(MMG5_pMesh *mesh,MMG5_pSol *met,MMG5_pSol *disp
89 ,int* retval),(mesh,met,disp
90 ,retval)){
91
92 *retval = MMG2D_mmg2dmov(*mesh,*met,*disp);
93
94 return;
95}
MMG5_pMesh char int int * retval
MMG5_pMesh MMG5_pSol * sol
MMG5_pMesh * mesh
int MMG2D_mmg2dlib(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg2d.c:63
int MMG2D_mmg2dls(MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol umet)
Definition: libmmg2d.c:526
int MMG2D_mmg2dmesh(MMG5_pMesh mesh, MMG5_pSol met)
Definition: libmmg2d.c:307
int MMG2D_mmg2dmov(MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp)
Definition: libmmg2d.c:822
API headers for the mmg2d library.
#define FORTRAN_NAME(nu, nl, pl, pc)
Adds function definitions.
MMG mesh structure.
Definition: libmmgtypes.h:605