14 const std::vector<Real> & logk)
22 "The temperature and logk data sets must be equal in length in EquilibriumConstantFit");
26 mooseError(
"At least five data points are required in EquilibriumConstantFit");
32 unsigned int num_rows =
_x.size();
34 _matrix.resize(num_rows * num_cols);
36 for (
unsigned int row = 0; row < num_rows; ++row)
41 _matrix[(3 * num_rows) + row] = 1.0 /
_x[row];
42 _matrix[(4 * num_rows) + row] = 1.0 /
_x[row] /
_x[row];
virtual void fillMatrix() override
void mooseError(Args &&... args)
static const std::string temperature
EquilibriumConstantFit(const std::vector< Real > &temperature, const std::vector< Real > &logk)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< Real > _coeffs
std::vector< Real > _matrix
virtual Real sample(Real T) override