Skip to content

Commit 861baac

Browse files
committed
Merge branch 'develop'
2 parents 570b1a8 + a463dcd commit 861baac

File tree

181 files changed

+153617
-15305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+153617
-15305
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ MARK_AS_ADVANCED ( CI_DIR )
4545
#####
4646
###############################################################################
4747
SET (CMAKE_RELEASE_VERSION_MAJOR "5" )
48-
SET (CMAKE_RELEASE_VERSION_MINOR "3" )
49-
SET (CMAKE_RELEASE_VERSION_PATCH "13" )
50-
SET (CMAKE_RELEASE_DATE "Oct. 2, 2018" )
48+
SET (CMAKE_RELEASE_VERSION_MINOR "4" )
49+
SET (CMAKE_RELEASE_VERSION_PATCH "0" )
50+
SET (CMAKE_RELEASE_DATE "Feb. 13, 2019" )
5151

5252
SET (CMAKE_RELEASE_VERSION
5353
"${CMAKE_RELEASE_VERSION_MAJOR}.${CMAKE_RELEASE_VERSION_MINOR}.${CMAKE_RELEASE_VERSION_PATCH}")

README.md

Lines changed: 93 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,51 @@
11

2-
# mmg - Surface and volume remeshers [![Build Status](https://ci.inria.fr/mmg/buildStatus/icon?job=Mmg-multiConf)](https://ci.inria.fr/mmg/job/Mmg-multiConf/)
2+
# mmg - Surface and volume remeshers
3+
[![Build Status](https://ci.inria.fr/mmg/buildStatus/icon?job=Mmg-multiConf)](https://ci.inria.fr/mmg/job/Mmg-multiConf/)[![Quality Gate](https://sonarqube.bordeaux.inria.fr/sonarqube/api/badges/gate?key=cardamom%3Ammg%3Agithub%3Adevelop)](https://sonarqube.bordeaux.inria.fr/sonarqube/dashboard?id=cardamom%3Ammg%3Agithub%3Adevelop)
4+
5+
[![Vulnerabilities](https://sonarqube.bordeaux.inria.fr/sonarqube/api/badges/measure?key=cardamom%3Ammg%3Agithub%3Adevelop&metric=vulnerabilities)](https://sonarqube.bordeaux.inria.fr/sonarqube/component_measures?id=cardamom%3Ammg%3Agithub%3Adevelop&metric=vulnerabilities)[![Potential Bugs](https://sonarqube.bordeaux.inria.fr/sonarqube/api/badges/measure?key=cardamom%3Ammg%3Agithub%3Adevelop&metric=bugs)](https://sonarqube.bordeaux.inria.fr/sonarqube/component_measures?id=cardamom%3Ammg%3Agithub%3Adevelop&metric=bugs)[![Coverage](https://sonarqube.bordeaux.inria.fr/sonarqube/api/badges/measure?key=cardamom%3Ammg%3Agithub%3Adevelop&metric=coverage)](https://sonarqube.bordeaux.inria.fr/sonarqube/component_measures?id=cardamom%3Ammg%3Agithub%3Adevelop&metric=coverage)
6+
7+
[![New Vulnerabilities](https://sonarqube.bordeaux.inria.fr/sonarqube/api/badges/measure?key=cardamom%3Ammg%3Agithub%3Adevelop&metric=new_vulnerabilities)](https://sonarqube.bordeaux.inria.fr/sonarqube/component_measures?id=cardamom%3Ammg%3Agithub%3Adevelop&metric=new_vulnerabilities)[![New Potential Bugs](https://sonarqube.bordeaux.inria.fr/sonarqube/api/badges/measure?key=cardamom%3Ammg%3Agithub%3Adevelop&metric=new_bugs)](https://sonarqube.bordeaux.inria.fr/sonarqube/component_measures?id=cardamom%3Ammg%3Agithub%3Adevelop&metric=new_bugs)
8+
9+
10+
11+
12+
13+
14+
15+
316
mmg is an open source software for bidimensional and tridimensional surface and volume remeshing.
417

518
It provides 3 applications and 4 libraries:
6-
* the **mmg2d** application and library: adaptation and optimization of a bidimensionnal triangulation;
19+
* the **mmg2d** application and library: mesh generation from a set of edges, adaptation and optimization of a bidimensionnal triangulation and isovalue discretization;
720
* the **mmgs** application and library: adaptation and optimization of a surface triangulation and isovalue discretization;
8-
* the **mmg3d** application and library: adaptation and optimization of a tetrahedral mesh and implicit domain meshing;
21+
* the **mmg3d** application and library: adaptation and optimization of a tetrahedral mesh, isovalue discretization and lagrangian movement;
922
* the **mmg** library gathering the **mmg2d**, **mmgs** and **mmg3d** libraries.
1023

1124
[//]: # ( comment )
1225

1326
## Get and compile the mmg project
27+
### Needed tools
28+
To get and build Mmg, you will need:
29+
* **Git**: to download the code you will have to use a git manager. You can install a git manager from the link below but there are many other git clients that you can use:
30+
* [Official Git client](https://git-scm.com/download) (command line program)
31+
* [GitKraken](https://www.gitkraken.com/)
32+
* [SourceTree](https://www.sourcetreeapp.com/)
33+
34+
Note that if you uses Microsoft Visual Studio (Windows OS), you can simply activate the Git Module of the application.
35+
36+
* **CMake** : Mmg uses the CMake building system that can be downloaded on the
37+
following web page:
38+
[https://cmake.org/download/](https://cmake.org/download/). On Windows OS,
39+
once CMake is installed, please <span style="color:red"> do not forget to
40+
mark the option:
41+
```
42+
"Add CMake to the system PATH for all users"
43+
```
44+
</span>
45+
46+
### Mmg download and compilation
47+
#### Unix-like OS (Linux, MacOS...)
48+
1449
1. Get the repository:
1550
```Shell
1651
wget https://github.com/MmgTools/mmg/archive/master.zip
@@ -27,19 +62,71 @@ It provides 3 applications and 4 libraries:
2762
* **_src/common/_** for files related to the both.
2863
2964
2. Fast compilation (build both **mmg2d**, **mmgs**, **mmg3d**, the mmg2d static library (**libmmg3d.a**), the mmgs static library (**libmmgs.a**), the mmg3d static library (**libmmg3d.a**) and the mmg static library (**libmmg.a**)):
30-
```Shell
65+
```Shell
3166
cd mmg
3267
mkdir build
3368
cd build
3469
cmake ..
3570
make
3671
make install
37-
```
72+
```
73+
3874
If the `make install` command fail, try to run the `sudo make install` command.
39-
If you don't have root access, please refers to the [Installation] section(https://github.com/MmgTools/Mmg/wiki/Setup-guide#iii-installation) of the [setup guide](https://github.com/MmgTools/Mmg/wiki/Setup-guide#setup-guide).
75+
If you don't have root access, please refers to the [Installation section](https://github.com/MmgTools/Mmg/wiki/Setup-guide#iii-installation) of the [setup guide](https://github.com/MmgTools/Mmg/wiki/Setup-guide#setup-guide).
4076

4177
The **mmg2d**, **mmgs** and **mmg3d** applications are available under the `mmg2d_O3`, `mmgs_O3` and `mmg3d_O3` commands.
4278

79+
Note that if you use some specific options and want to set it easily, you can use a shell script to execute the previous commands. An example is provided [here](https://github.com/MmgTools/mmg/wiki/Configure-script-for-CMake-(UNIX-like-OS)).
80+
81+
#### Windows OS
82+
The following compilation can be performed in any modern version of *Windows*
83+
(AKA 7, 8, 8.1 and 10). A basic knowledge of Windows is assumed (execute
84+
commands in cmd, create directories, etc...).
85+
86+
##### Compile with VisualStudio
87+
88+
Universal windows platform development
89+
1. Get the **Visual Studio** software: it can be downloaded [here](https://www.visualstudio.com/downloads/);
90+
91+
2. if not done during the previous step, download **C/C++** compilers: in the Visual Studio searching zone, search **C compiler** and install the **"Visual C++ compilers and libraries"** (individual componant) and the MSBuild componant;
92+
93+
3. in the Visual Studio searching zone, search the **git** word and select the installation of the **"GitHub extension for VisualStudio"**;
94+
95+
4. stay in VisualStudio and clone the Mmg repository from the following url: https://github.com/MmgTools/mmg.git;
96+
97+
5. Use **CMake** to configure and generate your project. It can be done either with the graphic mode of CMake (you have to select the "VisualStudio" generator) or with a command line. In this case, it is highly recommended to specify that you intent to build a VisualStudio project.
98+
For example, if you are using VisualStudio 2017:
99+
```Shell
100+
cmake -G "Visual Studio 15 2017 Win64" ^
101+
configure
102+
```
103+
104+
Note that you can use a script to make this step easier (an example of script is provided [here](https://github.com/MmgTools/mmg/wiki/Configure-script-for-CMake-(Windows-OS))).
105+
106+
Once the configuration script has finished without errors a `mmg.sln` file will be generated in the cmake_build directory.
107+
108+
6. Double click this file and the visual studio project will open. Then choose the project configuration (Release, Debug...).
109+
Please, make sure that the project is set to Win32 or x64 and change it if is not.
110+
Finally, in order to compile Mmg, right click the `INSTALL` project and select the option `BUILD`.
111+
112+
##### Compile with MinGW
113+
114+
1. Get a **C Compiler**:
115+
* **MinGW** can be downloaded [here](http://mingw.org/). We recommand to install the *mingw-developer-tools*, *mingw32-base*, *mingw32-gcc-fortran*, *mingw32-gcc-g++* and *msys-base* packages;
116+
* Edit the environment variables and add MinGW in your **PATH** variable. It can be done in the **advanced system settings** panel. (note that you must modify the **PATH** variable, not the **Path** one);
117+
* **MinGW** binaries are probably in **C:\MinGW\bin**
118+
* the MinGW terminal is in **C:\MinGW\msys\1.0\msys**
119+
120+
2. Clone the Mmg repository from the following url: https://github.com/MmgTools/mmg.git;
121+
122+
3. Quit and restart the *CMake* application to take the PATH modification into account then use CMake to configure and generate your project (select the MinGW Makefiles generator of CMake). If you have installed the scotch libraries, you will need to set explicitely the libraries paths;
123+
4. Build the Mmg applications: in the minGW prompt (**C:\MinGW\msys\1.0\msys**) run:
124+
```Shell
125+
mingw32-make
126+
```
127+
128+
Again, if you use some specific options and want to make the CMake configuration step easier, you can use a batch script. An example of script is provided [here](https://github.com/MmgTools/mmg/wiki/Configure-script-for-CMake-(Windows-OS)).
129+
43130
## Documentation
44131
### Project's web page
45132
Project's actualities and software tutorials can be found on the [mmgtools](http://www.mmgtools.org) web page.

cmake/modules/LoadCiTests.cmake

Lines changed: 19 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ELSE ( )
7676
SET ( OLD_MMG2D_MD5 "0" )
7777
ENDIF ( )
7878

79-
FILE(DOWNLOAD https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmV3BlUER4M0Z4MGs
79+
FILE(DOWNLOAD https://drive.google.com/uc?export=download&id=1Lnvh7AldwEXS7WRa1VxsRqI7Xu7CgJNj
8080
${CI_DIR}/mmg2d.version
8181
STATUS MMG2D_VERSION_STATUS
8282
INACTIVITY_TIMEOUT 5)
@@ -159,15 +159,14 @@ ENDIF()
159159
#--------------> mmg
160160
IF ( GET_MMG_TESTS MATCHES "TRUE" )
161161
MESSAGE("-- Download the mmg test cases. May be very long...")
162-
FILE(DOWNLOAD https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmdXVkS3QzdWEtdFU
162+
FILE(DOWNLOAD https://drive.google.com/uc?export=download&id=1Kd2aow6nfBI1i5dSN6lXMxaDKLrtpd6r
163163
${CI_DIR}/mmg.tgz
164164
SHOW_PROGRESS)
165165
IF ( NOT EXISTS ${CI_DIR}/mmg.tgz )
166166
MESSAGE("\n")
167167
MESSAGE(WARNING "Fail to automatically download the mmg test cases.
168168
Try to get it at the following link:
169-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmdXVkS3QzdWEtdFU
170-
then untar it in the ${CI_DIR} directory.")
169+
https://drive.google.com/uc?export=download&id=1Kd2aow6nfBI1i5dSN6lXMxaDKLrtpd6r then untar it in the ${CI_DIR} directory.")
171170
ELSE()
172171
EXECUTE_PROCESS(
173172
COMMAND ${CMAKE_COMMAND} -E tar xzf
@@ -188,14 +187,14 @@ ENDIF ()
188187
#--------------> mmg2d
189188
IF ( GET_MMG2D_TESTS MATCHES "TRUE" )
190189
MESSAGE("-- Download the mmg2d test cases. May be very long...")
191-
FILE(DOWNLOAD https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmX0hrRWJWTDBETHc
190+
FILE(DOWNLOAD https://drive.google.com/uc?export=download&id=1Lnvh7AldwEXS7WRa1VxsRqI7Xu7CgJNj
192191
${CI_DIR}/mmg2d.tgz
193192
SHOW_PROGRESS)
194193
IF ( NOT EXISTS ${CI_DIR}/mmg2d.tgz )
195194
MESSAGE("\n")
196195
MESSAGE(WARNING "Fail to automatically download the mmg2d test cases.
197196
Try to get it at the following link:
198-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmX0hrRWJWTDBETHc
197+
https://drive.google.com/uc?export=download&id=1Lnvh7AldwEXS7WRa1VxsRqI7Xu7CgJNj
199198
then untar it in the ${CI_DIR} directory.")
200199
ELSE()
201200
EXECUTE_PROCESS(
@@ -243,29 +242,19 @@ ENDIF ()
243242

244243
#--------------> mmg3d
245244
SET(ADDRESS
246-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmWGxhMnAzMGFrNTg
247-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmclVnbTRqUXVfNUE
248-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmdWNLTFh1THl1U0k
249-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmX1d2WGJkaHUxV1E
250-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmbmY1R0EyelhETW8
251-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmd3lnTTZQRTZxLW8
252-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmRHk0ZTREdzJpYXc
253-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmd09YVmtEcXZIWFU
254-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmLTFXUGhGTVY2dEE
255-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmUGI3UU1UMExJTTQ
256-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmSWZJTEt1aGVCZDA
257-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmLUZqNjhwajBKZWM
258-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmZG9lUTdGa1d5ZjA
259-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmU2l0N0N4X0lyRkE
260-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmcmVnY2NsSzBxVkk
261-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmRWIxRS1yMUJyZkk
262-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmM05MVEhvZzdHckE
263-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmbFhOaE5UVlNQOFk
264-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmLWp4SFpyN3c4d0U
265-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmZm0tODJtRXM2eHc
266-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmZ29NVVpyRlFob1k
267-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmd0lmd1pHR1VKUlU
268-
https://drive.google.com/uc?export=download&id=0B3X6EwOEKqHmY0VWR2pCbXRWLWM
245+
https://drive.google.com/uc?export=download&id=1WJK8mbFh81QFsDuOUt7kcavJwLO4yatO
246+
https://drive.google.com/uc?export=download&id=1SvznS9n57f1jIVoeFMM7-WVGJUu3OdMz
247+
https://drive.google.com/uc?export=download&id=1wACP1jut6Dz4mTf6uQARW7Koc1Zs_O9H
248+
https://drive.google.com/uc?export=download&id=142BueykwzDGS_Ne_RzJfgMGqQNhzJb6a
249+
https://drive.google.com/uc?export=download&id=1dEXKIApQiEkplI03bgVbThKMKTL4P0M_
250+
https://drive.google.com/uc?export=download&id=1KA5H7oS9HrtXT3sUpGU78YU7BwRHMVk7
251+
https://drive.google.com/uc?export=download&id=1duHPrEjdHrb1k9VwoV_-uYw4CPbMN9AM
252+
https://drive.google.com/uc?export=download&id=179k-asjM88ewVumZSQ9eUMWLJRfbQwIz
253+
https://drive.google.com/uc?export=download&id=1yjGvVah-vFNhwsImrHA0Bu5sIo1Fo5wW
254+
https://drive.google.com/uc?export=download&id=1PpQpC0OvJUTieTs0jd_A0Qb5EVP3QfZw
255+
https://drive.google.com/uc?export=download&id=1DbI0CCIYvDX-cPLZehazMV5wmu-K9K4b
256+
https://drive.google.com/uc?export=download&id=1MDALbXmXSpoVaHo4ghU6QpmQhsBP8Pjy
257+
https://drive.google.com/uc?export=download&id=1iil5UBwVgpcErUcKd_wJi_Oguuuyy0HT
269258
)
270259

271260
SET(FILENAME
@@ -282,16 +271,6 @@ SET(FILENAME
282271
${CI_DIR}/mmg3d.tgz.ak
283272
${CI_DIR}/mmg3d.tgz.al
284273
${CI_DIR}/mmg3d.tgz.am
285-
${CI_DIR}/mmg3d.tgz.an
286-
${CI_DIR}/mmg3d.tgz.ao
287-
${CI_DIR}/mmg3d.tgz.ap
288-
${CI_DIR}/mmg3d.tgz.aq
289-
${CI_DIR}/mmg3d.tgz.ar
290-
${CI_DIR}/mmg3d.tgz.as
291-
${CI_DIR}/mmg3d.tgz.at
292-
${CI_DIR}/mmg3d.tgz.au
293-
${CI_DIR}/mmg3d.tgz.av
294-
${CI_DIR}/mmg3d.tgz.aw
295274
)
296275

297276

@@ -300,7 +279,7 @@ IF ( GET_MMG3D_TESTS MATCHES "TRUE" )
300279

301280
SET(LOAD_OK 1)
302281

303-
FOREACH( i RANGE 0 22)
282+
FOREACH( i RANGE 0 12)
304283
LIST(GET ADDRESS ${i} ADDRESS_i)
305284
LIST(GET FILENAME ${i} FILENAME_i)
306285

cmake/modules/mmg2d.cmake

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ FILE(INSTALL ${mmg2d_headers} DESTINATION ${MMG2D_INCLUDE}
136136
##### Compile program to test library
137137
#####
138138
############################################################################
139+
SET(MMG2D_CI_TESTS ${CI_DIR}/mmg2d )
139140

140141
IF ( TEST_LIBMMG2D )
141142
INCLUDE(cmake/testing/libmmg2d_tests.cmake)
@@ -160,7 +161,6 @@ IF ( BUILD_TESTING )
160161
##-------------------------------------------------------------------##
161162
##------- Set the continuous integration options --------------------##
162163
##-------------------------------------------------------------------##
163-
SET(MMG2D_CI_TESTS ${CI_DIR}/mmg2d )
164164

165165
##-------------------------------------------------------------------##
166166
##--------------------------- Add tests and configure it ------------##
@@ -178,6 +178,10 @@ IF ( BUILD_TESTING )
178178

179179
SET(LIBMMG2D_EXEC0_b ${EXECUTABLE_OUTPUT_PATH}/libmmg2d_example0_b )
180180
SET(LIBMMG2D_EXEC1 ${EXECUTABLE_OUTPUT_PATH}/libmmg2d_example1 )
181+
SET(LIBMMG2D_EXEC2 ${EXECUTABLE_OUTPUT_PATH}/libmmg2d_example2 )
182+
SET(LIBMMG2D_EXEC3 ${EXECUTABLE_OUTPUT_PATH}/libmmg2d_example3 )
183+
SET(TEST_API2D_EXEC0 ${EXECUTABLE_OUTPUT_PATH}/test_api2d_0)
184+
181185

182186
ADD_TEST(NAME libmmg2d_example0_a COMMAND ${LIBMMG2D_EXEC0_a}
183187
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/adaptation_example0/example0_a/init.mesh"
@@ -190,18 +194,51 @@ IF ( BUILD_TESTING )
190194
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/adaptation_example1/dom.mesh"
191195
"${CTEST_OUTPUT_DIR}/libmmg2d_Adaptation_1-dom.o"
192196
)
197+
ADD_TEST(NAME libmmg2d_example2 COMMAND ${LIBMMG2D_EXEC2}
198+
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/squareGeneration_example2/carretest.mesh"
199+
"${CTEST_OUTPUT_DIR}/libmmg2d_Generation_2-carre.o"
200+
)
201+
ADD_TEST(NAME libmmg2d_example3_io_0 COMMAND ${LIBMMG2D_EXEC3}
202+
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/io_multisols_example3/naca-multiSols.mesh"
203+
"${CTEST_OUTPUT_DIR}/libmmg2d_io_3-naca.o" "0"
204+
)
205+
ADD_TEST(NAME libmmg2d_example3_io_1 COMMAND ${LIBMMG2D_EXEC3}
206+
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/io_multisols_example3/naca-multiSols.mesh"
207+
"${CTEST_OUTPUT_DIR}/libmmg2d_io_3-naca.o" "1"
208+
)
209+
ADD_TEST(NAME test_api2d_0 COMMAND ${TEST_API2D_EXEC0}
210+
"${MMG2D_CI_TESTS}/API_tests/2dom.mesh"
211+
"${CTEST_OUTPUT_DIR}/test_API2d.o"
212+
)
213+
193214

194215
IF ( CMAKE_Fortran_COMPILER)
195216
SET(LIBMMG2D_EXECFORTRAN_a ${EXECUTABLE_OUTPUT_PATH}/libmmg2d_fortran_a )
196-
197217
SET(LIBMMG2D_EXECFORTRAN_b ${EXECUTABLE_OUTPUT_PATH}/libmmg2d_fortran_b )
218+
SET(LIBMMG2D_EXECFORTRAN_IO ${EXECUTABLE_OUTPUT_PATH}/libmmg2d_fortran_io )
219+
SET(TEST_API2D_FORTRAN_EXEC0 ${EXECUTABLE_OUTPUT_PATH}/test_api2d_fortran_0)
220+
221+
198222
ADD_TEST(NAME libmmg2d_fortran_a COMMAND ${LIBMMG2D_EXECFORTRAN_a}
199223
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/adaptation_example0_fortran/example0_a/init.mesh"
200224
"${CTEST_OUTPUT_DIR}/libmmg2d-Adaptation_Fortran_0_a-init.o"
201225
)
202226
ADD_TEST(NAME libmmg2d_fortran_b COMMAND ${LIBMMG2D_EXECFORTRAN_b}
203227
"${CTEST_OUTPUT_DIR}/libmmg2d_Adaptation_Fortran_0_b.o"
204228
)
229+
ADD_TEST(NAME libmmg2d_fortran_io_0 COMMAND ${LIBMMG2D_EXECFORTRAN_IO}
230+
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/io_multisols_example3/naca-multiSols.mesh"
231+
"${CTEST_OUTPUT_DIR}/libmmg2d_Fortran_io-naca.o" "0"
232+
)
233+
ADD_TEST(NAME libmmg2d_fortran_io_1 COMMAND ${LIBMMG2D_EXECFORTRAN_IO}
234+
"${PROJECT_SOURCE_DIR}/libexamples/mmg2d/io_multisols_example3/naca-multiSols.mesh"
235+
"${CTEST_OUTPUT_DIR}/libmmg2d_Fortran_io-naca.o" "1"
236+
)
237+
ADD_TEST(NAME test_api2d_fortran_0 COMMAND ${TEST_API2D_FORTRAN_EXEC0}
238+
"${MMG2D_CI_TESTS}/API_tests/2dom.mesh"
239+
"${CTEST_OUTPUT_DIR}/test_API2d.o"
240+
)
241+
205242
ENDIF()
206243

207244
ENDIF()

0 commit comments

Comments
 (0)