InputParameters validParams<MultiAppInterpolationTransfer>() { InputParameters params = validParams<MultiAppTransfer>(); params.addClassDescription( "Transfers the value to the target domain from the nearest node in the source domain."); params.addRequiredParam<AuxVariableName>( "variable", "The auxiliary variable to store the transferred values in."); params.addRequiredParam<VariableName>("source_variable", "The variable to transfer from."); params.addParam<bool>("displaced_source_mesh", false, "Whether or not to use the displaced mesh for the source mesh."); params.addParam<bool>("displaced_target_mesh", false, "Whether or not to use the displaced mesh for the target mesh."); params.addParam<unsigned int>( "num_points", 3, "The number of nearest points to use for interpolation."); params.addParam<Real>( "power", 2, "The polynomial power to use for calculation of the decay in the interpolation."); MooseEnum interp_type("inverse_distance radial_basis", "inverse_distance"); params.addParam<MooseEnum>("interp_type", interp_type, "The algorithm to use for interpolation."); params.addParam<Real>("radius", -1, "Radius to use for radial_basis interpolation. If negative " "then the radius is taken as the max distance between " "points."); return params; }
InputParameters validParams<MultiAppPostprocessorInterpolationTransfer>() { InputParameters params = validParams<MultiAppTransfer>(); params.addRequiredParam<AuxVariableName>("variable", "The auxiliary variable to store the transferred values in."); params.addRequiredParam<PostprocessorName>("postprocessor", "The Postprocessor to interpolate."); params.addParam<unsigned int>("num_points", 3, "The number of nearest points to use for interpolation."); params.addParam<Real>("power", 2, "The polynomial power to use for calculation of the decay in the interpolation."); MooseEnum interp_type("inverse_distance, radial_basis", "inverse_distance"); params.addParam<MooseEnum>("interp_type", interp_type, "The algorithm to use for interpolation."); params.addParam<Real>("radius", -1, "Radius to use for radial_basis interpolation. If negative then the radius is taken as the max distance between points."); return params; }