#include <inversion.hpp>
|
| Inversion (MeshBlock *pmb, ParameterInput *pin, std::string name) |
| Constructor and destructor. More...
|
|
virtual | ~Inversion () |
|
virtual Real | LogPosteriorProbability (Radiation *prad, Hydro *phydro, Real const *par, Real *val, int k) const |
|
virtual void | CalculateFitTarget (Radiation const *prad, Real *val, int nvalue, int k, int j) const |
|
virtual void | InitializePositions () |
|
virtual void | UpdateHydro (Hydro *phydro, ParameterInput *pin) const |
|
virtual int | getX2Span () const |
|
void | InitializeChain (int nstep, int nwalker, int ndim, int nvalue) |
|
void | MakeMCMCOutputs (std::string fname) |
|
void | MCMCInit (Radiation *prad, Hydro *phydro) |
|
void | MCMCMove (Radiation *prad, Hydro *phydro) |
|
void | MCMCSave (Hydro *phydro) |
|
void | ResetChain () |
|
int | GetDims () const |
|
int | GetValues () const |
|
int | GetWalkers () const |
|
int | GetSteps () const |
|
void | SetLogProbability (int k, Real lnp) |
|
Real | GetLogProbability (int k) const |
|
void | setX2Indices (int j) |
|
bool | ShouldFITSOutput (std::string variable_name) const override |
| MeshOutputGroup functions. More...
|
|
void | LoadFITSOutputData (OutputType *pod, int *num_vars) const override |
|
| NamedGroup (std::string name) |
|
virtual | ~NamedGroup () |
|
std::string | GetName () const |
|
virtual | ~FITSOutputGroup () |
|
Definition at line 29 of file inversion.hpp.
◆ Inversion()
Inversion::Inversion |
( |
MeshBlock * |
pmb, |
|
|
ParameterInput * |
pin, |
|
|
std::string |
name |
|
) |
| |
◆ ~Inversion()
Inversion::~Inversion |
( |
| ) |
|
|
virtual |
◆ LogPosteriorProbability()
virtual Real Inversion::LogPosteriorProbability |
( |
Radiation * |
prad, |
|
|
Hydro * |
phydro, |
|
|
Real const * |
par, |
|
|
Real * |
val, |
|
|
int |
k |
|
) |
| const |
|
inlinevirtual |
◆ CalculateFitTarget()
virtual void Inversion::CalculateFitTarget |
( |
Radiation const * |
prad, |
|
|
Real * |
val, |
|
|
int |
nvalue, |
|
|
int |
k, |
|
|
int |
j |
|
) |
| const |
|
inlinevirtual |
◆ InitializePositions()
virtual void Inversion::InitializePositions |
( |
| ) |
|
|
inlinevirtual |
◆ UpdateHydro()
virtual void Inversion::UpdateHydro |
( |
Hydro * |
phydro, |
|
|
ParameterInput * |
pin |
|
) |
| const |
|
inlinevirtual |
◆ getX2Span()
virtual int Inversion::getX2Span |
( |
| ) |
const |
|
inlinevirtual |
◆ InitializeChain()
void Inversion::InitializeChain |
( |
int |
nstep, |
|
|
int |
nwalker, |
|
|
int |
ndim, |
|
|
int |
nvalue |
|
) |
| |
◆ MakeMCMCOutputs()
void Inversion::MakeMCMCOutputs |
( |
std::string |
fname | ) |
|
◆ MCMCInit()
void Inversion::MCMCInit |
( |
Radiation * |
prad, |
|
|
Hydro * |
phydro |
|
) |
| |
◆ MCMCMove()
void Inversion::MCMCMove |
( |
Radiation * |
prad, |
|
|
Hydro * |
phydro |
|
) |
| |
◆ MCMCSave()
void Inversion::MCMCSave |
( |
Hydro * |
phydro | ) |
|
◆ ResetChain()
void Inversion::ResetChain |
( |
| ) |
|
◆ GetDims()
int Inversion::GetDims |
( |
| ) |
const |
|
inline |
◆ GetValues()
int Inversion::GetValues |
( |
| ) |
const |
|
inline |
◆ GetWalkers()
int Inversion::GetWalkers |
( |
| ) |
const |
|
inline |
◆ GetSteps()
int Inversion::GetSteps |
( |
| ) |
const |
|
inline |
◆ SetLogProbability()
void Inversion::SetLogProbability |
( |
int |
k, |
|
|
Real |
lnp |
|
) |
| |
|
inline |
◆ GetLogProbability()
Real Inversion::GetLogProbability |
( |
int |
k | ) |
const |
|
inline |
◆ setX2Indices()
void Inversion::setX2Indices |
( |
int |
j | ) |
|
|
inline |
◆ ShouldFITSOutput()
bool Inversion::ShouldFITSOutput |
( |
std::string |
variable_name | ) |
const |
|
inlineoverridevirtual |
◆ LoadFITSOutputData()
void Inversion::LoadFITSOutputData |
( |
OutputType * |
pod, |
|
|
int * |
num_vars |
|
) |
| const |
|
inlineoverridevirtual |
◆ name_
std::string Inversion::name_ |
|
protected |
◆ target_
Eigen::VectorXd Inversion::target_ |
|
protected |
◆ icov_
Eigen::MatrixXd Inversion::icov_ |
|
protected |
◆ init_pos_
Real** Inversion::init_pos_ |
|
protected |
◆ fit_differential_
bool Inversion::fit_differential_ |
|
protected |
◆ jl_
◆ ju_
◆ pmy_block_
MeshBlock const* Inversion::pmy_block_ |
|
protected |
◆ opts_
◆ recs_
◆ mcmc_initialized_
bool Inversion::mcmc_initialized_ |
|
private |
◆ zz_
◆ par_
The documentation for this class was generated from the following files: