Canoe
Comprehensive Atmosphere N' Ocean Engine
VLAProfileInversion Class Reference

#include <profile_inversion.hpp>

Inheritance diagram for VLAProfileInversion:
[legend]

Public Member Functions

 VLAProfileInversion (MeshBlock *pmb, ParameterInput *pin)
 
 ~VLAProfileInversion ()
 
void CalculateFitTarget (Radiation const *prad, Real *val, int nvalue, int k, int j) const override
 
- Public Member Functions inherited from ProfileInversion
 ProfileInversion (MeshBlock *pmb, ParameterInput *pin, std::string name)
 
 ~ProfileInversion ()
 
size_t samples () const
 
void InitializePositions () override
 
void UpdateHydro (Hydro *phydro, ParameterInput *pin) const override
 
Real LogPosteriorProbability (Radiation *prad, Hydro *phydro, Real const *par, Real *val, int k) const override
 
void UpdateProfiles (Hydro *phydro, Real **XpSample, int k, int jl, int ju) const
 
void ConvectiveAdjustment (Hydro *phydro, int k, int ju) const
 
virtual Real LogPriorProbability (Real **XpSample) const
 
int getX2Span () const override
 
- Public Member Functions inherited from Inversion
 Inversion (MeshBlock *pmb, ParameterInput *pin, std::string name)
 Constructor and destructor. More...
 
virtual ~Inversion ()
 
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
 
- Public Member Functions inherited from NamedGroup
 NamedGroup (std::string name)
 
virtual ~NamedGroup ()
 
std::string GetName () const
 
- Public Member Functions inherited from FITSOutputGroup
virtual ~FITSOutputGroup ()
 

Additional Inherited Members

- Protected Attributes inherited from ProfileInversion
std::vector< Real > plevel_
 
std::vector< int > idx_
 
Real chi_
 
Real Xstd_ [1+NVAPOR]
 
Real Xlen_ [1+NVAPOR]
 
- Protected Attributes inherited from Inversion
std::string name_
 
Eigen::VectorXd target_
 
Eigen::MatrixXd icov_
 
Real ** init_pos_
 
bool fit_differential_
 
int jl_
 
int ju_
 
MeshBlock const * pmy_block_
 pointer to parent MeshBlock More...
 

Detailed Description

Definition at line 52 of file profile_inversion.hpp.

Constructor & Destructor Documentation

◆ VLAProfileInversion()

VLAProfileInversion::VLAProfileInversion ( MeshBlock *  pmb,
ParameterInput *  pin 
)
inline

Definition at line 55 of file profile_inversion.hpp.

◆ ~VLAProfileInversion()

VLAProfileInversion::~VLAProfileInversion ( )
inline

Definition at line 58 of file profile_inversion.hpp.

Member Function Documentation

◆ CalculateFitTarget()

void VLAProfileInversion::CalculateFitTarget ( Radiation const *  prad,
Real *  val,
int  nvalue,
int  k,
int  j 
) const
overridevirtual

Reimplemented from Inversion.

Definition at line 32 of file vla_profile_inversion_target.cpp.


The documentation for this class was generated from the following files: