57 PostprocessorName & from_postprocessor,
59 PostprocessorName & to_postprocessor);
63 PostprocessorName & from_postprocessor,
65 PostprocessorName & to_postprocessor);
bool _use_nearestpoint_pps
Whether to use a nearest point UserObject to obtain the conservation factor.
AuxVariableName _to_var_name
const std::vector< VariableName > _from_var_names
Name of variables transferring from.
void adjustTransferredSolutionNearestPoint(unsigned int i, FEProblemBase *from_problem, PostprocessorName &from_postprocessor, FEProblemBase &to_problem, PostprocessorName &to_postprocessor)
bool _allow_skipped_adjustment
Whether the adjustment may be skipped when the postprocessor values are 0 / of different signs...
virtual void postExecute()
Add some extra work if necessary after execute().
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
void adjustTransferredSolution(FEProblemBase *from_problem, PostprocessorName &from_postprocessor, FEProblemBase &to_problem, PostprocessorName &to_postprocessor)
virtual void initialSetup() override
Method called at the beginning of the simulation for checking integrity or doing one-time setup...
MultiAppConservativeTransfer(const InputParameters ¶meters)
Intermediary class that allows variable names as inputs.
Real PostprocessorValue
various MOOSE typedefs
const std::vector< AuxVariableName > _to_var_names
Name of variables transferring to.
Transfers variables on possibly different meshes while conserving a user defined property (Postproces...
bool performAdjustment(const PostprocessorValue &from, const PostprocessorValue &to) const
virtual std::vector< VariableName > getFromVarNames() const override
Virtual function defining variables to be transferred.
virtual std::vector< AuxVariableName > getToVarNames() const override
Virtual function defining variables to transfer to.
std::vector< PostprocessorName > _to_postprocessors_to_be_preserved
Postprocessor evaluates an adjuster for the target physics.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
std::vector< PostprocessorName > _from_postprocessors_to_be_preserved
Postprocessor evaluates an adjuster for the source physics.
VariableName _from_var_name
This values are used if a derived class only supports one variable.
bool _preserve_transfer
If this transfer is going to conserve the physics.