mmgs
libmmgcommon.h
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/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 
35 #ifndef _MMGLIBCOMMON_H
36 #define _MMGLIBCOMMON_H
37 
38 #include <stdarg.h>
39 
40 #include "chrono.h"
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 #include "libmmgtypes.h"
47 
48 /*----------------------------- functions header -----------------------------*/
49 /* Initialization functions */
75 
76 /* init file names */
110 int MMG5_Set_outputMeshName(MMG5_pMesh mesh, const char* meshout);
128 int MMG5_Set_inputSolName(MMG5_pMesh mesh,MMG5_pSol sol, const char* solin);
146 int MMG5_Set_outputSolName(MMG5_pMesh mesh,MMG5_pSol sol, const char* solout);
147 
148 /* deallocations */
150 
164 
177 extern int MMG5_Set_defaultTruncatureSizes(MMG5_pMesh mesh,char sethmin,char sethmax);
178 
190 int MMG5_Compute_constantSize(MMG5_pMesh mesh,MMG5_pSol met,double *hsize);
191 
192 #ifdef __cplusplus
193 }
194 #endif
195 
196 #endif
int MMG5_Set_defaultTruncatureSizes(MMG5_pMesh mesh, char sethmin, char sethmax)
Definition: API_functions.c:405
void MMG5_mmgFree_names(MMG5_pMesh mesh, MMG5_pSol met)
Definition: API_functions.c:381
int MMG5_Set_outputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solout)
Definition: API_functions.c:299
void() _MMG5_Init_parameters(MMG5_pMesh mesh)
Definition: API_functions.c:51
Definition: libmmgtypes.h:526
void MMG5_Init_fileNames(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:119
void MMG5_Free_structures(MMG5_pMesh mesh, MMG5_pSol sol)
Definition: API_functions.c:348
MMG mesh structure.
Definition: libmmgtypes.h:473
int MMG5_Set_outputMeshName(MMG5_pMesh mesh, const char *meshout)
Definition: API_functions.c:222
int MMG5_Compute_constantSize(MMG5_pMesh mesh, MMG5_pSol met, double *hsize)
Definition: API_functions.c:434
MMG5_pMesh char * meshin
Definition: API_functionsf_s.c:584
int MMG5_Set_inputSolName(MMG5_pMesh mesh, MMG5_pSol sol, const char *solin)
Definition: API_functions.c:175
int MMG5_Set_inputMeshName(MMG5_pMesh mesh, const char *meshin)
Definition: API_functions.c:139
MMG5_pMesh * mesh
Definition: API_functionsf_s.c:63