XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | List of all members
XC::DriftRecorder Class Reference

Records relative displacement between nodes. The drift is taken as the ratio between the prescribed relative displacement and the specified distance between the nodes. More...

#include <DriftRecorder.h>

Inheritance diagram for XC::DriftRecorder:
XC::HandlerRecorder XC::DomainRecorderBase XC::Recorder XC::MovableObject XC::DistributedBase

Public Member Functions

 DriftRecorder (int ndI, int ndJ, int dof, int perpDirn, Domain &theDomain, DataOutputHandler &theHandler, bool echoTime=false)
 
 DriftRecorder (const ID &ndI, const ID &ndJ, int dof, int perpDirn, Domain &theDomain, DataOutputHandler &theHandler, bool echoTime=false)
 
int record (int commitTag, double timeStamp)
 
int restart (void)
 
int sendSelf (CommParameters &)
 Sends the object through the communicator being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives the object through the communicator being passed as parameter.
 
- Public Member Functions inherited from XC::HandlerRecorder
 HandlerRecorder (int classTag)
 
 HandlerRecorder (int classTag, Domain &theDomain, DataOutputHandler &theOutputHandler, bool timeFlag)
 
void SetOutputHandler (DataOutputHandler *tH)
 Sets de data output handler.
 
- Public Member Functions inherited from XC::DomainRecorderBase
 DomainRecorderBase (int classTag, Domain *ptr_dom=nullptr)
 
int setDomain (Domain &theDomain)
 
- Public Member Functions inherited from XC::Recorder
 Recorder (int classTag)
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (const MovableObject &otro)
 Operacdor asignación.
 
int getClassTag (void) const
 Returns the tag de la clase.
 
int getDbTag (void) const
 Returns the tag para la database.
 
int getDbTag (CommParameters &)
 Returns the tag para la database.
 
void setDbTag (int dbTag)
 Asigna el tag para la database.
 
void setDbTag (CommParameters &)
 Asigna, sólo si es preciso, el tag para la database.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 
virtual int updateParameter (int parameterID, Information &info)
 
virtual int activateParameter (int parameterID)
 
virtual int setVariable (const std::string &variable, Information &)
 Returns the identificador de la variable cuyo nombre being passed as parameter.
 
virtual int getVariable (const std::string &variable, Information &)
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
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

void libera_nodes (void)
 
int alloc_nodes (const int &, const int &)
 
void libera_ndIJ (void)
 
void alloc_ndIJ (const int &)
 
void set_ndIJ (const ID &nI, const ID &)
 
void setup_ndIJ (const int &)
 
- Protected Member Functions inherited from XC::HandlerRecorder
int sendData (CommParameters &)
 Sends objet through the communicator being passed as parameter.
 
int receiveData (const CommParameters &)
 Receives objet through the communicator being passed as parameter.
 

Additional Inherited Members

- Protected Attributes inherited from XC::HandlerRecorder
DataOutputHandlertheHandler
 Output handler (TO DEPRECATE).
 
bool initializationDone
 
bool echoTimeFlag
 
- Protected Attributes inherited from XC::DomainRecorderBase
DomaintheDomain
 

Detailed Description

Records relative displacement between nodes. The drift is taken as the ratio between the prescribed relative displacement and the specified distance between the nodes.


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