diff --git a/CMakeLists.txt b/CMakeLists.txt index 975e2139..cb09866d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(prisms_pf) @@ -71,7 +71,7 @@ message(STATUS "=========================================================") message(STATUS "") # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/README.md b/README.md index 2b88eb58..c244f31e 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ For detailed instructions on how to download and use PRISMS-PF, please consult t ### Install: -Install CMake, p4est, and deal.II (version 9.6 recommended). +Install CMake, p4est, and deal.II (version 9.6.0 or above required). Clone the PRISMS-PF GitHub repository and navigate its folder. ```bash @@ -98,7 +98,7 @@ following open source applications: ## Version information: -This version of the code, v2.4, contains moderate changes from v2.3. It was released in November 2024. See [version_changes.md](version_changes.md) for details. +This version of the code, v3.0, is still under development. See [version_changes.md](version_changes.md) for details of previous releases. ## Contributors Thanks to everyone who has contributed to the project! diff --git a/applications/CHAC_anisotropy/CMakeLists.txt b/applications/CHAC_anisotropy/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/CHAC_anisotropy/CMakeLists.txt +++ b/applications/CHAC_anisotropy/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHAC_anisotropyRegularized/CMakeLists.txt b/applications/CHAC_anisotropyRegularized/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/CHAC_anisotropyRegularized/CMakeLists.txt +++ b/applications/CHAC_anisotropyRegularized/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHAC_performance_test/CMakeLists.txt b/applications/CHAC_performance_test/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/CHAC_performance_test/CMakeLists.txt +++ b/applications/CHAC_performance_test/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark1a/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark1a/CMakeLists.txt index 38898683..55972a1d 100644 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark1a/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark1a/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark1b/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark1b/CMakeLists.txt index 38898683..55972a1d 100644 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark1b/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark1b/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark1c/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark1c/CMakeLists.txt index 38898683..55972a1d 100644 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark1c/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark1c/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark2a/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark2a/CMakeLists.txt index 38898683..55972a1d 100644 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark2a/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark2a/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark3a/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark3a/CMakeLists.txt index 38898683..55972a1d 100755 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark3a/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark3a/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark6a/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark6a/CMakeLists.txt index 38898683..55972a1d 100644 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark6a/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark6a/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark6b/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark6b/CMakeLists.txt index 38898683..55972a1d 100644 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark6b/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark6b/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/CHiMaD_benchmarks/CHiMaD_benchmark7a/CMakeLists.txt b/applications/CHiMaD_benchmarks/CHiMaD_benchmark7a/CMakeLists.txt index 38898683..55972a1d 100644 --- a/applications/CHiMaD_benchmarks/CHiMaD_benchmark7a/CMakeLists.txt +++ b/applications/CHiMaD_benchmarks/CHiMaD_benchmark7a/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/MgNd_precipitate_single_Bppp/CMakeLists.txt b/applications/MgNd_precipitate_single_Bppp/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/MgNd_precipitate_single_Bppp/CMakeLists.txt +++ b/applications/MgNd_precipitate_single_Bppp/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/allenCahn/CMakeLists.txt b/applications/allenCahn/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/allenCahn/CMakeLists.txt +++ b/applications/allenCahn/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/allenCahn_conserved/CMakeLists.txt b/applications/allenCahn_conserved/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/allenCahn_conserved/CMakeLists.txt +++ b/applications/allenCahn_conserved/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/alloySolidification/CMakeLists.txt b/applications/alloySolidification/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/alloySolidification/CMakeLists.txt +++ b/applications/alloySolidification/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/alloySolidification_uniform/CMakeLists.txt b/applications/alloySolidification_uniform/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/alloySolidification_uniform/CMakeLists.txt +++ b/applications/alloySolidification_uniform/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/anisotropyFacet/CMakeLists.txt b/applications/anisotropyFacet/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/anisotropyFacet/CMakeLists.txt +++ b/applications/anisotropyFacet/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/cahnHilliard/CMakeLists.txt b/applications/cahnHilliard/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/cahnHilliard/CMakeLists.txt +++ b/applications/cahnHilliard/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/corrosion/CMakeLists.txt b/applications/corrosion/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/corrosion/CMakeLists.txt +++ b/applications/corrosion/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/corrosion_microgalvanic/CMakeLists.txt b/applications/corrosion_microgalvanic/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/corrosion_microgalvanic/CMakeLists.txt +++ b/applications/corrosion_microgalvanic/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/coupledCahnHilliardAllenCahn/CMakeLists.txt b/applications/coupledCahnHilliardAllenCahn/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/coupledCahnHilliardAllenCahn/CMakeLists.txt +++ b/applications/coupledCahnHilliardAllenCahn/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/dendriticSolidification/CMakeLists.txt b/applications/dendriticSolidification/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/dendriticSolidification/CMakeLists.txt +++ b/applications/dendriticSolidification/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/eshelbyInclusion/CMakeLists.txt b/applications/eshelbyInclusion/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/eshelbyInclusion/CMakeLists.txt +++ b/applications/eshelbyInclusion/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/fickianDiffusion/CMakeLists.txt b/applications/fickianDiffusion/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/fickianDiffusion/CMakeLists.txt +++ b/applications/fickianDiffusion/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/grainGrowth/CMakeLists.txt b/applications/grainGrowth/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/grainGrowth/CMakeLists.txt +++ b/applications/grainGrowth/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/grainGrowth_dream3d/CMakeLists.txt b/applications/grainGrowth_dream3d/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/grainGrowth_dream3d/CMakeLists.txt +++ b/applications/grainGrowth_dream3d/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/mechanics/CMakeLists.txt b/applications/mechanics/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/mechanics/CMakeLists.txt +++ b/applications/mechanics/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/nucleationModel/CMakeLists.txt b/applications/nucleationModel/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/nucleationModel/CMakeLists.txt +++ b/applications/nucleationModel/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/nucleationModel_preferential/CMakeLists.txt b/applications/nucleationModel_preferential/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/nucleationModel_preferential/CMakeLists.txt +++ b/applications/nucleationModel_preferential/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/precipitateEvolution/CMakeLists.txt b/applications/precipitateEvolution/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/precipitateEvolution/CMakeLists.txt +++ b/applications/precipitateEvolution/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/precipitateEvolution_pfunction/CMakeLists.txt b/applications/precipitateEvolution_pfunction/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/precipitateEvolution_pfunction/CMakeLists.txt +++ b/applications/precipitateEvolution_pfunction/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/applications/spinodalDecomposition/CMakeLists.txt b/applications/spinodalDecomposition/CMakeLists.txt index 75463b9d..916a7f00 100644 --- a/applications/spinodalDecomposition/CMakeLists.txt +++ b/applications/spinodalDecomposition/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/CHAC_anisotropyRegularized/CMakeLists.txt b/automatic_tests/CHAC_anisotropyRegularized/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/CHAC_anisotropyRegularized/CMakeLists.txt +++ b/automatic_tests/CHAC_anisotropyRegularized/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/CHiMaD_benchmark6a/CMakeLists.txt b/automatic_tests/CHiMaD_benchmark6a/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/CHiMaD_benchmark6a/CMakeLists.txt +++ b/automatic_tests/CHiMaD_benchmark6a/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/allenCahn/CMakeLists.txt b/automatic_tests/allenCahn/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/allenCahn/CMakeLists.txt +++ b/automatic_tests/allenCahn/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/cahnHilliard/CMakeLists.txt b/automatic_tests/cahnHilliard/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/cahnHilliard/CMakeLists.txt +++ b/automatic_tests/cahnHilliard/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/corrosion_microgalvanic/CMakeLists.txt b/automatic_tests/corrosion_microgalvanic/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/corrosion_microgalvanic/CMakeLists.txt +++ b/automatic_tests/corrosion_microgalvanic/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/coupledCahnHilliardAllenCahn/CMakeLists.txt b/automatic_tests/coupledCahnHilliardAllenCahn/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/coupledCahnHilliardAllenCahn/CMakeLists.txt +++ b/automatic_tests/coupledCahnHilliardAllenCahn/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/grainGrowth/CMakeLists.txt b/automatic_tests/grainGrowth/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/grainGrowth/CMakeLists.txt +++ b/automatic_tests/grainGrowth/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/precipitateEvolution/CMakeLists.txt b/automatic_tests/precipitateEvolution/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/precipitateEvolution/CMakeLists.txt +++ b/automatic_tests/precipitateEvolution/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/precipitateEvolution_pfunction/CMakeLists.txt b/automatic_tests/precipitateEvolution_pfunction/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/precipitateEvolution_pfunction/CMakeLists.txt +++ b/automatic_tests/precipitateEvolution_pfunction/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/automatic_tests/spinodalDecomposition/CMakeLists.txt b/automatic_tests/spinodalDecomposition/CMakeLists.txt index 82b46ea0..4c390730 100644 --- a/automatic_tests/spinodalDecomposition/CMakeLists.txt +++ b/automatic_tests/spinodalDecomposition/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(myapp) @@ -47,7 +47,7 @@ else() endif() # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) diff --git a/include/core/matrixFreePDE.h b/include/core/matrixFreePDE.h index d683b1f6..4b640c0c 100644 --- a/include/core/matrixFreePDE.h +++ b/include/core/matrixFreePDE.h @@ -3,28 +3,26 @@ #define MATRIXFREEPDE_H // dealii headers -#include -#include -#include -#include -#include -#include -#include -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR > 3) -# include -#endif #include #include +#include +#include #include #include #include #include +#include +#include +#include +#include #include #include #include #include #include +#include #include +#include #include #include #include diff --git a/src/core/boundary_conditions/boundaryConditions.cc b/src/core/boundary_conditions/boundaryConditions.cc index c34acdd1..348a9a54 100644 --- a/src/core/boundary_conditions/boundaryConditions.cc +++ b/src/core/boundary_conditions/boundaryConditions.cc @@ -273,12 +273,8 @@ MatrixFreePDE::setPeriodicityConstraints( periodicity_vector); } } -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR >= 4) + DoFTools::make_periodicity_constraints(periodicity_vector, *constraints); -#else - DoFTools::make_periodicity_constraints>(periodicity_vector, - *constraints); -#endif } template diff --git a/src/core/init.cc b/src/core/init.cc index 9e3e6473..82fc1e07 100644 --- a/src/core/init.cc +++ b/src/core/init.cc @@ -231,31 +231,18 @@ MatrixFreePDE::init() // Setup the matrix free object typename MatrixFree::AdditionalData additional_data; -// The member "mpi_communicator" was removed in deal.II version 8.5 but is -// required before it -#if (DEAL_II_VERSION_MAJOR < 9 && DEAL_II_VERSION_MINOR < 5) - additional_data.mpi_communicator = MPI_COMM_WORLD; -#endif additional_data.tasks_parallel_scheme = MatrixFree::AdditionalData::partition_partition; - // additional_data.tasks_parallel_scheme = - // MatrixFree::AdditionalData::none; additional_data.mapping_update_flags = (update_values | update_gradients | update_JxW_values | update_quadrature_points); QGaussLobatto<1> quadrature(degree + 1); matrixFreeObject.clear(); -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - matrixFreeObject.reinit(dofHandlersSet, - constraintsOtherSet, - quadrature, - additional_data); -#else matrixFreeObject.reinit(MappingFE(FE_Q(QGaussLobatto<1>(degree + 1))), dofHandlersSet, constraintsOtherSet, quadrature, additional_data); -#endif + bool dU_scalar_init = false; bool dU_vector_init = false; diff --git a/src/core/initial_conditions/initialConditions.cc b/src/core/initial_conditions/initialConditions.cc index 33549473..b2236b76 100644 --- a/src/core/initial_conditions/initialConditions.cc +++ b/src/core/initial_conditions/initialConditions.cc @@ -260,19 +260,11 @@ MatrixFreePDE::applyInitialConditions() computeLaplaceRHS(fieldIndex); if (fields[fieldIndex].type == SCALAR) { -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - unsigned int invM_size = invMscalar.local_size(); - for (unsigned int dof = 0; - dof < solutionSet[fieldIndex]->local_size(); - ++dof) - { -#else unsigned int invM_size = invMscalar.locally_owned_size(); for (unsigned int dof = 0; dof < solutionSet[fieldIndex]->locally_owned_size(); ++dof) { -#endif solutionSet[fieldIndex]->local_element(dof) = solutionSet[fieldIndex]->local_element(dof) - invMscalar.local_element(dof % invM_size) * @@ -282,19 +274,11 @@ MatrixFreePDE::applyInitialConditions() } else if (fields[fieldIndex].type == VECTOR) { -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - unsigned int invM_size = invMvector.local_size(); - for (unsigned int dof = 0; - dof < solutionSet[fieldIndex]->local_size(); - ++dof) - { -#else unsigned int invM_size = invMvector.locally_owned_size(); for (unsigned int dof = 0; dof < solutionSet[fieldIndex]->locally_owned_size(); ++dof) { -#endif solutionSet[fieldIndex]->local_element(dof) = solutionSet[fieldIndex]->local_element(dof) - invMvector.local_element(dof % invM_size) * diff --git a/src/core/inputFileReader.cc b/src/core/inputFileReader.cc index 7b62d6cd..72de4073 100644 --- a/src/core/inputFileReader.cc +++ b/src/core/inputFileReader.cc @@ -25,11 +25,7 @@ inputFileReader::inputFileReader(const std::string &input_file_name, // Read in all of the parameters now declare_parameters(parameter_handler, num_constants); -#if (DEAL_II_VERSION_MAJOR < 9 && DEAL_II_VERSION_MINOR < 5) - parameter_handler.read_input(input_file_name); -#else parameter_handler.parse_input(input_file_name); -#endif number_of_dimensions = parameter_handler.get_integer("Number of dimensions"); } diff --git a/src/core/invM.cc b/src/core/invM.cc index b92065b4..e5a499d0 100644 --- a/src/core/invM.cc +++ b/src/core/invM.cc @@ -128,13 +128,8 @@ MatrixFreePDE::computeInvM() std::multiplies<>()); // Invert scalar mass matrix diagonal elements -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - for (unsigned int k = 0; k < invMscalar.local_size(); ++k) - { -#else for (unsigned int k = 0; k < invMscalar.locally_owned_size(); ++k) { -#endif if (std::abs(invMscalar.local_element(k)) > 1.0e-15 * min_cell_volume) { invMscalar.local_element(k) = 1. / invMscalar.local_element(k); @@ -148,13 +143,8 @@ MatrixFreePDE::computeInvM() << parabolicScalarFieldIndex << ")\n"; // Invert vector mass matrix diagonal elements -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - for (unsigned int k = 0; k < invMvector.local_size(); ++k) - { -#else for (unsigned int k = 0; k < invMvector.locally_owned_size(); ++k) { -#endif if (std::abs(invMvector.local_element(k)) > 1.0e-15 * min_cell_volume) { invMvector.local_element(k) = 1. / invMvector.local_element(k); diff --git a/src/core/outputResults.cc b/src/core/outputResults.cc index 00bc13d3..dc91561a 100644 --- a/src/core/outputResults.cc +++ b/src/core/outputResults.cc @@ -45,19 +45,11 @@ MatrixFreePDE::outputResults() { std::vector postProcessedSet; computePostProcessedFields(postProcessedSet); -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - unsigned int invM_size = invMscalar.local_size(); - for (auto &field : postProcessedSet) - { - for (unsigned int dof = 0; dof < field->local_size(); ++dof) - { -#else unsigned int invM_size = invMscalar.locally_owned_size(); for (auto &field : postProcessedSet) { for (unsigned int dof = 0; dof < field->locally_owned_size(); ++dof) { -#endif field->local_element(dof) = invMscalar.local_element(dof % invM_size) * field->local_element(dof); } diff --git a/src/core/reinit.cc b/src/core/reinit.cc index 71171dc6..6cdc7076 100644 --- a/src/core/reinit.cc +++ b/src/core/reinit.cc @@ -107,18 +107,12 @@ MatrixFreePDE::reinit() (update_values | update_gradients | update_JxW_values | update_quadrature_points); QGaussLobatto<1> quadrature(degree + 1); matrixFreeObject.clear(); -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - matrixFreeObject.reinit(dofHandlersSet, - constraintsOtherSet, - quadrature, - additional_data); -#else matrixFreeObject.reinit(MappingFE(FE_Q(QGaussLobatto<1>(degree + 1))), dofHandlersSet, constraintsOtherSet, quadrature, additional_data); -#endif + bool dU_scalar_init = false; bool dU_vector_init = false; diff --git a/src/core/solvers/solveIncrement.cc b/src/core/solvers/solveIncrement.cc index b7334f1e..2053429e 100644 --- a/src/core/solvers/solveIncrement.cc +++ b/src/core/solvers/solveIncrement.cc @@ -261,16 +261,10 @@ MatrixFreePDE::updateExplicitSolution(unsigned int fieldIndex) // is an integer multiple of the length of invM for vector variables if (fields[fieldIndex].type == SCALAR) { -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - unsigned int invM_size = invMscalar.local_size(); - for (unsigned int dof = 0; dof < solutionSet[fieldIndex]->local_size(); ++dof) - { -#else unsigned int invM_size = invMscalar.locally_owned_size(); for (unsigned int dof = 0; dof < solutionSet[fieldIndex]->locally_owned_size(); ++dof) { -#endif solutionSet[fieldIndex]->local_element(dof) = invMscalar.local_element(dof % invM_size) * residualSet[fieldIndex]->local_element(dof); @@ -278,16 +272,10 @@ MatrixFreePDE::updateExplicitSolution(unsigned int fieldIndex) } else if (fields[fieldIndex].type == VECTOR) { -#if (DEAL_II_VERSION_MAJOR == 9 && DEAL_II_VERSION_MINOR < 4) - unsigned int invM_size = invMvector.local_size(); - for (unsigned int dof = 0; dof < solutionSet[fieldIndex]->local_size(); ++dof) - { -#else unsigned int invM_size = invMvector.locally_owned_size(); for (unsigned int dof = 0; dof < solutionSet[fieldIndex]->locally_owned_size(); ++dof) { -#endif solutionSet[fieldIndex]->local_element(dof) = invMvector.local_element(dof % invM_size) * residualSet[fieldIndex]->local_element(dof); diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8cdf8ad5..4bbf9be9 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -3,7 +3,7 @@ # Adapted from the ASPECT CMake file ## -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.3.0) project(prisms_pf_unit_tests) @@ -24,7 +24,7 @@ endif() # ========================================================= # Find deal.II installation -find_package(deal.II 9.2.0 QUIET +find_package(deal.II 9.6.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND})