https://mooseframework.inl.gov
PiecewiseTabularBase.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 #include "PiecewiseBase.h"
14 #include "LinearInterpolation.h"
15 
22 {
23 public:
25 
27 
29  void initialSetup() override;
30 
31 protected:
34 
35 private:
40 };
Function base which provides a piecewise approximation to a specified (x,y) point data set...
Definition: PiecewiseBase.h:20
PiecewiseTabularBase(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Function base which provides a piecewise approximation to a provided (x,y) point data set via input p...
static InputParameters validParams()
void buildFromFile(const libMesh::Parallel::Communicator &comm)
Reads data from supplied CSV file.
void initialSetup() override
Needed to load data from user objects that are not available at construction.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void buildFromXandY()
Builds data from 'x' and 'y' parameters.
const Real & _scale_factor
function value scale factor
void buildFromXY()
Builds data from 'xy_data' parameter.
void buildFromJSON(const JSONFileReader &json_uo)
Reads data from supplied JSON reader.