https://mooseframework.inl.gov
TruncatedGaussian.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 "Gaussian.h"
13 
18 {
19 public:
21 
23 
24  virtual Real function(const std::vector<Real> & x) const override;
25 
35  static Real function(const std::vector<Real> & exp,
36  const std::vector<Real> & model,
37  const Real & noise,
38  const Real & lower_bound,
39  const Real & upper_bound,
40  const bool & log_likelihood);
41 
42 private:
45 
48 };
const Real _lower_bound
Lower bound.
auto exp(const T &)
A class used to generate a Gaussian likelihood of observing model predictions.
Definition: Gaussian.h:18
const Real _upper_bound
Upper bound.
const std::vector< double > x
const PertinentGeochemicalSystem model(database, {"H2O", "H+", "HCO3-", "O2(aq)", "Ca++", ">(s)FeOH", "radius_neg1", "radius_neg1.5"}, {"Calcite"}, {}, {"Calcite_asdf"}, {"CH4(aq)"}, {">(s)FeOCa+"}, "O2(aq)", "e-")
TruncatedGaussian(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
static InputParameters validParams()
A class used to generate a truncated Gaussian likelihood of observing model predictions.