Skip to content

Commit

Permalink
Set variable dependency using MooseVariableFIeld, adresses idaholab#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
GiudGiud committed Nov 6, 2020
1 parent 56c8c77 commit dce7b1a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Expand Up @@ -33,7 +33,7 @@ ElementIntegralArrayVariablePostprocessor::ElementIntegralArrayVariablePostproce
_grad_u(coupledArrayGradient("variable")),
_component(getParam<unsigned int>("component"))
{
addMooseVariableDependency(mooseVariable());
addMooseVariableDependency(&mooseVariableField());
}

Real
Expand Down
Expand Up @@ -36,7 +36,7 @@ ElementVariablePostprocessor::ElementVariablePostprocessor(const InputParameters
_grad_u(coupledGradient("variable")),
_qp(0)
{
addMooseVariableDependency(mooseVariable());
addMooseVariableDependency(&mooseVariableField());
}

void
Expand Down
Expand Up @@ -48,7 +48,7 @@ InterfaceIntegralVariableValuePostprocessor::InterfaceIntegralVariableValuePostp
: coupledNeighborGradient("variable")),
_interface_value_type(parameters.get<MooseEnum>("interface_value_type"))
{
addMooseVariableDependency(mooseVariable());
addMooseVariableDependency(&mooseVariableField());
}

Real
Expand Down
Expand Up @@ -34,7 +34,7 @@ SideIntegralVariablePostprocessor::SideIntegralVariablePostprocessor(
_u(coupledValue("variable")),
_grad_u(coupledGradient("variable"))
{
addMooseVariableDependency(mooseVariable());
addMooseVariableDependency(&mooseVariableField());
}

Real
Expand Down
Expand Up @@ -33,7 +33,7 @@ ElementIntegralVariableUserObject::ElementIntegralVariableUserObject(
_u(coupledValue("variable")),
_grad_u(coupledGradient("variable"))
{
addMooseVariableDependency(mooseVariable());
addMooseVariableDependency(&mooseVariableField());
}

Real
Expand Down
2 changes: 1 addition & 1 deletion framework/src/userobject/SideIntegralVariableUserObject.C
Expand Up @@ -30,7 +30,7 @@ SideIntegralVariableUserObject::SideIntegralVariableUserObject(const InputParame
_u(coupledValue("variable")),
_grad_u(coupledGradient("variable"))
{
addMooseVariableDependency(mooseVariable());
addMooseVariableDependency(&mooseVariableField());
}

Real
Expand Down
2 changes: 1 addition & 1 deletion framework/src/vectorpostprocessors/PointSamplerBase.C
Expand Up @@ -44,7 +44,7 @@ PointSamplerBase::PointSamplerBase(const InputParameters & parameters)
_mesh(_subproblem.mesh()),
_pp_value(getPostprocessorValue("scaling"))
{
addMooseVariableDependency(mooseVariable());
addMooseVariableDependency(&mooseVariableField());

std::vector<std::string> var_names(_coupled_moose_vars.size());

Expand Down

0 comments on commit dce7b1a

Please sign in to comment.