1.5.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() [1/2]

FracFault::FracFault ( double  coord = 0.,
double  orient = 0. 
)

◆ FracFault() [2/2]

FracFault::FracFault ( const FracFault r)

◆ ~FracFault()

FracFault::~FracFault ( )
virtual

Member Function Documentation

◆ addFaultPerFamily()

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

◆ faultAbscissae()

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

◆ getCoord()

double FracFault::getCoord ( ) const
inline

◆ getNFamilies()

int FracFault::getNFamilies ( ) const
inline

◆ getOrient()

double FracFault::getOrient ( ) const
inline

◆ getRangel() [1/2]

VectorDouble FracFault::getRangel ( ) const
inline

◆ getRangel() [2/2]

double FracFault::getRangel ( int  i) const
inline

◆ getRanger() [1/2]

VectorDouble FracFault::getRanger ( ) const
inline

◆ getRanger() [2/2]

double FracFault::getRanger ( int  i) const
inline

◆ getThetal() [1/2]

VectorDouble FracFault::getThetal ( ) const
inline

◆ getThetal() [2/2]

double FracFault::getThetal ( int  i) const
inline

◆ getThetar() [1/2]

VectorDouble FracFault::getThetar ( ) const
inline

◆ getThetar() [2/2]

double FracFault::getThetar ( int  i) const
inline

◆ operator=()

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

◆ setRangel()

void FracFault::setRangel ( const VectorDouble rangel)
inline

◆ setRanger()

void FracFault::setRanger ( const VectorDouble ranger)
inline

◆ setThetal()

void FracFault::setThetal ( const VectorDouble thetal)
inline

◆ setThetar()

void FracFault::setThetar ( const VectorDouble thetar)
inline

◆ toString()

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: