1.3.0
CCC
 
FracEnviron Class Reference

#include <FracEnviron.hpp>

Inheritance diagram for FracEnviron:
AStringable ASerializable

Public Member Functions

 FracEnviron (double xmax=0., double ymax=0., double deltax=0., double deltay=0., double mean=0., double stdev=0.)
 
 FracEnviron (const FracEnviron &r)
 
FracEnvironoperator= (const FracEnviron &r)
 
virtual ~FracEnviron ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface to AStringable. More...
 
int getNFamilies () const
 
int getNFaults () const
 
double getDeltax () const
 
double getDeltay () const
 
double getMean () const
 
double getStdev () const
 
double getXmax () const
 
double getYmax () const
 
double getXextend () const
 
const FracFaultgetFault (int i) const
 
const FracFamilygetFamily (int i) const
 
void addFamily (const FracFamily &family)
 
void addFault (const FracFault &fault)
 
- 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
 

Static Public Member Functions

static FracEnvironcreateFromNF (const String &neutralFilename, bool verbose=true)
 
static FracEnvironcreate (double xmax=0., double ymax=0., double deltax=0., double deltay=0, double mean=0., double stdev=0.)
 
- 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)
 

Constructor & Destructor Documentation

FracEnviron::FracEnviron ( double  xmax = 0.,
double  ymax = 0.,
double  deltax = 0.,
double  deltay = 0.,
double  mean = 0.,
double  stdev = 0. 
)
FracEnviron::FracEnviron ( const FracEnviron r)
FracEnviron::~FracEnviron ( )
virtual

Member Function Documentation

void FracEnviron::addFamily ( const FracFamily family)
inline
void FracEnviron::addFault ( const FracFault fault)
inline
FracEnviron * FracEnviron::create ( double  xmax = 0.,
double  ymax = 0.,
double  deltax = 0.,
double  deltay = 0,
double  mean = 0.,
double  stdev = 0. 
)
static
FracEnviron * FracEnviron::createFromNF ( const String neutralFilename,
bool  verbose = true 
)
static

Create a Environ by loading the contents of a Neutral File

Parameters
neutralFilenameName of the Neutral File
verboseVerbose
double FracEnviron::getDeltax ( ) const
inline
double FracEnviron::getDeltay ( ) const
inline
const FracFamily& FracEnviron::getFamily ( int  i) const
inline
const FracFault& FracEnviron::getFault ( int  i) const
inline
double FracEnviron::getMean ( ) const
inline
int FracEnviron::getNFamilies ( ) const
inline
int FracEnviron::getNFaults ( ) const
inline
double FracEnviron::getStdev ( ) const
inline
double FracEnviron::getXextend ( ) const
double FracEnviron::getXmax ( ) const
inline
double FracEnviron::getYmax ( ) const
inline
FracEnviron & FracEnviron::operator= ( const FracEnviron r)
String FracEnviron::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface to AStringable.

Reimplemented from AStringable.


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