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

Objects to record element data at each commit. More...

#include <ElementPropRecorder.h>

Inheritance diagram for XC::ElementPropRecorder:
XC::PropRecorder XC::Recorder XC::MovableObject XC::DistributedBase

Public Types

typedef std::deque< Element * > dq_elements
 Pointes to elements.
 

Public Member Functions

 ElementPropRecorder (Domain *ptr_dom=nullptr)
 Constructor.
 
void setElements (const ID &)
 Asigns elements to recorder.
 
virtual int record (int, double)
 Records object properties when commit is achieved.
 
virtual int restart (void)
 Reinicia el recorder.
 
- Public Member Functions inherited from XC::PropRecorder
 PropRecorder (int classTag, Domain *ptr_dom=nullptr)
 Constructor.
 
int setDomain (Domain &theDomain)
 Asigna el domain al recorder.
 
std::string getNombreCombActual (void) const
 Returns the name of the current combination.
 
int getLastCommitTag (void) const
 
double getLastTimeStamp (void) const
 
double getCurrentTime (void) const
 
double getCommittedTime (void) const
 
int getCommitTag (void) const
 
void setCallbackRecord (const std::string &)
 
std::string getCallbackRecord (void)
 
void setCallbackRestart (const std::string &)
 
std::string getCallbackRestart (void)
 
- Public Member Functions inherited from XC::Recorder
 Recorder (int classTag)
 
virtual int sendSelf (CommParameters &)
 
virtual int recvSelf (const CommParameters &)
 
- 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.
 

Additional Inherited Members

- Protected Attributes inherited from XC::PropRecorder
std::string CallbackRecord
 Python script to execute on each record call.
 
std::string CallbackRestart
 Python script to execute on each restart call.
 
int lastCommitTag
 CommitTag of the last record call.
 
double lastTimeStamp
 TimeStamp of the last record call.
 
DomaintheDomain
 poiter to the domain.
 

Detailed Description

Objects to record element data at each commit.


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