xc
Public Member Functions | Protected Member Functions | List of all members

Second order tensor vector class. More...

#include <T2Vector.h>

Inheritance diagram for XC::T2Vector:
Inheritance graph
[legend]
Collaboration diagram for XC::T2Vector:
Collaboration graph
[legend]

Public Member Functions

 T2Vector (const Vector &T2Vector_init, int isEngrgStrain=0)
 
 T2Vector (const Vector &deviat_init, double volume_init)
 
void setData (const Vector &init, int isEngrgStrain=0)
 
void setData (const Vector &deviat, double volume)
 
const Vectort2Vector (int isEngrgStrain=0) const
 
const Vectordeviator (int isEngrgStrain=0) const
 
double volume () const
 
const VectorunitT2Vector () const
 
const VectorunitDeviator () const
 
double t2VectorLength () const
 
double deviatorLength () const
 
double octahedralShear (int isEngrgStrain=0) const
 
double deviatorRatio (double residualPress=0.) const
 
double angleBetweenT2Vector (const T2Vector &) const
 
double angleBetweenDeviator (const T2Vector &) const
 
int operator== (const T2Vector &a) const
 
int isZero (void) const
 
virtual int sendSelf (Communicator &)
 Sends object through the communicator argument.
 
virtual int recvSelf (const Communicator &)
 Receives object through the communicator argument.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (Communicator &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (Communicator &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual ~DistributedBase (void)
 Destructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

int sendData (Communicator &)
 Send object members through the communicator argument.
 
int recvData (const Communicator &)
 Receives object members through the communicator argument.
 

Detailed Description

Second order tensor vector class.


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