Skip to content

Commit

Permalink
Merge branch 'prisms-center:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
supriyoumich authored Nov 2, 2024
2 parents 9f272b7 + 4a5742f commit b7d2517
Show file tree
Hide file tree
Showing 151 changed files with 1,473 additions and 1,584 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ permissions:
jobs:
CI-Linux:
runs-on: [ubuntu-22.04]
timeout-minutes: 120

container:
image: dealii/dealii:v9.6.0-jammy
Expand All @@ -41,6 +42,7 @@ jobs:
make -j $(nproc)
- name: Run PRISMS-PF tests
timeout-minutes: 60
run: |
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

## Version information:

This version of the code, v2.3, contains moderate changes from v2.2. It was released in March 20213. See [version_changes.md](version_changes.md) for details.
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.

## What is PRISMS-PF?

Expand Down
2 changes: 1 addition & 1 deletion applications/CHAC_anisotropy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ include_directories(${CMAKE_SOURCE_DIR}/../../include)
include_directories(${CMAKE_SOURCE_DIR}/../../src)
include_directories(${CMAKE_SOURCE_DIR})

# SEt the location of the main.cc file
# Set the location of the main.cc file
set(MAIN "${CMAKE_SOURCE_DIR}/../main.cc")

# Add main.cc for executable target
Expand Down
19 changes: 11 additions & 8 deletions applications/CHAC_anisotropy/customPDE.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,26 @@ class customPDE : public MatrixFreePDE<dim, degree>
void
explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the RHS of the governing equations for all other equations
// (in equations.h)
void
nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the LHS of the governing equations (in equations.h)
void
equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set postprocessing expressions (in postprocess.h)
#ifdef POSTPROCESS_FILE_EXISTS
Expand All @@ -64,8 +67,8 @@ class customPDE : public MatrixFreePDE<dim, degree>
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc)
const override;
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;
#endif

// Function to set the nucleation probability (in nucleation.h)
Expand Down
9 changes: 6 additions & 3 deletions applications/CHAC_anisotropy/equations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down Expand Up @@ -150,7 +151,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}

// =============================================================================================
Expand All @@ -172,5 +174,6 @@ template <int dim, int degree>
void
customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}
3 changes: 2 additions & 1 deletion applications/CHAC_anisotropy/postprocess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ customPDE<dim, degree>::postProcessedFields(
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---
// c
Expand Down
2 changes: 1 addition & 1 deletion applications/CHAC_anisotropyRegularized/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ include_directories(${CMAKE_SOURCE_DIR}/../../include)
include_directories(${CMAKE_SOURCE_DIR}/../../src)
include_directories(${CMAKE_SOURCE_DIR})

# SEt the location of the main.cc file
# Set the location of the main.cc file
set(MAIN "${CMAKE_SOURCE_DIR}/../main.cc")

# Add main.cc for executable target
Expand Down
19 changes: 11 additions & 8 deletions applications/CHAC_anisotropyRegularized/customPDE.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,26 @@ class customPDE : public MatrixFreePDE<dim, degree>
void
explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the RHS of the governing equations for all other equations
// (in equations.h)
void
nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the LHS of the governing equations (in equations.h)
void
equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set postprocessing expressions (in postprocess.h)
#ifdef POSTPROCESS_FILE_EXISTS
Expand All @@ -64,8 +67,8 @@ class customPDE : public MatrixFreePDE<dim, degree>
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc)
const override;
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;
#endif

// Function to set the nucleation probability (in nucleation.h)
Expand Down
9 changes: 6 additions & 3 deletions applications/CHAC_anisotropyRegularized/equations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down Expand Up @@ -163,7 +164,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down Expand Up @@ -194,5 +196,6 @@ template <int dim, int degree>
void
customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}
3 changes: 2 additions & 1 deletion applications/CHAC_anisotropyRegularized/postprocess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ customPDE<dim, degree>::postProcessedFields(
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down
2 changes: 1 addition & 1 deletion applications/CHAC_performance_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ include_directories(${CMAKE_SOURCE_DIR}/../../include)
include_directories(${CMAKE_SOURCE_DIR}/../../src)
include_directories(${CMAKE_SOURCE_DIR})

# SEt the location of the main.cc file
# Set the location of the main.cc file
set(MAIN "${CMAKE_SOURCE_DIR}/../main.cc")

# Add main.cc for executable target
Expand Down
19 changes: 11 additions & 8 deletions applications/CHAC_performance_test/customPDE.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,26 @@ class customPDE : public MatrixFreePDE<dim, degree>
void
explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the RHS of the governing equations for all other equations
// (in equations.h)
void
nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the LHS of the governing equations (in equations.h)
void
equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set postprocessing expressions (in postprocess.h)
#ifdef POSTPROCESS_FILE_EXISTS
Expand All @@ -64,8 +67,8 @@ class customPDE : public MatrixFreePDE<dim, degree>
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc)
const override;
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;
#endif

// Function to set the nucleation probability (in nucleation.h)
Expand Down
9 changes: 6 additions & 3 deletions applications/CHAC_performance_test/equations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down Expand Up @@ -111,7 +112,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}

// =============================================================================================
Expand All @@ -133,5 +135,6 @@ template <int dim, int degree>
void
customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}
3 changes: 2 additions & 1 deletion applications/CHAC_performance_test/postprocess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ customPDE<dim, degree>::postProcessedFields(
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down
19 changes: 11 additions & 8 deletions applications/CHiMaD_benchmarks/CHiMaD_benchmark1a/customPDE.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,26 @@ class customPDE : public MatrixFreePDE<dim, degree>
void
explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the RHS of the governing equations for all other equations
// (in equations.h)
void
nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set the LHS of the governing equations (in equations.h)
void
equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const override;
&variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;

// Function to set postprocessing expressions (in postprocess.h)
#ifdef POSTPROCESS_FILE_EXISTS
Expand All @@ -64,8 +67,8 @@ class customPDE : public MatrixFreePDE<dim, degree>
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc)
const override;
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const override;
#endif

// Function to set the nucleation probability (in nucleation.h)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::explicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down Expand Up @@ -89,7 +90,8 @@ template <int dim, int degree>
void
customPDE<dim, degree>::nonExplicitEquationRHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down Expand Up @@ -132,5 +134,6 @@ template <int dim, int degree>
void
customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ customPDE<dim, degree>::postProcessedFields(
&variable_list,
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>>
&pp_variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc) const
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{
// --- Getting the values and derivatives of the model variables ---

Expand Down
Loading

0 comments on commit b7d2517

Please sign in to comment.