https://mooseframework.inl.gov
MultiAppPostprocessorInterpolationTransfer.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 // MOOSE includes
13 #include "MultiAppTransfer.h"
14 
21 {
22 public:
24 
26 
27  virtual void execute() override;
28 
29 protected:
31  PostprocessorName _postprocessor;
33  AuxVariableName _to_var_name;
34 
36  unsigned int _num_points;
43 
45  bool _nodal;
46 
47 private:
48  bool usesMooseAppCoordTransform() const override { return true; }
49 };
bool usesMooseAppCoordTransform() const override
Whether this transfer handles non-translation-based transformations, e.g.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Real _radius
Radius to consider for inverse interpolation.
Transfers from postprocessors in child apps of a MultiApp in different locations in parent app mesh...
AuxVariableName _to_var_name
Variable in the main application to fill with the interpolation of the postprocessors.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:33
Real _power
Exponent for power-law decrease of the interpolation coefficients.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for all MultiAppTransfer objects.
const InputParameters & parameters() const
Get the parameters of the object.
unsigned int _num_points
Number of points to consider for the interpolation.
PostprocessorName _postprocessor
Postprocessor in the child apps to transfer the data from.
MultiAppPostprocessorInterpolationTransfer(const InputParameters &parameters)
bool _nodal
Whether the target variable is nodal or elemental.