www.mooseframework.org
MultiAppPostprocessorToAuxScalarTransfer.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // MOOSE includes
13 #include "MultiAppTransfer.h"
14 
19 {
20 public:
22 
24 
26  virtual void execute() override;
27 
28 protected:
30  PostprocessorName _from_pp_name;
31 
33  VariableName _to_aux_name;
34 
35 private:
36  virtual void checkSiblingsTransferSupported() const override;
37 };
virtual void execute() override
Execute the transfer.
VariableName _to_aux_name
The name of the field variable to which the postprocessor is being transferred.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
PostprocessorName _from_pp_name
The name of the postprocessor that the transfer originates.
MultiAppPostprocessorToAuxScalarTransfer(const InputParameters &parameters)
Copies the value of a Postprocessor from one app to a scalar AuxVariable in another.
Base class for all MultiAppTransfer objects.
const InputParameters & parameters() const
Get the parameters of the object.
virtual void checkSiblingsTransferSupported() const override
Whether the transfer supports siblings transfer.