Skip to content

Commit

Permalink
Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
guilara committed Jun 27, 2024
1 parent 8a05b9a commit 6d8d061
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 226 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
spectre_target_sources(
${LIBRARY}
PRIVATE
Constant.cpp
GaussianPlusConstant.cpp
RegisterDerivedWithCharm.cpp
)
Expand All @@ -13,7 +12,6 @@ spectre_target_headers(
${LIBRARY}
INCLUDE_DIRECTORY ${CMAKE_SOURCE_DIR}/src
HEADERS
Constant.hpp
DampingFunction.hpp
GaussianPlusConstant.hpp
RegisterDerivedWithCharm.hpp
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class FunctionOfTime;
namespace gh::ConstraintDamping {
/// \cond
template <size_t VolumeDim, typename Fr>
class Constant;
template <size_t VolumeDim, typename Fr>
class GaussianPlusConstant;
/// \endcond

Expand All @@ -41,10 +39,8 @@ class DampingFunction : public PUP::able {
public:
using creatable_classes = tmpl::conditional_t<
(VolumeDim == 3 and std::is_same<Fr, Frame::Grid>::value),
tmpl::list<gh::ConstraintDamping::Constant<VolumeDim, Fr>,
gh::ConstraintDamping::GaussianPlusConstant<VolumeDim, Fr>>,
tmpl::list<gh::ConstraintDamping::GaussianPlusConstant<VolumeDim, Fr>,
gh::ConstraintDamping::Constant<VolumeDim, Fr>>>;
tmpl::list<gh::ConstraintDamping::GaussianPlusConstant<VolumeDim, Fr>>,
tmpl::list<gh::ConstraintDamping::GaussianPlusConstant<VolumeDim, Fr>>>;
constexpr static size_t volume_dim = VolumeDim;
using frame = Fr;

Expand Down Expand Up @@ -82,5 +78,4 @@ class DampingFunction : public PUP::able {
};
} // namespace gh::ConstraintDamping

#include "Evolution/Systems/GeneralizedHarmonic/ConstraintDamping/Constant.hpp"
#include "Evolution/Systems/GeneralizedHarmonic/ConstraintDamping/GaussianPlusConstant.hpp"

0 comments on commit 6d8d061

Please sign in to comment.