https://mooseframework.inl.gov
MultiAppPostprocessorTransfer.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 #include "MultiAppTransfer.h"
13 
21 {
22 public:
24 
26 
27  virtual void execute() override;
28 
29  enum
30  {
32  SUM,
35  };
36 
37 protected:
39  virtual void checkSiblingsTransferSupported() const override;
40 
42  PostprocessorName _from_pp_name;
43 
45  PostprocessorName _to_pp_name;
46 
49 };
virtual void checkSiblingsTransferSupported() const override
Siblings transfers only supported for a single origin app.
PostprocessorName _from_pp_name
Name of the postprocessor to transfer data from.
MultiAppPostprocessorTransfer(const InputParameters &parameters)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:33
Base class for all MultiAppTransfer objects.
MooseEnum _reduction_type
Reduction operation to perform when transferring from multiple child apps to the parent app...
PostprocessorName _to_pp_name
Name of the postprocessor to transfer data to.
const InputParameters & parameters() const
Get the parameters of the object.
Copies the value of a Postprocessor either:
virtual void execute() override
Execute the transfer.