diff --git a/src/fluid/fluid.hpp b/src/fluid/fluid.hpp index fa206f8e..702d1ab3 100644 --- a/src/fluid/fluid.hpp +++ b/src/fluid/fluid.hpp @@ -29,9 +29,19 @@ std::shared_ptr Initialize(ParameterInput *pin); TaskStatus PrimitiveToConserved(MeshBlockData *rc); TaskStatus PrimitiveToConservedRegion(MeshBlockData *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 TaskStatus ConservedToPrimitiveRegion(T *rc, const IndexRange &ib, const IndexRange &jb, const IndexRange &kb); +extern template TaskStatus +ConservedToPrimitiveRegion>(MeshData *rc, const IndexRange &ib, + const IndexRange &jb, const IndexRange &kb); +extern template TaskStatus ConservedToPrimitiveRegion>( + MeshBlockData *rc, const IndexRange &ib, const IndexRange &jb, + const IndexRange &kb); + template TaskStatus ConservedToPrimitive(T *rc); template