Skip to content
Snippets Groups Projects
Commit bcc31eac authored by Christian Silbermann's avatar Christian Silbermann Committed by Dmitri Naumov
Browse files

reference_temperature removed from assembleWithJacobian

parent 9b7b1479
No related branches found
No related tags found
No related merge requests found
......@@ -200,11 +200,6 @@ public:
auto const& medium =
*_process_data.media_map->getMedium(_element.getID());
MaterialPropertyLib::VariableArray vars;
vars[static_cast<int>(MaterialPropertyLib::Variable::temperature)] =
medium
.property(
MaterialPropertyLib::PropertyType::reference_temperature)
.template value<double>(vars, pos, t, dt);
for (unsigned ip = 0; ip < n_integration_points; ip++)
{
......@@ -214,6 +209,13 @@ public:
_integration_method.getWeightedPoint(ip).getWeight() * sm.detJ *
sm.integralMeasure;
// get the local temperature and put it in the variable array for
// access in MPL
double T_int_pt = 0.0;
NumLib::shapeFunctionInterpolate(local_x, sm.N, T_int_pt);
vars[static_cast<int>(MaterialPropertyLib::Variable::temperature)] =
T_int_pt;
auto const k = MaterialPropertyLib::formEigenTensor<GlobalDim>(
medium
.property(
......
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