1.11.1
CCC
 
Loading...
Searching...
No Matches
gstlrn::CalcModelPGS Class Reference

#include <CalcModelPGS.hpp>

Inheritance diagram for gstlrn::CalcModelPGS:
gstlrn::ACalculator

Public Member Functions

 CalcModelPGS (Db *db=nullptr, const VarioParam *varioparam=nullptr, const RuleProp *ruleprop=nullptr)
 
 CalcModelPGS (const CalcModelPGS &r)=delete
 
CalcModelPGSoperator= (const CalcModelPGS &r)=delete
 
virtual ~CalcModelPGS ()
 
bool _check () override
 
bool _preprocess () override
 
bool _run () override
 
Id getMemInt (Id ipair) const
 
Id getIFirst () const
 
Id getILast () const
 
Id getIpasCur () const
 
Id getIdirCur () const
 
Id getIgrfCur () const
 
Id getNFacies () const
 
bool getFlagStat () const
 
bool getUseDiscrete () const
 
const DbgetDb () const
 
const DiscretePGSgetDiscretePGS () const
 
double getStatThresh (Id ifac, Id igrf, Id rank)
 
getStatProba ()
 
double getStatProba (Id i, Id j)
 
const VarioOrdergetVarioOrder () const
 
VariogetVario () const
 
VariogetVarioInd () const
 
const RulegetRule () const
 
void setMemInt (Id ipair, double memint)
 
void setFlagRho (bool flagRho)
 
void setStatThresh (Id ifac, Id igrf, Id rank, double thresh)
 
void setRunType (Id runType)
 
void setOptCorrel (Id optCorrel)
 
void setStatProba (Id i, Id j, double proba)
 
void setUseDb (bool useDb)
 
void setUseDiscrete (bool useDiscrete)
 
void setRho (double rho)
 
void setModel1 (const Model *model1)
 
void setModel2 (const Model *model2)
 
void setNgrfMax (Id ngrfmax)
 
double getProbaInd (double correl, double low[2], double up[2], Id iconf, Id maxpts=8000)
 
double varcalcCorrelatedGRF (Id idir)
 
void varcalcUncorrelatedGRF (Id idir)
 
std::vector< RulegetSortedRules (double eps=EPSILON6) const
 
- Public Member Functions inherited from gstlrn::ACalculator
 ACalculator (bool verbose=false)
 
 ACalculator (const ACalculator &r)=delete
 
ACalculatoroperator= (const ACalculator &r)=delete
 
virtual ~ACalculator ()
 
bool run ()
 
bool getVerbose () const
 
void setVerbose (bool verbose)
 

Constructor & Destructor Documentation

◆ CalcModelPGS() [1/2]

gstlrn::CalcModelPGS::CalcModelPGS ( Db db = nullptr,
const VarioParam varioparam = nullptr,
const RuleProp ruleprop = nullptr 
)

◆ CalcModelPGS() [2/2]

gstlrn::CalcModelPGS::CalcModelPGS ( const CalcModelPGS r)
delete

◆ ~CalcModelPGS()

gstlrn::CalcModelPGS::~CalcModelPGS ( )
virtual

Member Function Documentation

◆ _check()

bool gstlrn::CalcModelPGS::_check ( )
overridevirtual

Reimplemented from gstlrn::ACalculator.

◆ _preprocess()

bool gstlrn::CalcModelPGS::_preprocess ( )
overridevirtual

Reimplemented from gstlrn::ACalculator.

◆ _run()

bool gstlrn::CalcModelPGS::_run ( )
overridevirtual

Implements gstlrn::ACalculator.

◆ getDb()

const Db * gstlrn::CalcModelPGS::getDb ( ) const
inline

◆ getDiscretePGS()

const DiscretePGS * gstlrn::CalcModelPGS::getDiscretePGS ( ) const
inline

◆ getFlagStat()

bool gstlrn::CalcModelPGS::getFlagStat ( ) const
inline

◆ getIdirCur()

Id gstlrn::CalcModelPGS::getIdirCur ( ) const
inline

◆ getIFirst()

Id gstlrn::CalcModelPGS::getIFirst ( ) const
inline

◆ getIgrfCur()

Id gstlrn::CalcModelPGS::getIgrfCur ( ) const
inline

◆ getILast()

Id gstlrn::CalcModelPGS::getILast ( ) const
inline

◆ getIpasCur()

Id gstlrn::CalcModelPGS::getIpasCur ( ) const
inline

◆ getMemInt()

Id gstlrn::CalcModelPGS::getMemInt ( Id  ipair) const
inline

◆ getNFacies()

Id gstlrn::CalcModelPGS::getNFacies ( ) const
inline

◆ getProbaInd()

double gstlrn::CalcModelPGS::getProbaInd ( double  correl,
double  low[2],
double  up[2],
Id  iconf,
Id  maxpts = 8000 
)

◆ getRule()

const Rule * gstlrn::CalcModelPGS::getRule ( ) const
inline

◆ getSortedRules()

std::vector< Rule > gstlrn::CalcModelPGS::getSortedRules ( double  eps = EPSILON6) const

◆ getStatProba() [1/2]

& gstlrn::CalcModelPGS::getStatProba ( )
inline

◆ getStatProba() [2/2]

double gstlrn::CalcModelPGS::getStatProba ( Id  i,
Id  j 
)
inline

◆ getStatThresh()

double gstlrn::CalcModelPGS::getStatThresh ( Id  ifac,
Id  igrf,
Id  rank 
)
inline

◆ getUseDiscrete()

bool gstlrn::CalcModelPGS::getUseDiscrete ( ) const
inline

◆ getVario()

Vario * gstlrn::CalcModelPGS::getVario ( ) const
inline

◆ getVarioInd()

Vario * gstlrn::CalcModelPGS::getVarioInd ( ) const
inline

◆ getVarioOrder()

const VarioOrder & gstlrn::CalcModelPGS::getVarioOrder ( ) const
inline

◆ operator=()

CalcModelPGS & gstlrn::CalcModelPGS::operator= ( const CalcModelPGS r)
delete

◆ setFlagRho()

void gstlrn::CalcModelPGS::setFlagRho ( bool  flagRho)
inline

◆ setMemInt()

void gstlrn::CalcModelPGS::setMemInt ( Id  ipair,
double  memint 
)
inline

◆ setModel1()

void gstlrn::CalcModelPGS::setModel1 ( const Model model1)
inline

◆ setModel2()

void gstlrn::CalcModelPGS::setModel2 ( const Model model2)
inline

◆ setNgrfMax()

void gstlrn::CalcModelPGS::setNgrfMax ( Id  ngrfmax)
inline

◆ setOptCorrel()

void gstlrn::CalcModelPGS::setOptCorrel ( Id  optCorrel)
inline

◆ setRho()

void gstlrn::CalcModelPGS::setRho ( double  rho)

◆ setRunType()

void gstlrn::CalcModelPGS::setRunType ( Id  runType)
inline

◆ setStatProba()

void gstlrn::CalcModelPGS::setStatProba ( Id  i,
Id  j,
double  proba 
)
inline

◆ setStatThresh()

void gstlrn::CalcModelPGS::setStatThresh ( Id  ifac,
Id  igrf,
Id  rank,
double  thresh 
)
inline

◆ setUseDb()

void gstlrn::CalcModelPGS::setUseDb ( bool  useDb)
inline

◆ setUseDiscrete()

void gstlrn::CalcModelPGS::setUseDiscrete ( bool  useDiscrete)
inline

◆ varcalcCorrelatedGRF()

double gstlrn::CalcModelPGS::varcalcCorrelatedGRF ( Id  idir)

Evaluate the variogram of the underlying GRFs (assuming the two GRFs of the PGS model are correlated)

Parameters
[in]idirRank of the direction

◆ varcalcUncorrelatedGRF()

void gstlrn::CalcModelPGS::varcalcUncorrelatedGRF ( Id  idir)

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