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

Base class for user defined integration on beam elements. More...

#include <UserDefinedBeamIntegrationBase.h>

Inheritance diagram for XC::UserDefinedBeamIntegrationBase:
XC::BeamIntegration XC::MovableObject XC::DistributedBase XC::ParameterIDBeamIntegration XC::UserDefinedBeamIntegration XC::UserDefinedHingeIntegrationBase XC::FixedLocationBeamIntegration XC::LowOrderBeamIntegration XC::MidDistanceBeamIntegration XC::UserDefinedHingeIntegration XC::UserDefinedHingeIntegration2d XC::UserDefinedHingeIntegration3d

Public Member Functions

 UserDefinedBeamIntegrationBase (int, const Vector &, const Vector &)
 
 UserDefinedBeamIntegrationBase (int, const Vector &)
 
 UserDefinedBeamIntegrationBase (int)
 
void getSectionLocations (int nIP, double L, double *xi) const
 
void getSectionWeights (int nIP, double L, double *wt) const
 
int sendSelf (CommParameters &)
 Send the object. More...
 
int recvSelf (const CommParameters &)
 Receive the object. More...
 
void Print (std::ostream &s, int flag=0)
 
- Public Member Functions inherited from XC::BeamIntegration
 BeamIntegration (int classTag)
 
const MatrixgetIntegrPointCoords (int nIP, double L) const
 Returns the coordenadas normalizadas (entre 0 y 1).
 
const MatrixgetIntegrPointNaturalCoords (int nIP, double L) const
 Returns the coordenadas naturales (entre -1 y 1) a partir de las normalizadas.
 
const MatrixgetIntegrPointLocalCoords (int nIP, double L) const
 Returns the coordenadas locales (entre 0 y L) a partir de las normalizadas.
 
const MatrixgetIntegrPointNaturalCoords (int nIP, const CrdTransf &trf) const
 Returns a matrix with the natural coordinates for each integration point.
 
const MatrixgetIntegrPointNormalizedCoords (int nIP, const CrdTransf &trf) const
 Returns a matrix with the normalized coordinates for each integration point.
 
const MatrixgetIntegrPointLocalCoords (int nIP, const CrdTransf &trf) const
 Returns a matrix with the local coordinates for each integration point.
 
const MatrixgetIntegrPointGlobalCoords (int nIP, const CrdTransf &trf) const
 Returns a matrix with the global coordinates for each integration point.
 
const VectorevalInIntegrPoints (const ExprAlgebra &expr, int nIP, const CrdTransf &trf) const
 Returns the values of the expresion being pased as parameter on each integration point.
 
double getIntegral (const ExprAlgebra &expr, int nIP, const CrdTransf &trf) const
 Returns the integral of the expresion.
 
virtual void addElasticDeformations (ElementalLoad *theLoad, double loadFactor, double L, FVector &v0)
 
virtual int addElasticFlexibility (double L, Matrix &fe)
 
virtual double getTangentDriftI (double L, double LI, double q2, double q3, bool yAxis=false)
 
virtual double getTangentDriftJ (double L, double LI, double q2, double q3, bool yAxis=false)
 
virtual BeamIntegrationgetCopy (void) const =0
 
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 void getLocationsDeriv (int nIP, double L, double dLdh, double *dptsdh)
 
virtual void getWeightsDeriv (int nIP, double L, double dLdh, double *dwtsdh)
 
virtual int addElasticFlexDeriv (double L, Matrix &dfedh, double dLdh=0.0)
 
- 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 (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
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 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 (CommParameters &cp)
 Send object members through the channel defined in cp.
 
int recvData (const CommParameters &cp)
 Receives object members through the channel defined in cp.
 

Protected Attributes

Vector pts
 
Vector wts
 

Detailed Description

Base class for user defined integration on beam elements.

Member Function Documentation

§ recvSelf()

int XC::UserDefinedBeamIntegrationBase::recvSelf ( const CommParameters cp)
virtual

Receive the object.

Each object has to receive the data needed to be able to recreate itself in the new process after it has been sent through cp. If the object is an aggregation containing other objects, new objects of the correct type can be constructed using #theBroker. To return 0 if successful or a -1 if not.

Implements XC::MovableObject.

Reimplemented in XC::UserDefinedHingeIntegration3d.

§ sendSelf()

int XC::UserDefinedBeamIntegrationBase::sendSelf ( CommParameters cp)
virtual

Send the object.

Each object has to send the data needed to be able to reproduce that object in a remote process. The object uses the methods provided by cp object to send the data to another channel at the remote actor, the address of the channel is set before this method is called. An object of similar type at the remote actor is invoked with a receiveSelf() to receive the data. Returns 0 if successful (successful in that the data got to the channel), or a - if no data was sent.

Implements XC::MovableObject.

Reimplemented in XC::UserDefinedHingeIntegration3d.


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