Commit dfdc9c5d authored by April Novak's avatar April Novak
Browse files

replaced deprecated FEProblem by FEProblemBase

parent 06a6c9cc
......@@ -41,7 +41,7 @@ MultiAppPolynomialToNek::execute()
// MasterApp -> SubApp
case TO_MULTIAPP:
{
FEProblem & from_problem = _multi_app->problem();
FEProblemBase & from_problem = _multi_app->problemBase();
std::vector<MooseVariableScalar *> source_variables(_source_variable_names.size());
for (auto i = beginIndex(_source_variable_names); i < _source_variable_names.size(); ++i)
......@@ -83,7 +83,7 @@ MultiAppPolynomialToNek::execute()
std::vector<MooseVariableScalar *> to_variables(_to_aux_names.size());
for (auto i = beginIndex(_to_aux_names); i < _to_aux_names.size(); ++i)
{
to_variables[i] = &_multi_app->problem().getScalarVariable(_tid, _to_aux_names[i]);
to_variables[i] = &_multi_app->problemBase().getScalarVariable(_tid, _to_aux_names[i]);
to_variables[i]->reinit();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment