Example #1
0
// DEPRECATED CONSTRUCTOR
MultiAppTransfer::MultiAppTransfer(const std::string & deprecated_name, InputParameters parameters) :
    /**
     * Here we need to remove the special option that indicates to the user that this object will follow it's associated
     * Multiapp execute_on. This non-standard option is not understood by SetupInterface. In the absence of any execute_on
     * parameters, FEProblem will populate the execute_on MultiMooseEnum with the values from the associated MultiApp.
     */
    Transfer(deprecated_name, removeSpecialOption(parameters)),
    _multi_app(_fe_problem.getMultiApp(getParam<MultiAppName>("multi_app"))),
    _direction(getParam<MooseEnum>("direction"))
{
}
Example #2
0
MultiAppTransfer::MultiAppTransfer(const InputParameters & parameters) :
    /**
     * Here we need to remove the special option that indicates to the user that this object will follow it's associated
     * Multiapp execute_on. This non-standard option is not understood by SetupInterface. In the absence of any execute_on
     * parameters, will populate the execute_on MultiMooseEnum with the values from the associated MultiApp (see execFlags).
     */
    Transfer(removeSpecialOption(parameters)),
    _multi_app(_fe_problem.getMultiApp(getParam<MultiAppName>("multi_app"))),
    _direction(getParam<MooseEnum>("direction")),
    _displaced_source_mesh(false),
    _displaced_target_mesh(false)
{
  if (execFlags() != _multi_app->execFlags())
      mooseDoOnce(mooseWarning("MultiAppTransfer execute_on flags do not match associated Multiapp execute_on flags"));
}