#include <tutorials/vec-0/src/ElasticSpring.hpp>
Definition at line 18 of file ElasticSpring.hpp.
◆ GetSpringStiffness()
◆ getStiffness()
Definition at line 21 of file ElasticSpring.hpp.
27 auto cubit_meshset_ptr =
28 m_field.
getInterface<MeshsetsManager>()->getCubitMeshsetPtr(ms_id,
30 std::vector<double> block_data;
31 CHKERR cubit_meshset_ptr->getAttributes(block_data);
32 if (block_data.size() != 2) {
34 "Expected that block has two attribute");
36 normal_stiffness = block_data[0];
37 tangent_stiffness = block_data[1];
41 <<
"Normal stiffness " << normal_stiffness;
43 <<
"Tangent stiffness " << tangent_stiffness;
45 ents = boost::make_shared<Range>();
47 m_field.
get_moab().get_entities_by_handle(cubit_meshset_ptr->meshset,
The documentation for this struct was generated from the following file: