www.mooseframework.org
Functions
MultiAppPostprocessorInterpolationTransfer.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< MultiAppPostprocessorInterpolationTransfer > ()
 

Function Documentation

Definition at line 30 of file MultiAppPostprocessorInterpolationTransfer.C.

31 {
33  params.addRequiredParam<AuxVariableName>(
34  "variable", "The auxiliary variable to store the transferred values in.");
35  params.addRequiredParam<PostprocessorName>("postprocessor", "The Postprocessor to interpolate.");
36  params.addParam<unsigned int>(
37  "num_points", 3, "The number of nearest points to use for interpolation.");
38  params.addParam<Real>(
39  "power", 2, "The polynomial power to use for calculation of the decay in the interpolation.");
40 
41  MooseEnum interp_type("inverse_distance radial_basis", "inverse_distance");
42 
43  params.addParam<MooseEnum>("interp_type", interp_type, "The algorithm to use for interpolation.");
44 
45  params.addParam<Real>("radius",
46  -1,
47  "Radius to use for radial_basis interpolation. If negative "
48  "then the radius is taken as the max distance between "
49  "points.");
50 
51  return params;
52 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
InputParameters validParams< MultiAppTransfer >()
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...