gstlearn  1.0.0
CCC
FracFamily Class Reference

#include <FracFamily.hpp>

Inheritance diagram for FracFamily:
AStringable ASerializable

Public Member Functions

 FracFamily (double orient=0., double dorient=0., double theta0=0., double alpha=0., double ratcst=0., double prop1=0., double prop2=0., double aterm=0., double bterm=0., double range=0.)
 
 FracFamily (const FracFamily &r)
 
FracFamilyoperator= (const FracFamily &r)
 
virtual ~FracFamily ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable. More...
 
double getAlpha () const
 
void setAlpha (double alpha)
 
double getAterm () const
 
void setAterm (double aterm)
 
double getBterm () const
 
void setBterm (double bterm)
 
double getDorient () const
 
void setDorient (double dorient)
 
double getOrient () const
 
void setOrient (double orient)
 
double getProp1 () const
 
void setProp1 (double prop1)
 
double getProp2 () const
 
void setProp2 (double prop2)
 
double getRange () const
 
void setRange (double range)
 
double getRatcst () const
 
void setRatcst (double ratcst)
 
double getTheta0 () const
 
void setTheta0 (double theta0)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ASerializable
 ASerializable ()
 
 ASerializable (const ASerializable &r)
 
ASerializableoperator= (const ASerializable &r)
 
virtual ~ASerializable ()
 
bool deserialize (std::istream &is, bool verbose=true)
 
bool serialize (std::ostream &os, bool verbose=true) const
 
bool dumpToNF (const String &neutralFilename, bool verbose=false) const
 

Protected Member Functions

virtual bool _deserialize (std::istream &is, bool verbose=false) override
 Interface for ASerializable. More...
 
virtual bool _serialize (std::ostream &os, bool verbose=false) const override
 
String _getNFName () const override
 
- Protected Member Functions inherited from ASerializable
bool _fileOpenWrite (const String &filename, std::ofstream &os, bool verbose=false) const
 
bool _fileOpenRead (const String &filename, std::ifstream &is, bool verbose=false) const
 

Private Attributes

double _orient
 Mean orientation. More...
 
double _dorient
 Standard deviation for orientation. More...
 
double _theta0
 Reference Poisson intensity. More...
 
double _alpha
 Power dependency between layer & intensity. More...
 
double _ratcst
 Ratio of Constant vs. shaped intensity. More...
 
double _prop1
 Survival probability (constant term) More...
 
double _prop2
 Survival probability (length dependent term) More...
 
double _aterm
 Survival probability (cumulative length term) More...
 
double _bterm
 Survival probability (layer thickness term) More...
 
double _range
 Range of fracture repulsion area. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ASerializable
static String buildFileName (int status, const String &filename, bool ensureDirExist=false)
 
static String getHomeDirectory (const String &sub="")
 
static String getWorkingDirectory ()
 
static String getTestData (const String &subdir, const String &filename)
 
static String getFileIdentity (const String &filename, bool verbose=false)
 
static void setContainerName (bool useDefault, const String &containerName="", bool verbose=false)
 
static void unsetContainerName ()
 
static void setPrefixName (const String &prefixName)
 
static void unsetPrefixName ()
 
static const StringgetContainerName ()
 
static const StringgetPrefixName ()
 
static bool createDirectory (const String &dir)
 
static String getExecDirectory ()
 
static String getDirectory (const String &path)
 
- Static Protected Member Functions inherited from ASerializable
static bool _commentWrite (std::ostream &os, const String &comment)
 
template<typename T >
static bool _recordWrite (std::ostream &os, const String &title, const T &val)
 
template<typename T >
static bool _recordWriteVec (std::ostream &os, const String &title, const VectorT< T > &vec)
 
template<typename T >
static bool _recordRead (std::istream &is, const String &title, T &val)
 
template<typename T >
static bool _recordReadVec (std::istream &is, const String &title, VectorT< T > &vec, int nvalues)
 
static bool _onlyBlanks (char *string)
 
static bool _tableRead (std::istream &is, const String &string, int ntab, double *tab)
 
static bool _tableWrite (std::ostream &os, const String &string, int ntab, const VectorDouble &tab)
 

Constructor & Destructor Documentation

◆ FracFamily() [1/2]

FracFamily::FracFamily ( double  orient = 0.,
double  dorient = 0.,
double  theta0 = 0.,
double  alpha = 0.,
double  ratcst = 0.,
double  prop1 = 0.,
double  prop2 = 0.,
double  aterm = 0.,
double  bterm = 0.,
double  range = 0. 
)

◆ FracFamily() [2/2]

FracFamily::FracFamily ( const FracFamily r)

◆ ~FracFamily()

FracFamily::~FracFamily ( )
virtual

Member Function Documentation

◆ _deserialize()

bool FracFamily::_deserialize ( std::istream &  is,
bool  verbose = false 
)
overrideprotectedvirtual

Interface for ASerializable.

Implements ASerializable.

◆ _getNFName()

String FracFamily::_getNFName ( ) const
inlineoverrideprotectedvirtual

Implements ASerializable.

◆ _serialize()

bool FracFamily::_serialize ( std::ostream &  os,
bool  verbose = false 
) const
overrideprotectedvirtual

Implements ASerializable.

◆ getAlpha()

double FracFamily::getAlpha ( ) const
inline

◆ getAterm()

double FracFamily::getAterm ( ) const
inline

◆ getBterm()

double FracFamily::getBterm ( ) const
inline

◆ getDorient()

double FracFamily::getDorient ( ) const
inline

◆ getOrient()

double FracFamily::getOrient ( ) const
inline

◆ getProp1()

double FracFamily::getProp1 ( ) const
inline

◆ getProp2()

double FracFamily::getProp2 ( ) const
inline

◆ getRange()

double FracFamily::getRange ( ) const
inline

◆ getRatcst()

double FracFamily::getRatcst ( ) const
inline

◆ getTheta0()

double FracFamily::getTheta0 ( ) const
inline

◆ operator=()

FracFamily & FracFamily::operator= ( const FracFamily r)

◆ setAlpha()

void FracFamily::setAlpha ( double  alpha)
inline

◆ setAterm()

void FracFamily::setAterm ( double  aterm)
inline

◆ setBterm()

void FracFamily::setBterm ( double  bterm)
inline

◆ setDorient()

void FracFamily::setDorient ( double  dorient)
inline

◆ setOrient()

void FracFamily::setOrient ( double  orient)
inline

◆ setProp1()

void FracFamily::setProp1 ( double  prop1)
inline

◆ setProp2()

void FracFamily::setProp2 ( double  prop2)
inline

◆ setRange()

void FracFamily::setRange ( double  range)
inline

◆ setRatcst()

void FracFamily::setRatcst ( double  ratcst)
inline

◆ setTheta0()

void FracFamily::setTheta0 ( double  theta0)
inline

◆ toString()

String FracFamily::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface for AStringable.

Reimplemented from AStringable.

Member Data Documentation

◆ _alpha

double FracFamily::_alpha
private

Power dependency between layer & intensity.

◆ _aterm

double FracFamily::_aterm
private

Survival probability (cumulative length term)

◆ _bterm

double FracFamily::_bterm
private

Survival probability (layer thickness term)

◆ _dorient

double FracFamily::_dorient
private

Standard deviation for orientation.

◆ _orient

double FracFamily::_orient
private

Mean orientation.

◆ _prop1

double FracFamily::_prop1
private

Survival probability (constant term)

◆ _prop2

double FracFamily::_prop2
private

Survival probability (length dependent term)

◆ _range

double FracFamily::_range
private

Range of fracture repulsion area.

◆ _ratcst

double FracFamily::_ratcst
private

Ratio of Constant vs. shaped intensity.

◆ _theta0

double FracFamily::_theta0
private

Reference Poisson intensity.


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