diff --git a/dune/tectonic/globallaursennonlinearity.hh b/dune/tectonic/globallaursennonlinearity.hh index 6d9d1ddcc023d59b561940acc1fa39f2a1c477fc..66a601b0ddff0e4764669fa9d3969f97f3a95156 100644 --- a/dune/tectonic/globallaursennonlinearity.hh +++ b/dune/tectonic/globallaursennonlinearity.hh @@ -13,11 +13,11 @@ namespace Dune { template <int dim, class OuterFunctionType> -class GlobalLaursenNonlinearity : public Dune::GlobalNonlinearity<dim> { +class GlobalLaursenNonlinearity : public GlobalNonlinearity<dim> { public: GlobalLaursenNonlinearity( std::vector<double> const &mu, std::vector<double> const &normalStress, - std::vector<Dune::FieldVector<double, 1>> const &nodalIntegrals) + std::vector<FieldVector<double, 1>> const &nodalIntegrals) : mu(mu), normalStress(normalStress), nodalIntegrals(nodalIntegrals) {} /* @@ -50,7 +50,7 @@ class GlobalLaursenNonlinearity : public Dune::GlobalNonlinearity<dim> { // results std::vector<double> mu; std::vector<double> normalStress; - std::vector<Dune::FieldVector<double, 1>> nodalIntegrals; + std::vector<FieldVector<double, 1>> nodalIntegrals; }; } #endif diff --git a/dune/tectonic/globalruinanonlinearity.hh b/dune/tectonic/globalruinanonlinearity.hh index 249be621e63271a939615082aff8cd55f7ea23a9..fa13f422b018741ab72538b4e44eba5fe1ec0f2c 100644 --- a/dune/tectonic/globalruinanonlinearity.hh +++ b/dune/tectonic/globalruinanonlinearity.hh @@ -12,10 +12,10 @@ namespace Dune { template <int dim> -class GlobalRuinaNonlinearity : public Dune::GlobalNonlinearity<dim> { +class GlobalRuinaNonlinearity : public GlobalNonlinearity<dim> { public: GlobalRuinaNonlinearity( - std::vector<Dune::FieldVector<double, 1>> const &nodalIntegrals, + std::vector<FieldVector<double, 1>> const &nodalIntegrals, std::vector<double> const &a, std::vector<double> const &mu, std::vector<double> const &eta, std::vector<double> const &normalStress) : nodalIntegrals(nodalIntegrals), @@ -33,7 +33,7 @@ class GlobalRuinaNonlinearity : public Dune::GlobalNonlinearity<dim> { if (nodalIntegrals[i][0] == 0) return trivialNonlinearity; - shared_ptr<NiceFunction const> const func(new Dune::RuinaFunction( + shared_ptr<NiceFunction const> const func(new RuinaFunction( nodalIntegrals[i][0], a[i], mu[i], eta[i], normalStress[i])); return shared_ptr<LocalNonlinearity<dim>>(new LocalNonlinearity<dim>(func)); } @@ -41,7 +41,7 @@ class GlobalRuinaNonlinearity : public Dune::GlobalNonlinearity<dim> { private: shared_ptr<LocalNonlinearity<dim> const> const trivialNonlinearity; - std::vector<Dune::FieldVector<double, 1>> nodalIntegrals; + std::vector<FieldVector<double, 1>> nodalIntegrals; std::vector<double> a; std::vector<double> mu; std::vector<double> eta; diff --git a/dune/tectonic/localnonlinearity.hh b/dune/tectonic/localnonlinearity.hh index 0d5b5b78c5d45745f81f4b33254b2b13b6924ba6..2e14e1c2a1f1dc9750a8749836b87fd2858dae8e 100644 --- a/dune/tectonic/localnonlinearity.hh +++ b/dune/tectonic/localnonlinearity.hh @@ -18,7 +18,7 @@ template <int dimension> class LocalNonlinearity { typedef FieldVector<double, dimension> VectorType; typedef FieldMatrix<double, dimension, dimension> MatrixType; - LocalNonlinearity(Dune::shared_ptr<NiceFunction const> func) : func_(func) {} + LocalNonlinearity(shared_ptr<NiceFunction const> func) : func_(func) {} double operator()(VectorType const x) const { double ret; @@ -63,7 +63,7 @@ template <int dimension> class LocalNonlinearity { } private: - Dune::shared_ptr<NiceFunction const> const func_; + shared_ptr<NiceFunction const> const func_; }; } #endif diff --git a/dune/tectonic/samplefunctional.hh b/dune/tectonic/samplefunctional.hh index d042d9e7edaffa673707932d52b68689946671f6..2a6206f17b3013619fb393594856e0158483e345 100644 --- a/dune/tectonic/samplefunctional.hh +++ b/dune/tectonic/samplefunctional.hh @@ -218,7 +218,7 @@ void minimise(Functional const J, typename Functional::SmallVector &x, Bisection slowBisection(bisection); slowBisection.setFastQuadratic(false); - typedef Dune::CurvedFunction<LocalNonlinearityType> MyCurvedFunctionType; + typedef CurvedFunction<LocalNonlinearityType> MyCurvedFunctionType; MyCurvedFunctionType JRest(J.A, J.b, phi, x, descDir); int count;