Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Bash script for inserting copyright headers into working files. #427

Merged
merged 7 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropy/ICs_and_BCs.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -73,4 +76,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropy/customPDE.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

#include <core/matrixFreePDE.h>

using namespace dealii;
Expand Down Expand Up @@ -91,4 +94,4 @@ class customPDE : public MatrixFreePDE<dim, degree>
double epsilonM = userInputs.get_model_constant_double("epsilonM");

// ================================================================
};
};
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropy/equations.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the primary field variables
// =================================================================================
Expand Down Expand Up @@ -176,4 +179,4 @@ customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}
{}
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropy/postprocess.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =============================================================================================
// loadPostProcessorVariableAttributes: Set the attributes of the postprocessing
// variables
Expand Down Expand Up @@ -89,4 +92,4 @@ customPDE<dim, degree>::postProcessedFields(

// --- Submitting the terms for the postprocessing expressions ---
pp_variable_list.set_scalar_value_term_RHS(0, f_tot);
}
}
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropyRegularized/ICs_and_BCs.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -77,4 +80,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropyRegularized/customPDE.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

#include <core/matrixFreePDE.h>

using namespace dealii;
Expand Down Expand Up @@ -92,4 +95,4 @@ class customPDE : public MatrixFreePDE<dim, degree>
double delta2 = userInputs.get_model_constant_double("delta2");

// ================================================================
};
};
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropyRegularized/equations.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the primary field variables
// =================================================================================
Expand Down Expand Up @@ -198,4 +201,4 @@ customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}
{}
5 changes: 4 additions & 1 deletion applications/CHAC_anisotropyRegularized/postprocess.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =============================================================================================
// loadPostProcessorVariableAttributes: Set the attributes of the postprocessing
// variables
Expand Down Expand Up @@ -99,4 +102,4 @@ customPDE<dim, degree>::postProcessedFields(
// --- Submitting the terms for the postprocessing expressions ---

pp_variable_list.set_scalar_value_term_RHS(0, f_tot);
}
}
5 changes: 4 additions & 1 deletion applications/CHAC_performance_test/ICs_and_BCs.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -88,4 +91,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
5 changes: 4 additions & 1 deletion applications/CHAC_performance_test/customPDE.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

#include <core/matrixFreePDE.h>

using namespace dealii;
Expand Down Expand Up @@ -100,4 +103,4 @@ class customPDE : public MatrixFreePDE<dim, degree>
userInputs.get_model_constant_double("matrix_concentration");

// ================================================================
};
};
5 changes: 4 additions & 1 deletion applications/CHAC_performance_test/equations.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the primary field variables
// =================================================================================
Expand Down Expand Up @@ -137,4 +140,4 @@ customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[maybe_unused]] const Point<dim, VectorizedArray<double>> q_point_loc,
[[maybe_unused]] const VectorizedArray<double> element_volume) const
{}
{}
5 changes: 4 additions & 1 deletion applications/CHAC_performance_test/postprocess.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the postprocessing variables
// =================================================================================
Expand Down Expand Up @@ -75,4 +78,4 @@ customPDE<dim, degree>::postProcessedFields(
// --- Submitting the terms for the postprocessing expressions ---

pp_variable_list.set_scalar_value_term_RHS(0, f_tot);
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -66,4 +69,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

#include <core/matrixFreePDE.h>

using namespace dealii;
Expand Down Expand Up @@ -93,4 +96,4 @@ class customPDE : public MatrixFreePDE<dim, degree>
scalarvalueType M = constV(5.0);

// ================================================================
};
};
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the primary field variables
// =================================================================================
Expand Down Expand Up @@ -136,4 +139,4 @@ customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[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
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =============================================================================================
// loadPostProcessorVariableAttributes: Set the attributes of the postprocessing
// variables
Expand Down Expand Up @@ -74,4 +77,4 @@ customPDE<dim, degree>::postProcessedFields(

// --- Submitting the terms for the postprocessing expressions ---
pp_variable_list.set_scalar_value_term_RHS(0, f_tot);
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -66,4 +69,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

#include <core/matrixFreePDE.h>

using namespace dealii;
Expand Down Expand Up @@ -93,4 +96,4 @@ class customPDE : public MatrixFreePDE<dim, degree>
scalarvalueType M = constV(5.0);

// ================================================================
};
};
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the primary field variables
// =================================================================================
Expand Down Expand Up @@ -136,4 +139,4 @@ customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[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
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =============================================================================================
// loadPostProcessorVariableAttributes: Set the attributes of the postprocessing
// variables
Expand Down Expand Up @@ -74,4 +77,4 @@ customPDE<dim, degree>::postProcessedFields(

// --- Submitting the terms for the postprocessing expressions ---
pp_variable_list.set_scalar_value_term_RHS(0, f_tot);
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -66,4 +69,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
3 changes: 3 additions & 0 deletions applications/CHiMaD_benchmarks/CHiMaD_benchmark1c/customPDE.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

#include <core/matrixFreePDE.h>

using namespace dealii;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the primary field variables
// =================================================================================
Expand Down Expand Up @@ -136,4 +139,4 @@ customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[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
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =============================================================================================
// loadPostProcessorVariableAttributes: Set the attributes of the postprocessing
// variables
Expand Down Expand Up @@ -74,4 +77,4 @@ customPDE<dim, degree>::postProcessedFields(

// --- Submitting the terms for the postprocessing expressions ---
pp_variable_list.set_scalar_value_term_RHS(0, f_tot);
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -102,4 +105,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

#include <core/matrixFreePDE.h>

using namespace dealii;
Expand Down Expand Up @@ -94,4 +97,4 @@ class customPDE : public MatrixFreePDE<dim, degree>
double alpha = userInputs.get_model_constant_double("alpha");

// ================================================================
};
};
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =================================================================================
// Set the attributes of the primary field variables
// =================================================================================
Expand Down Expand Up @@ -242,4 +245,4 @@ customPDE<dim, degree>::equationLHS(
[[maybe_unused]] variableContainer<dim, degree, VectorizedArray<double>> &variable_list,
[[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
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// =============================================================================================
// loadPostProcessorVariableAttributes: Set the attributes of the postprocessing
// variables
Expand Down Expand Up @@ -105,4 +108,4 @@ customPDE<dim, degree>::postProcessedFields(
// --- Submitting the terms for the postprocessing expressions ---

pp_variable_list.set_scalar_value_term_RHS(0, f_tot);
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
// SPDX-License-Identifier: GNU Lesser General Public Version 2.1

// ===========================================================================
// FUNCTION FOR INITIAL CONDITIONS
// ===========================================================================
Expand Down Expand Up @@ -80,4 +83,4 @@ customPDE<dim, degree>::setNonUniformDirichletBCs(
// (i.e. left = 0, right = 1, bottom = 2, top = 3, front = 4, back = 5).

// -------------------------------------------------------------------------
}
}
Loading