Skip to content
Snippets Groups Projects
Commit cd644b6d authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[PL] refactored internal variables

parent 8195be99
No related branches found
No related tags found
No related merge requests found
...@@ -134,12 +134,13 @@ void SmallDeformationProcess<DisplacementDim>::initializeConcreteProcess( ...@@ -134,12 +134,13 @@ void SmallDeformationProcess<DisplacementDim>::initializeConcreteProcess(
&LocalAssemblerInterface::getIntPtEpsilonXZ)); &LocalAssemblerInterface::getIntPtEpsilonXZ));
} }
auto const int_vars = _process_data.material->getInternalVariables(); auto const internal_variables =
INFO("SmallDef has %lu internal vars.", int_vars.size()); _process_data.material->getInternalVariables();
for (auto const& name_fct : int_vars) INFO("SmallDef has %lu internal vars.", internal_variables.size());
for (auto const& internal_variable : internal_variables)
{ {
auto const& name = name_fct.first; auto const& name = internal_variable.name;
auto const& fct = name_fct.second; auto const& fct = internal_variable.getter;
INFO("internal var %s.", name.c_str()); INFO("internal var %s.", name.c_str());
auto getIntPtValues = BaseLib::easyBind( auto getIntPtValues = BaseLib::easyBind(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment