39 virtual void execute()
override;
73 std::vector<VectorPostprocessorValue *>
_coeffs;
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
VectorPostprocessorName _vpp_name
The name of the VectorPostprocessor on which to perform the fit.
LeastSquaresFitHistory(const InputParameters ¶meters)
Class constructor.
std::vector< VectorPostprocessorValue * > _coeffs
Vector of vectors with the individual coefficients.
const VectorPostprocessorValue & _x_values
The variables with the x, y data to be fit.
const Real _x_scale
Values used to scale and or shift x and y data.
const VectorPostprocessorValue & _y_values
const bool _truncate_order
Whether to truncate the polynomial order if an insufficient number of points is provided.
const std::string _x_name
The name of the variables storing the x, y data.
virtual void execute() override
Perform the least squares fit.
std::vector< Real > VectorPostprocessorValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
LeastSquaresFitHistory is a VectorPostprocessor that performs a least squares fit on data calculated ...
const unsigned int _order
The order of the polynomial fit to be performed.
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
const std::string _y_name
VectorPostprocessorValue * _times
Vector of times.
virtual void initialize() override
Initialize, clears old results.