https://mooseframework.inl.gov
KokkosPiecewiseTabularBase.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 "KokkosPiecewiseBase.h"
13 
15 
22 {
23 public:
25 
27 
29  void initialSetup() override;
30 
31 protected:
34 
35 private:
40 
41  std::vector<Real> _data_x;
42  std::vector<Real> _data_y;
43 };
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...
Moose::Kokkos::Scalar< const Real > _scale_factor
function value scale factor
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.
static InputParameters validParams()
void buildFromXandY()
Builds data from &#39;x&#39; and &#39;y&#39; parameters.
KokkosPiecewiseTabularBase(const InputParameters &parameters)
Piecewise tabular base class which provides a piecewise approximation to a provided (x...
void buildFromXY()
Builds data from &#39;xy_data&#39; parameter.
Function base which provides a piecewise approximation to a specified (x,y) point data set...
void buildFromJSON(const JSONFileReader &json_uo)
Reads data from supplied JSON reader.