diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 0313ceb9283f893c1b5c7cc33aa7853f7892caa3..a34c6848831c78cfb995430914d544a277aa52b0 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,3 +1,32 @@ +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ######################## # documentation # ######################## diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt index b8e5d57a41247bb2b886f6a5c65ac06c16b5f862..2efee191e2f15f5df6e1b002bafa925b31c8b775 100644 --- a/ext/CMakeLists.txt +++ b/ext/CMakeLists.txt @@ -1,4 +1,32 @@ -## Copyright 2009-2016 Inria +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ## Author: Cedric Lachat ########################################################################## # # @@ -90,7 +118,7 @@ set(EXECS foreach( EXEC ${EXECS}) add_executable (${EXEC} ${EXEC}.F90) target_link_libraries(${EXEC} - ${PAMPA_LIBRARY} ${PAMPA_EXTRA_LIBRARY} ${PAMPA_DEPENDENCIES}) + ${PAMPA_LIBRARY} ${PAMPA_EXTRA_LIBRARY} ${PAMPA_DEPENDENCIES}) if (MPI_C_LIBRARIES) target_link_libraries(${EXEC} ${MPI_Fortran_LIBRARIES} m) else () @@ -98,9 +126,7 @@ foreach( EXEC ${EXECS}) endif () if (PTHREAD) target_link_libraries(${EXEC} ${CMAKE_THREAD_LIBS_INIT}) - endif() + endif() target_link_libraries(${EXEC} ${LAPACK_LIBRARIES} ${PAMPA_DEPENDENCIES} ${PAMPA_LIBRARY} ) endforeach() - - diff --git a/src/pampa-remesh/CMakeLists.txt b/src/pampa-remesh/CMakeLists.txt index d824a5d1b8d9bd4d35471a155c75472234a70aa4..2df202dcd682d6df51af8673d26469692e91ab65 100644 --- a/src/pampa-remesh/CMakeLists.txt +++ b/src/pampa-remesh/CMakeLists.txt @@ -1,4 +1,32 @@ -## Copyright 2011-2017 Inria ## +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ############################################################# ## ## \file CMakeLists.txt diff --git a/src/remeshers/common/CMakeLists.txt b/src/remeshers/common/CMakeLists.txt index 575ab119a2166513d3bb2dcd87d06885b63ddb56..eafee85a469f2bb678d0e279fa988fb04a7c2975 100644 --- a/src/remeshers/common/CMakeLists.txt +++ b/src/remeshers/common/CMakeLists.txt @@ -1,4 +1,32 @@ -## Copyright 2011-2017 Inria ## +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ############################################################# ## ## \file CMakeLists.txt diff --git a/src/remeshers/gmsh/libpampa-gmsh/CMakeLists.txt b/src/remeshers/gmsh/libpampa-gmsh/CMakeLists.txt index edd99b138a898c34e6ad6234a5e892ad26da5b88..bbe6f32bb4c89d0c22cfb730d0abd6aafb2b3e3e 100644 --- a/src/remeshers/gmsh/libpampa-gmsh/CMakeLists.txt +++ b/src/remeshers/gmsh/libpampa-gmsh/CMakeLists.txt @@ -1,4 +1,32 @@ -## Copyright 2011-2017 Inria ## +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ############################################################# ## ## \file CMakeLists.txt @@ -30,21 +58,21 @@ ADD_CUSTOM_COMMAND(OUTPUT pampa-gmsh.h if (FORTRAN_INTERFACE) # Generate pampa_commonf.h ADD_CUSTOM_COMMAND(OUTPUT pampa_commonf.h - COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h - ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) + COMMAND ${CMAKE_COMMAND} -E copy + ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h + ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) # Generate pampa-gmsh_commonf.h add_custom_command(OUTPUT pampa-gmsh_commonf.h COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-gmsh_commonf.h + ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-gmsh_commonf.h DEPENDS library_commonf.h) # Generate pampaf-gmsh.h ADD_CUSTOM_COMMAND(OUTPUT pampaf-gmsh.h - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-gmsh.h - DEPENDS library.h) + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-gmsh.h + DEPENDS library.h) endif () # Sources to build libpampa-gmsh diff --git a/src/remeshers/mmg3d/libpampa-mmg3d/CMakeLists.txt b/src/remeshers/mmg3d/libpampa-mmg3d/CMakeLists.txt index a26658443d34a0f9e1fcb79253e92aec44b9d303..c5b4c6eff837d68d0979b55db9f4a382b7781cdc 100644 --- a/src/remeshers/mmg3d/libpampa-mmg3d/CMakeLists.txt +++ b/src/remeshers/mmg3d/libpampa-mmg3d/CMakeLists.txt @@ -1,4 +1,32 @@ -## Copyright 2011-2017 Inria ## +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ############################################################# ## ## \file CMakeLists.txt @@ -30,21 +58,21 @@ ADD_CUSTOM_COMMAND(OUTPUT pampa-mmg3d.h if (FORTRAN_INTERFACE) # Generate pampa_commonf.h ADD_CUSTOM_COMMAND(OUTPUT pampa_commonf.h - COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h - ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) + COMMAND ${CMAKE_COMMAND} -E copy + ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h + ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) # Generate pampa-mmg3d_commonf.h add_custom_command(OUTPUT pampa-mmg3d_commonf.h COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-mmg3d_commonf.h + ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-mmg3d_commonf.h DEPENDS library_commonf.h) # Generate pampaf-mmg3d.h ADD_CUSTOM_COMMAND(OUTPUT pampaf-mmg3d.h - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-mmg3d.h - DEPENDS library.h) + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-mmg3d.h + DEPENDS library.h) endif () # Sources to build libpampa-mmg3d @@ -76,12 +104,12 @@ SET(PAMPA_MMG3D_C_SOURCES if (FORTRAN_INTERFACE) set (PAMPA_MMG3D_FORTRAN_SOURCES - pampa_commonf.h - pampa-mmg3d_commonf.h - pampaf-mmg3d.h - library_mesh_load.F90 - library_mesh_save.F90 - library.F90) + pampa_commonf.h + pampa-mmg3d_commonf.h + pampaf-mmg3d.h + library_mesh_load.F90 + library_mesh_save.F90 + library.F90) endif () ADD_LIBRARY( diff --git a/src/remeshers/mmg3d/libpampa-mmg3d4/CMakeLists.txt b/src/remeshers/mmg3d/libpampa-mmg3d4/CMakeLists.txt index 06fc2d6755d2d75324e5b688529f2481374e26dd..83d9cc5a14c672510f1d0ef59848aa3edfab558e 100644 --- a/src/remeshers/mmg3d/libpampa-mmg3d4/CMakeLists.txt +++ b/src/remeshers/mmg3d/libpampa-mmg3d4/CMakeLists.txt @@ -1,4 +1,32 @@ -## Copyright 2011-2017 Inria ## +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ############################################################# ## ## \file CMakeLists.txt @@ -30,21 +58,21 @@ add_custom_command(OUTPUT pampa-mmg3d4.h if (FORTRAN_INTERFACE) # Generate pampa_commonf.h add_custom_command(OUTPUT pampa_commonf.h - COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h - ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) + COMMAND ${CMAKE_COMMAND} -E copy + ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h + ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) # Generate pampa-mmg3d4_commonf.h add_custom_command(OUTPUT pampa-mmg3d4_commonf.h COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-mmg3d4_commonf.h + ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-mmg3d4_commonf.h DEPENDS library_commonf.h) # Generate pampaf-mmg3d4.h add_custom_command(OUTPUT pampaf-mmg3d4.h - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-mmg3d4.h - DEPENDS library.h) + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-mmg3d4.h + DEPENDS library.h) endif () # Sources to build libpampa-mmg3d4 @@ -52,7 +80,7 @@ endif () set(PAMPA_MMG3D4_C_SOURCES pampa-mmg3d4.h library_dmesh_band.c - library_dmesh_check.c + library_dmesh_check.c library_dmesh_weight.c library_dmesh_metric.c library_mesh_adapt.c @@ -68,12 +96,12 @@ set(PAMPA_MMG3D4_C_SOURCES if (FORTRAN_INTERFACE) set (PAMPA_MMG3D4_FORTRAN_SOURCES - pampa_commonf.h - pampa-mmg3d4_commonf.h - pampaf-mmg3d4.h - library_mesh_load.F90 - library_mesh_save.F90 - library.F90) + pampa_commonf.h + pampa-mmg3d4_commonf.h + pampaf-mmg3d4.h + library_mesh_load.F90 + library_mesh_save.F90 + library.F90) endif () add_library( diff --git a/src/remeshers/tetgen/libpampa-tetgen/CMakeLists.txt b/src/remeshers/tetgen/libpampa-tetgen/CMakeLists.txt index 75649cce9e73073a6c4ccf7f5b655f64328f8e22..c45a989b7791a8a52f456f62538de9230f151634 100644 --- a/src/remeshers/tetgen/libpampa-tetgen/CMakeLists.txt +++ b/src/remeshers/tetgen/libpampa-tetgen/CMakeLists.txt @@ -1,4 +1,32 @@ -## Copyright 2011-2017 Inria ## +## Copyright 2009-2016 Inria +## +## This file is part of the PaMPA software package for parallel +## mesh partitioning and adaptation. +## +## PaMPA is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## any later version. +## +## PaMPA is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## In this respect, the user's attention is drawn to the risks associated +## with loading, using, modifying and/or developing or reproducing the +## software by the user in light of its specific status of free software, +## that may mean that it is complicated to manipulate, and that also +## therefore means that it is reserved for developers and experienced +## professionals having in-depth computer knowledge. Users are therefore +## encouraged to load and test the software's suitability as regards +## their requirements in conditions enabling the security of their +## systems and/or data to be ensured and, more generally, to use and +## operate it in the same conditions as regards security. +## +## The fact that you are presently reading this means that you have had +## knowledge of the GPLv3 license and that you accept its terms. +## ############################################################# ## ## \file CMakeLists.txt @@ -38,21 +66,21 @@ ADD_CUSTOM_COMMAND(OUTPUT pampa-tetgen.h if (FORTRAN_INTERFACE) # Generate pampa_commonf.h ADD_CUSTOM_COMMAND(OUTPUT pampa_commonf.h - COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h - ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) + COMMAND ${CMAKE_COMMAND} -E copy + ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h + ${CMAKE_CURRENT_BINARY_DIR}/pampa_commonf.h + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../libpampa/pampa_commonf.h) # Generate pampa-tetgen_commonf.h add_custom_command(OUTPUT pampa-tetgen_commonf.h COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-tetgen_commonf.h + ${CMAKE_CURRENT_SOURCE_DIR}/library_commonf.h ${CMAKE_CURRENT_BINARY_DIR}/pampa-tetgen_commonf.h DEPENDS library_commonf.h) # Generate pampaf-tetgen.h ADD_CUSTOM_COMMAND(OUTPUT pampaf-tetgen.h - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-tetgen.h - DEPENDS library.h) + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libraryf.h ${CMAKE_CURRENT_BINARY_DIR}/pampaf-tetgen.h + DEPENDS library.h) endif () # Sources to build libpampa-tetgen