diff --git a/elements/src/include/ae108/elements/TimoshenkoBeamElement.h b/elements/src/include/ae108/elements/TimoshenkoBeamElement.h index 2c12a6a86d0f750ec4e1c3d67c3816efb7818cc1..3a1b7e1f0de270c5748f3257e522b795410454e0 100644 --- a/elements/src/include/ae108/elements/TimoshenkoBeamElement.h +++ b/elements/src/include/ae108/elements/TimoshenkoBeamElement.h @@ -42,8 +42,6 @@ template <class ValueType_> struct Properties<ValueType_, 3> { value_type area_moment_z; value_type area_moment_y; value_type polar_moment_x; - - value_type weight; }; template <class ValueType_> struct Properties<ValueType_, 2> { @@ -57,8 +55,6 @@ template <class ValueType_> struct Properties<ValueType_, 2> { value_type area; value_type area_moment_z; - - value_type weight; }; /** @@ -120,7 +116,7 @@ stiffness_matrix<double, 3>(const Properties<double, 3> &properties, }}; // clang-format on - return properties.weight * tensor::as_matrix_of_rows(&matrix); + return tensor::as_matrix_of_rows(&matrix); } // refer to Cook et. al (2002), "Concepts and applications of Finite Element @@ -157,7 +153,7 @@ stiffness_matrix<double, 2>(const Properties<double, 2> &properties, }}; // clang-format on - return properties.weight * tensor::as_matrix_of_rows(&matrix); + return tensor::as_matrix_of_rows(&matrix); } template <class ValueType_, std::size_t Dimension_> diff --git a/elements/test/TimoshenkoBeamElement_Test.cc b/elements/test/TimoshenkoBeamElement_Test.cc index 2a17d758b347e658a610180e5f7e8dc1063d8be9..c90c873e1b73af7ce9f83075cb7fdc221c566411 100644 --- a/elements/test/TimoshenkoBeamElement_Test.cc +++ b/elements/test/TimoshenkoBeamElement_Test.cc @@ -50,12 +50,12 @@ create_element_properties() noexcept { template <> inline typename timoshenko::Properties<double, 3> create_element_properties<double, 3>() noexcept { - return {1., 1., 1., 1., 1., 1., 1., 1., 1., 1.}; + return {1., 1., 1., 1., 1., 1., 1., 1.}; } template <> inline typename timoshenko::Properties<double, 2> create_element_properties<double, 2>() noexcept { - return {1., 1., 1., 1., 1., 1., 1.}; + return {1., 1., 1., 1., 1.}; } template <class Element_> struct ReferenceConfiguration {