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

Vectores to store trial and commited values («commited») on node displacements. More...

#include <NodeDispVectors.h>

Inheritance diagram for XC::NodeDispVectors:
XC::NodeVectors XC::MovableObject XC::DistributedBase

Public Member Functions

 NodeDispVectors (void)
 Constructor.
 
 NodeDispVectors (const NodeDispVectors &otro)
 Constructor de copia.
 
NodeDispVectorsoperator= (const NodeDispVectors &otro)
 
virtual ~NodeDispVectors (void)
 destructor
 
virtual const VectorgetIncrDisp (const size_t &) const
 Returns displacement increment. More...
 
virtual const VectorgetIncrDeltaDisp (const size_t &) const
 Returns delta displacement increment. More...
 
virtual int setTrialDispComponent (const size_t &nDOF, const double &value, const size_t &dof)
 Sets trial values for the displacement components. More...
 
virtual int setTrialDisp (const size_t &nDOF, const Vector &)
 Sets trial values for the displacement vector. More...
 
virtual int incrTrialDisp (const size_t &nDOF, const Vector &)
 Increments trial displacements. More...
 
virtual int commitState (const size_t &nDOF)
 Commits state of displacement vectors. More...
 
virtual int revertToLastCommit (const size_t &nDOF)
 Returns the vectores al estado correspondiente al último commit. More...
 
virtual void Print (std::ostream &s, int flag=0)
 Printing.
 
- Public Member Functions inherited from XC::NodeVectors
 NodeVectors (const size_t &nv=2)
 Constructor.
 
 NodeVectors (const NodeVectors &otro)
 Constructor de copia.
 
NodeVectorsoperator= (const NodeVectors &otro)
 
virtual ~NodeVectors (void)
 destructor
 
size_t getVectorsSize (void) const
 Return the number of node DOFs.
 
virtual const VectorgetData (const size_t &) const
 Returns the data vector.
 
virtual const VectorgetTrialData (const size_t &) const
 Returns the data vector de prueba.
 
const VectorgetTrialData (void) const
 Returns the valores de prueba.
 
const VectorgetCommitData (void) const
 Returns commited values.
 
virtual int setTrialData (const size_t &nDOF, const double &value, const size_t &dof)
 
virtual int setTrialData (const size_t &nDOF, const Vector &)
 Asigna el valor being passed as parameter.
 
virtual int incrTrialData (const size_t &nDOF, const Vector &)
 
virtual int revertToStart (const size_t &nDOF)
 Returns the nodo a su estado inicial.
 
virtual int sendSelf (CommParameters &)
 Envia los vectores through the channel being passed as parameter.E.
 
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.
 
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 (void)
 
- Protected Member Functions inherited from XC::NodeVectors
DbTagDatagetDbTagData (void) const
 Returns a vector para almacenar los dbTags de los miembros de la clase.
 
int sendData (CommParameters &)
 Sends object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 
int createData (const size_t &)
 private method to create the arrays to hold the data values and the Vector objects for the committed and trial quantities.
 
void libera (void)
 
void copia (const NodeVectors &)
 

Additional Inherited Members

- Protected Attributes inherited from XC::NodeVectors
size_t numVectors
 number of vectors.
 
VectorcommitData
 commited quantities
 
VectortrialData
 trial quantities
 
Vector values
 double array holding the displacement/velocity/acceleration.
 

Detailed Description

Vectores to store trial and commited values («commited») on node displacements.

Member Function Documentation

int XC::NodeDispVectors::commitState ( const size_t &  nDOF)
virtual

Commits state of displacement vectors.

Parameters
nDOFnumber of degrees of freedom.

Reimplemented from XC::NodeVectors.

const XC::Vector & XC::NodeDispVectors::getIncrDeltaDisp ( const size_t &  nDOF) const
virtual

Returns delta displacement increment.

Parameters
nDOFnumber of degrees of freedom
const XC::Vector & XC::NodeDispVectors::getIncrDisp ( const size_t &  nDOF) const
virtual

Returns displacement increment.

Parameters
nDOFnumber of degrees of freedom
int XC::NodeDispVectors::incrTrialDisp ( const size_t &  nDOF,
const Vector incrDispl 
)
virtual

Increments trial displacements.

Parameters
nDOFnumber of degrees of freedom.
incrTrialDispincrement for trial displacement vector.
int XC::NodeDispVectors::revertToLastCommit ( const size_t &  nDOF)
virtual

Returns the vectores al estado correspondiente al último commit.

Parameters
nDOFnumber of degrees of freedom.

Reimplemented from XC::NodeVectors.

int XC::NodeDispVectors::setTrialDisp ( const size_t &  nDOF,
const Vector newTrialDisp 
)
virtual

Sets trial values for the displacement vector.

Parameters
nDOFnumber of degrees of freedom.
newTrialDispnew trial displacement vector.
int XC::NodeDispVectors::setTrialDispComponent ( const size_t &  nDOF,
const double &  value,
const size_t &  dof 
)
virtual

Sets trial values for the displacement components.

Parameters
nDOFnumber of degrees of freedom.
dofcomponent of the displacement to set.

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