1.1.0
CCC
 
FracFault Class Reference

#include <FracFault.hpp>

Inheritance diagram for FracFault:
AStringable ASerializable

Public Member Functions

 FracFault (double coord=0., double orient=0.)
 
 FracFault (const FracFault &r)
 
FracFaultoperator= (const FracFault &r)
 
virtual ~FracFault ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable. More...
 
double getCoord () const
 
double getOrient () const
 
VectorDouble getRangel () const
 
VectorDouble getRanger () const
 
VectorDouble getThetal () const
 
VectorDouble getThetar () const
 
double getRangel (int i) const
 
double getRanger (int i) const
 
double getThetal (int i) const
 
double getThetar (int i) const
 
int getNFamilies () const
 
double faultAbscissae (double cote) const
 
void addFaultPerFamily (double thetal, double thetar, double rangel, double ranger)
 
void setRangel (const VectorDouble &rangel)
 
void setRanger (const VectorDouble &ranger)
 
void setThetal (const VectorDouble &thetal)
 
void setThetar (const VectorDouble &thetar)
 
- 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
 

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)
 

Constructor & Destructor Documentation

FracFault::FracFault ( double  coord = 0.,
double  orient = 0. 
)
FracFault::FracFault ( const FracFault r)
FracFault::~FracFault ( )
virtual

Member Function Documentation

void FracFault::addFaultPerFamily ( double  thetal,
double  thetar,
double  rangel,
double  ranger 
)
double FracFault::faultAbscissae ( double  cote) const

Calculate the abscissae of a fault at a given elevation

Returns
The fault abscissae
Parameters
[in]coteOrdinate of the fracture starting point
double FracFault::getCoord ( ) const
inline
int FracFault::getNFamilies ( ) const
inline
double FracFault::getOrient ( ) const
inline
VectorDouble FracFault::getRangel ( ) const
inline
double FracFault::getRangel ( int  i) const
inline
VectorDouble FracFault::getRanger ( ) const
inline
double FracFault::getRanger ( int  i) const
inline
VectorDouble FracFault::getThetal ( ) const
inline
double FracFault::getThetal ( int  i) const
inline
VectorDouble FracFault::getThetar ( ) const
inline
double FracFault::getThetar ( int  i) const
inline
FracFault & FracFault::operator= ( const FracFault r)
void FracFault::setRangel ( const VectorDouble rangel)
inline
void FracFault::setRanger ( const VectorDouble ranger)
inline
void FracFault::setThetal ( const VectorDouble thetal)
inline
void FracFault::setThetar ( const VectorDouble thetar)
inline
String FracFault::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface for AStringable.

Reimplemented from AStringable.


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