Skip to content

Commit

Permalink
Move Minmod_detail into SlopeLimiters namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fmahebert authored and prayush committed May 15, 2019
1 parent 93a8e91 commit 3d049d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Evolution/DiscontinuousGalerkin/SlopeLimiters/Minmod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "Utilities/GenerateInstantiations.hpp"
#include "Utilities/MakeArray.hpp"

namespace SlopeLimiters {
namespace Minmod_detail {

MinmodResult minmod_tvbm(const double a, const double b, const double c,
Expand Down Expand Up @@ -303,3 +304,4 @@ GENERATE_INSTANTIATIONS(INSTANTIATE, (1, 2, 3))
#undef DIM
#undef INSTANTIATE
} // namespace Minmod_detail
} // namespace SlopeLimiters
3 changes: 2 additions & 1 deletion src/Evolution/DiscontinuousGalerkin/SlopeLimiters/Minmod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ struct SizeOfElement;
} // namespace Tags
/// \endcond

namespace SlopeLimiters {

namespace Minmod_detail {
// Encodes the return status of the minmod_tvbm function.
struct MinmodResult {
Expand Down Expand Up @@ -110,7 +112,6 @@ bool limit_one_tensor(
VolumeDim>& volume_and_slice_indices) noexcept;
} // namespace Minmod_detail

namespace SlopeLimiters {
/// \ingroup SlopeLimitersGroup
/// \brief A general minmod slope limiter
///
Expand Down

0 comments on commit 3d049d2

Please sign in to comment.