diff --git a/dune/gfe/rodlocalstiffness.hh b/dune/gfe/rodlocalstiffness.hh index cc43e0e000cd55d4ad28f9cc5c6c4de1331c2e73..a7951eb179c2bbf9c83e28da52ba1c8f276c405b 100644 --- a/dune/gfe/rodlocalstiffness.hh +++ b/dune/gfe/rodlocalstiffness.hh @@ -63,13 +63,10 @@ public: //! Constructor RodLocalStiffness (const GridView& gridView, const std::array<double,3>& K, const std::array<double,3>& A) - : gridView_(gridView) - { - for (int i=0; i<3; i++) { - K_[i] = K[i]; - A_[i] = A[i]; - } - } + : K_(K), + A_(A), + gridView_(gridView) + {} /** \brief Constructor setting shape constants and material parameters \param A The rod section area