Skip to content

Commit

Permalink
refactor geo_
Browse files Browse the repository at this point in the history
  • Loading branch information
tarun-mitruka committed Jan 17, 2024
1 parent ae11d3f commit 0dc07b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ikarus/finiteelements/mechanics/kirchhoffloveshell.hh
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ namespace Ikarus {
DUNE_THROW(Dune::NotImplemented, "No results are implemented");
}

std::shared_ptr<const Geometry> geo_;
Dune::CachedLocalBasis<std::remove_cvref_t<LocalBasisType>> localBasis;
std::function<Eigen::Vector<double, worldDim>(const Dune::FieldVector<double, worldDim>&, const double&)>
volumeLoad;
Expand All @@ -205,7 +206,6 @@ namespace Ikarus {
double thickness_;
size_t numberOfNodes{0};
int order{};
std::shared_ptr<const Geometry> geo_;

protected:
/**
Expand Down
2 changes: 1 addition & 1 deletion ikarus/finiteelements/mechanics/linearelastic.hh
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ namespace Ikarus {
DUNE_THROW(Dune::NotImplemented, "The requested result type is NOT implemented.");
}

std::shared_ptr<const Geometry> geo_;
Dune::CachedLocalBasis<std::remove_cvref_t<LocalBasisType>> localBasis;
std::function<Eigen::Vector<double, worldDim>(const Dune::FieldVector<double, worldDim>&, const double&)>
volumeLoad;
Expand All @@ -228,7 +229,6 @@ namespace Ikarus {
double nu_;
size_t numberOfNodes{0};
int order{};
std::shared_ptr<const Geometry> geo_;

protected:
template <typename ScalarType>
Expand Down
2 changes: 1 addition & 1 deletion ikarus/finiteelements/mechanics/nonlinearelastic.hh
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ namespace Ikarus {
DUNE_THROW(Dune::NotImplemented, "The requested result type is NOT implemented.");
}

std::shared_ptr<const Geometry> geo_;
Dune::CachedLocalBasis<std::remove_cvref_t<LocalBasisType>> localBasis;
std::function<Eigen::Vector<double, worldDim>(const Dune::FieldVector<double, worldDim>&, const double&)>
volumeLoad;
Expand All @@ -268,7 +269,6 @@ namespace Ikarus {
Material mat;
size_t numberOfNodes{0};
int order{};
std::shared_ptr<const Geometry> geo_;

protected:
template <typename ScalarType>
Expand Down

0 comments on commit 0dc07b1

Please sign in to comment.