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