www.mooseframework.org
Classes | Functions
CoarsenedPiecewiseLinear.h File Reference

Go to the source code of this file.

Classes

class  CoarsenedPiecewiseLinear
 Function class that reads in a list of (x,y) value pairs representing a pointwise defined function sililar to PiecewiseLinear. More...
 

Functions

template<>
InputParameters validParams< CoarsenedPiecewiseLinear > ()
 

Function Documentation

◆ validParams< CoarsenedPiecewiseLinear >()

Definition at line 18 of file CoarsenedPiecewiseLinear.C.

19 {
21  params.addClassDescription("Perform a point reduction of the tabulated data upon initialization, "
22  "then evaluate using a linear interpolation.");
23  params.addRequiredParam<Real>(
24  "epsilon",
25  "Significant distance in the function below which points are considered removable noise");
26  params.addParam<Real>("y_scale",
27  1.0,
28  "Scaling factor to apply to the function nodes for the purpose of "
29  "computing distances in the Douglas-Peucker point reduction algorithm. "
30  "This permits shifting the weight between x and y-direction distances.");
31  params.addParam<Real>("x_scale",
32  1.0,
33  "Scaling factor to apply to the function nodes for the purpose of "
34  "computing distances in the Douglas-Peucker point reduction algorithm. "
35  "This permits shifting the weight between x and y-direction distances.");
36  return params;
37 }
InputParameters::addParam
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.
Definition: InputParameters.h:1198
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
validParams< PiecewiseLinearBase >
InputParameters validParams< PiecewiseLinearBase >()
Definition: PiecewiseLinearBase.C:14
InputParameters::addClassDescription
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
Definition: InputParameters.C:70
InputParameters::addRequiredParam
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...
Definition: InputParameters.h:1176