Skip to content

Commit

Permalink
merge main fluid.hpp ....
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroBarker committed Mar 20, 2024
1 parent e445b09 commit e6d5b4a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/fluid/fluid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,19 @@ std::shared_ptr<StateDescriptor> Initialize(ParameterInput *pin);
TaskStatus PrimitiveToConserved(MeshBlockData<Real> *rc);
TaskStatus PrimitiveToConservedRegion(MeshBlockData<Real> *rc, const IndexRange &ib,
const IndexRange &jb, const IndexRange &kb);
// JMM: Not sure how the templated value here worked in the first
// place. But proper solution is need to tell the linker it's
// available elsewhere.
template <typename T>
TaskStatus ConservedToPrimitiveRegion(T *rc, const IndexRange &ib, const IndexRange &jb,
const IndexRange &kb);
extern template TaskStatus
ConservedToPrimitiveRegion<MeshData<Real>>(MeshData<Real> *rc, const IndexRange &ib,
const IndexRange &jb, const IndexRange &kb);
extern template TaskStatus ConservedToPrimitiveRegion<MeshBlockData<Real>>(
MeshBlockData<Real> *rc, const IndexRange &ib, const IndexRange &jb,
const IndexRange &kb);

template <typename T>
TaskStatus ConservedToPrimitive(T *rc);
template <typename T>
Expand Down

0 comments on commit e6d5b4a

Please sign in to comment.