From 0dc07b16f4422ed6af37463eaa17b80675fc250b Mon Sep 17 00:00:00 2001 From: Tarun Mitruka Date: Wed, 17 Jan 2024 12:36:47 +0100 Subject: [PATCH] refactor geo_ --- ikarus/finiteelements/mechanics/kirchhoffloveshell.hh | 2 +- ikarus/finiteelements/mechanics/linearelastic.hh | 2 +- ikarus/finiteelements/mechanics/nonlinearelastic.hh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ikarus/finiteelements/mechanics/kirchhoffloveshell.hh b/ikarus/finiteelements/mechanics/kirchhoffloveshell.hh index 7aa9572bc..613bd1122 100644 --- a/ikarus/finiteelements/mechanics/kirchhoffloveshell.hh +++ b/ikarus/finiteelements/mechanics/kirchhoffloveshell.hh @@ -193,6 +193,7 @@ namespace Ikarus { DUNE_THROW(Dune::NotImplemented, "No results are implemented"); } + std::shared_ptr geo_; Dune::CachedLocalBasis> localBasis; std::function(const Dune::FieldVector&, const double&)> volumeLoad; @@ -205,7 +206,6 @@ namespace Ikarus { double thickness_; size_t numberOfNodes{0}; int order{}; - std::shared_ptr geo_; protected: /** diff --git a/ikarus/finiteelements/mechanics/linearelastic.hh b/ikarus/finiteelements/mechanics/linearelastic.hh index d79f47b7c..865773c66 100644 --- a/ikarus/finiteelements/mechanics/linearelastic.hh +++ b/ikarus/finiteelements/mechanics/linearelastic.hh @@ -218,6 +218,7 @@ namespace Ikarus { DUNE_THROW(Dune::NotImplemented, "The requested result type is NOT implemented."); } + std::shared_ptr geo_; Dune::CachedLocalBasis> localBasis; std::function(const Dune::FieldVector&, const double&)> volumeLoad; @@ -228,7 +229,6 @@ namespace Ikarus { double nu_; size_t numberOfNodes{0}; int order{}; - std::shared_ptr geo_; protected: template diff --git a/ikarus/finiteelements/mechanics/nonlinearelastic.hh b/ikarus/finiteelements/mechanics/nonlinearelastic.hh index 4b00c61de..d5a90b5ac 100644 --- a/ikarus/finiteelements/mechanics/nonlinearelastic.hh +++ b/ikarus/finiteelements/mechanics/nonlinearelastic.hh @@ -259,6 +259,7 @@ namespace Ikarus { DUNE_THROW(Dune::NotImplemented, "The requested result type is NOT implemented."); } + std::shared_ptr geo_; Dune::CachedLocalBasis> localBasis; std::function(const Dune::FieldVector&, const double&)> volumeLoad; @@ -268,7 +269,6 @@ namespace Ikarus { Material mat; size_t numberOfNodes{0}; int order{}; - std::shared_ptr geo_; protected: template