29 virtual void execute()
override;
unsigned int _comp
the component number of the variable for transferring
void meshChanged() override
Called on this object when the mesh changes.
This class provides an interface for common operations on field variables of both FE and FV types wit...
MultiAppVariableValueSamplePostprocessorTransfer(const InputParameters ¶meters)
virtual void initialSetup() override
Method called at the beginning of the simulation for checking integrity or doing one-time setup...
std::vector< processor_id_type > _postprocessor_to_processor_id
Entries in this vector correspond to the processor ID that owns the application/postprocessor corresp...
Samples a variable's value in the parent application domain at the point where the MultiApp (for each...
const bool _map_comp_to_child
Whether or not to map groups of child applications to each component of an array variable.
std::vector< unsigned int > _cached_multiapp_pos_ids
Sub-application ids of all local active elements in the main-application When _map_comp_to_child == t...
Interface for notifications that the mesh has changed.
std::unordered_set< unsigned int > _needed_postprocessors
The postprocessors that this process needs for its active local elements.
MooseVariableFieldBase & _var
the moose variable
virtual void execute() override
Execute the transfer.
PostprocessorName _postprocessor_name
the name of the postprocessor on the sub-applications
AuxVariableName _var_name
the name of the variable on the main-application
void setupPostprocessorCommunication()
Sets up the postprocessor to processor ID communication pattern data member _postprocessor_to_process...
unsigned int getVariableComponent(unsigned int index) const
Maps the child application index to the parent application variable component.
void cacheElemToPostprocessorData()
Method that caches data regarding the element to postprocess relationship.
static InputParameters validParams()
Base class for all MultiAppTransfer objects.
const InputParameters & parameters() const
Get the parameters of the object.
unsigned int _apps_per_component
The number of applications associated with a component of the variable when doing array variable samp...