#include <PiecewiseTabularInterface.h>
Public Member Functions | |
| PiecewiseTabularInterface (const MooseObject &object, std::vector< Real > &data_x, std::vector< Real > &data_y) | |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Member Functions | |
| bool | isRawDataLoaded () const |
| Returns whether the raw data has been loaded already. More... | |
| void | buildFromFile (const libMesh::Parallel::Communicator &comm) |
| Reads data from supplied CSV file. More... | |
| void | buildFromJSON (const JSONFileReader &json_uo) |
| Reads data from supplied JSON reader. More... | |
| void | buildFromXandY () |
| Builds data from 'x' and 'y' parameters. More... | |
| void | buildFromXY () |
| Builds data from 'xy_data' parameter. More... | |
Protected Attributes | |
| unsigned int | _axis |
| if _has_axis is true point component to use as function argument, otherwise use t More... | |
| const bool | _has_axis |
Private Attributes | |
| const MooseObject & | _object |
| The object. More... | |
| const InputParameters & | _parameters |
| Parameters supplied to the object. More... | |
| bool | _raw_data_loaded = false |
| Boolean to keep track of whether the data has been loaded. More... | |
| std::vector< Real > & | _data_x |
| raw function data as read More... | |
| std::vector< Real > & | _data_y |
Definition at line 17 of file PiecewiseTabularInterface.h.
| PiecewiseTabularInterface::PiecewiseTabularInterface | ( | const MooseObject & | object, |
| std::vector< Real > & | data_x, | ||
| std::vector< Real > & | data_y | ||
| ) |
Definition at line 62 of file PiecewiseTabularInterface.C.
|
protected |
Reads data from supplied CSV file.
Definition at line 104 of file PiecewiseTabularInterface.C.
Referenced by PiecewiseTabularBase::PiecewiseTabularBase().
|
protected |
Reads data from supplied JSON reader.
Definition at line 197 of file PiecewiseTabularInterface.C.
Referenced by PiecewiseTabularBase::initialSetup().
|
protected |
Builds data from 'x' and 'y' parameters.
Definition at line 214 of file PiecewiseTabularInterface.C.
Referenced by PiecewiseTabularBase::PiecewiseTabularBase().
|
protected |
Builds data from 'xy_data' parameter.
Definition at line 222 of file PiecewiseTabularInterface.C.
Referenced by PiecewiseTabularBase::PiecewiseTabularBase().
|
inlineprotected |
Returns whether the raw data has been loaded already.
Definition at line 28 of file PiecewiseTabularInterface.h.
Referenced by CoarsenedPiecewiseLinear::CoarsenedPiecewiseLinear(), PiecewiseLinear::initialSetup(), CoarsenedPiecewiseLinear::initialSetup(), and PiecewiseLinear::PiecewiseLinear().
|
static |
Definition at line 17 of file PiecewiseTabularInterface.C.
Referenced by PiecewiseTabularBase::validParams().
|
protected |
if _has_axis is true point component to use as function argument, otherwise use t
Definition at line 43 of file PiecewiseTabularInterface.h.
Referenced by PiecewiseLinearBase::gradient(), PiecewiseTabularInterface(), KokkosPiecewiseConstant::value(), PiecewiseLinearBase::value(), and PiecewiseConstant::value().
|
private |
raw function data as read
Definition at line 58 of file PiecewiseTabularInterface.h.
Referenced by buildFromFile(), buildFromJSON(), buildFromXandY(), and buildFromXY().
|
private |
Definition at line 59 of file PiecewiseTabularInterface.h.
Referenced by buildFromFile(), buildFromJSON(), buildFromXandY(), and buildFromXY().
|
protected |
Definition at line 44 of file PiecewiseTabularInterface.h.
Referenced by PiecewiseLinearBase::gradient(), PiecewiseTabularInterface(), PiecewiseLinearBase::timeDerivative(), PiecewiseLinearBase::timeIntegral(), KokkosPiecewiseConstant::value(), PiecewiseLinearBase::value(), and PiecewiseConstant::value().
|
private |
The object.
Definition at line 49 of file PiecewiseTabularInterface.h.
Referenced by buildFromFile(), buildFromJSON(), buildFromXY(), and PiecewiseTabularInterface().
|
private |
Parameters supplied to the object.
Definition at line 52 of file PiecewiseTabularInterface.h.
Referenced by buildFromFile(), buildFromJSON(), buildFromXandY(), buildFromXY(), and PiecewiseTabularInterface().
|
private |
Boolean to keep track of whether the data has been loaded.
Definition at line 55 of file PiecewiseTabularInterface.h.
Referenced by buildFromFile(), buildFromJSON(), buildFromXandY(), buildFromXY(), and isRawDataLoaded().
1.8.14