Skip to content
Snippets Groups Projects
Commit 533c054d authored by Simon Emmert's avatar Simon Emmert Committed by Bernd Flemisch
Browse files

deprecate FVGridGeometry property and use GridGeometry

parent b2b35072
No related branches found
No related tags found
2 merge requests!1700remove fvgridgeometry deprecation warnings,!1647Feature/generalize fvgridgeometry
...@@ -96,7 +96,7 @@ public: ...@@ -96,7 +96,7 @@ public:
*/ */
[[deprecated("Please use constructor taking the previous solution instead. Will be removed after release 3.2!")]] [[deprecated("Please use constructor taking the previous solution instead. Will be removed after release 3.2!")]]
FVAssembler(std::shared_ptr<const Problem> problem, FVAssembler(std::shared_ptr<const Problem> problem,
std::shared_ptr<const FVGridGeometry> fvGridGeometry, std::shared_ptr<const GridGeometry> gridGeometry,
std::shared_ptr<GridVariables> gridVariables, std::shared_ptr<GridVariables> gridVariables,
std::shared_ptr<const TimeLoop> timeLoop) std::shared_ptr<const TimeLoop> timeLoop)
: problem_(problem) : problem_(problem)
......
...@@ -127,6 +127,9 @@ template<class TypeTag, class MyTypeTag> ...@@ -127,6 +127,9 @@ template<class TypeTag, class MyTypeTag>
struct GridGeometry { using type = GetPropType<TypeTag, Properties::FVGridGeometry>; }; //!< The type of the global finite volume geometry struct GridGeometry { using type = GetPropType<TypeTag, Properties::FVGridGeometry>; }; //!< The type of the global finite volume geometry
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
template<class TypeTag, class MyTypeTag>
struct GridGeometry { using type = GetPropType<TypeTag, Properties::FVGridGeometry>; }; //!< The type of the global finite volume geometry
template<class TypeTag, class MyTypeTag> template<class TypeTag, class MyTypeTag>
struct EnableFVGridGeometryCache { using type = UndefinedProperty; }; //!< specifies if geometric data is saved (faster, but more memory consuming) struct EnableFVGridGeometryCache { using type = UndefinedProperty; }; //!< specifies if geometric data is saved (faster, but more memory consuming)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment