17 #pragma GCC diagnostic push 18 #pragma GCC diagnostic ignored "-Woverloaded-virtual" 106 const std::vector<Real> & vec,
107 std::vector<std::vector<Real>> & mat);
128 unsigned int & num_nans_1,
129 unsigned int & num_nans_2);
142 unsigned int num_nans_T,
143 unsigned int num_out_bounds_p,
144 unsigned int num_out_bounds_T,
145 unsigned int convergence_failures,
146 unsigned int number_points,
147 std::string variable_set);
150 #pragma GCC diagnostic pop Class for fluid properties read from a tabulation in a file.
virtual void constructInterpolation() override
void checkNaNs(Real min_1, Real max_1, Real min_2, Real max_2, unsigned int i, Real &variable_1, Real &variable_2, unsigned int &num_nans_1, unsigned int &num_nans_2)
If Newton Method jacobian produces NaNs, set variable to min or max depending on situation.
TabulatedBicubicFluidProperties(const InputParameters ¶meters)
auto max(const L &left, const R &right)
Common class for single phase fluid properties.
Class for fluid properties read from a file.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void checkOutofBounds(Real min, Real max, Real &variable, unsigned int &num_out_bounds)
If values go out of user defined range during Newton Method inversion, set variable to min or max dep...
const InputParameters & parameters() const
auto min(const L &left, const R &right)
void reshapeData2D(unsigned int nrow, unsigned int ncol, const std::vector< Real > &vec, std::vector< std::vector< Real >> &mat)
Forms a 2D matrix from a single std::vector.
void outputWarnings(unsigned int num_nans_p, unsigned int num_nans_T, unsigned int num_out_bounds_p, unsigned int num_out_bounds_T, unsigned int convergence_failures, unsigned int number_points, std::string variable_set)