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

Punctual load over 3D beams. More...

#include <Beam3dPointLoad.h>

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

Public Member Functions

 Beam3dPointLoad (int tag, double Py, double Pz, double x, const ID &theElementTags, double Pa=0.0)
 
 Beam3dPointLoad (int tag)
 
const double & px (void) const
 
const double & py (void) const
 
const double & pz (void) const
 
void setTransZComponent (const double &d)
 
double getTransZComponent (void)
 
const VectorgetData (int &type, const double &loadFactor) const
 
size_t getForceVectorDimension (void) const
 Return the dimension of the force vector.
 
size_t getMomentVectorDimension (void) const
 Return the dimension of the moment vector.
 
virtual Vector getLocalForce (void) const
 Returns force expressed in local coordinates.
 
virtual Vector getLocalMoment (void) const
 Returns the bending moment expressed in local coordinates.
 
const MatrixgetLocalForces (void) const
 Returns force vectors (one for each element) expressed in local coordinates.
 
const MatrixgetLocalMoments (void) const
 Returns moment vectors (one for each element) expressed in local coordinates.
 
const MatrixgetAppliedSectionForces (const double &L, const Matrix &xi, const double &loadFactor) const
 Applied section forces due to element point load.
 
void addReactionsInBasicSystem (const std::vector< double > &, const double &, FVector &) const
 Adds the load al consistent load vector (see page 108 libro Eugenio Oñate). More...
 
void addFixedEndForcesInBasicSystem (const std::vector< double > &, const double &loadFactor, FVector &, int releasey=0, int releasez=0) const
 Returns the consistent load vector (see page 108 Eugenio Oñate book). More...
 
void addElasticDeformations (const double &L, const CrossSectionProperties3d &ctes_scc, const double &lpI, const double &lpJ, const double &loadFactor, FVector &v0)
 
int sendSelf (Communicator &)
 Sends object through the communicator argument.
 
int recvSelf (const Communicator &)
 Receives object through the communicator argument.
 
void Print (std::ostream &s, int flag=0) const
 Print load information.
 
- Public Member Functions inherited from XC::BeamPointLoad
 BeamPointLoad (int tag, int classTag, double Pt, double x, const ID &theElementTags, double Pa=0.0)
 
 BeamPointLoad (int tag, int classTag)
 
double X (void) const
 
void setX (const double &X)
 
std::string Category (void) const
 Return the category of the load. More...
 
- Public Member Functions inherited from XC::BeamMecLoad
 BeamMecLoad (int tag, int classTag, const double &Trans, const double &Axial, const ID &theElementTags)
 
 BeamMecLoad (int tag, int classTag)
 
double getTransComponent (void) const
 
double getAxialComponent (void) const
 
void setTransComponent (const double &t)
 
void setAxialComponent (const double &a)
 
void addElasticDeformations (const double &L, const CrossSectionProperties3d &ctes_scc, const double &lpI, const double &lpJ, const double &loadFactor, FVector &v0)
 
void addElasticDeformations (const double &L, const CrossSectionProperties2d &ctes_scc, const double &lpI, const double &lpJ, const double &loadFactor, FVector &v0)
 
virtual const MatrixgetGlobalVectors (const Matrix &) const
 
virtual const MatrixgetGlobalForces (void) const
 Returns punctual/distributed force vectors (one for each element) expressed in global coordinates.
 
virtual const MatrixgetGlobalMoments (void) const
 Returns punctual/distributed moment vectors (one for each element) expressed in global coordinates.
 
Vector3d getVector3dLocalForce (void) const
 Return the local components of the force in a Vector3d. More...
 
Vector3d getVector3dLocalMoment (void) const
 Return the local components of the moment in a Vector3d. More...
 
virtual SlidingVectorsSystem3d getResultant (const Pos3d &p=Pos3d(), bool initialGeometry=true) const
 brief Returns load resultant (force and moment integration over the elements).
 
void Print (std::ostream &s, int flag=0) const
 Print stuff.
 
- Public Member Functions inherited from XC::BeamLoad
 BeamLoad (int tag, int classTag, const ID &theElementTags)
 
 BeamLoad (int tag, int classTag)
 
- Public Member Functions inherited from XC::ElementBodyLoad
 ElementBodyLoad (int classTag)
 Constructor. More...
 
 ElementBodyLoad (int tag, int classTag)
 Constructor.
 
 ElementBodyLoad (int tag, int classTag, const ID &theElementTags)
 Constructor.
 
virtual void setDomain (Domain *theDomain)
 Set the domain for the load (assigns the pointers to the elements. More...
 
virtual void applyLoad (double loadfactor)
 Applies the load to the elements.
 
virtual int removeElement (int tag)
 Removes the element from those affected by the load. More...
 
void Print (std::ostream &s, int flag=0) const
 Print stuff.
 
- Public Member Functions inherited from XC::ElementalLoad
 ElementalLoad (int tag=0, int classTag=0)
 Constructor. More...
 
 ElementalLoad (int tag, int classTag, const ID &)
 Constructor. More...
 
int numElements (void) const
 Return the number of loaded elements.
 
int setElementTags (const ID &)
 Sets the identifiers of the loaded elements.
 
int setElementTagsFromSet (const SetBase &)
 Sets the identifiers of the loaded elements.
 
virtual const IDgetElementTags (void) const
 Return the identifiers of the loaded elements.
 
virtual const VectorgetSensitivityData (const int &gradIndex) const
 
- Public Member Functions inherited from XC::Load
 Load (int tag, int classTag)
 Constructor. More...
 
virtual void setLoadPatternTag (int loadPaternTag)
 Sets the identifier of the pattern to which the load belongs.
 
virtual int getLoadPatternTag (void) const
 Return the identifier of the pattern to which the load belongs. More...
 
- Public Member Functions inherited from XC::DomainComponent
 ~DomainComponent (void)
 Destructor.
 
size_t getIdx (void) const
 Returns the index of the object (to be used in VTK arrays).
 
virtual DomaingetDomain (void) const
 Returns a pointer to the enclosing domain. More...
 
const PreprocessorgetPreprocessor (void) const
 Returns (if possible) a pointer to the preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return (if possible) a pointer to the preprocessor.
 
const LoadPatterngetCurrentLoadPattern (void) const
 Return the current load pattern.
 
LoadPatterngetCurrentLoadPattern (void)
 Return the current load pattern.
 
void set_index (const size_t &i)
 Set the index for the object (see numera in Set). More...
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
- Public Member Functions inherited from XC::TaggedObject
 TaggedObject (int tag, CommandEntity *owr=nullptr)
 Constructor. More...
 
virtual TaggedObjectgetCopy (void) const
 Virtual constructor.
 
void assignTag (int newTag)
 Set tag (to be called from Python interface).
 
int getTag (void) const
 Returns the tag associated with the object.
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
- Public Member Functions inherited from CommandEntity
 CommandEntity (CommandEntity *owr=nullptr)
 Default constructor.
 
CommandEntityOwner (void)
 Return a pointer to the object owner.
 
const CommandEntityOwner (void) const
 Return un puntero al objeto propietario de ESTE.
 
const StandardOutputWrappergetStandardOutputWrapper (void) const
 Return the regular output stream wrapper.
 
StandardOutputWrappergetStandardOutputWrapper (void)
 Return the regular output stream wrapper.
 
const std::string & getLogFileName (void) const
 Returns log file name.
 
void setLogFileName (const std::string &)
 Sets log file name.
 
const std::string & getErrFileName (void) const
 Returns err file name.
 
void setErrFileName (const std::string &)
 Sets error file name.
 
const std::string & getOutputFileName (void) const
 Returns regular output file name.
 
void setOutputFileName (const std::string &)
 Sets regular output file name.
 
boost::python::object evalPy (boost::python::object dict, const std::string &)
 Return the Python object that results from evaluating the argument.
 
boost::python::object execPy (boost::python::object dict, const std::string &)
 Return the Python objects that results from executing the code in the string argument.
 
boost::python::object execFilePy (boost::python::object dict, const std::string &)
 Return the Python object that results from executing the code in the file.
 
- Public Member Functions inherited from EntityWithProperties
 EntityWithProperties (EntityWithProperties *owr=nullptr)
 Default constructor.
 
virtual bool operator== (const EntityWithProperties &) const
 Comparison operator.
 
void clearPyProps (void)
 Clear python properties map.
 
bool hasPyProp (const std::string &)
 Returns true if property exists.
 
boost::python::object getPyProp (const std::string &str)
 Return the Python object with the name being passed as parameter.
 
void setPyProp (std::string str, boost::python::object val)
 Sets/appends a value tho the Python object's dictionary.
 
void copyPropsFrom (const EntityWithProperties &)
 Copy the properties from the argument.
 
boost::python::list getPropNames (void) const
 Return the names of the object properties weightings.
 
const PythonDict & getPropertiesDict (void) const
 Return a std::map container with the properties of the object.
 
- Public Member Functions inherited from EntityWithOwner
 EntityWithOwner (EntityWithOwner *owr=nullptr)
 Default constructor.
 
 EntityWithOwner (const EntityWithOwner &)
 Copy constructor.
 
EntityWithOwneroperator= (const EntityWithOwner &)
 Assignment operator.
 
virtual bool operator== (const EntityWithOwner &) const
 Comparison operator.
 
virtual ~EntityWithOwner (void)
 Virtual destructor.
 
virtual std::string getClassName (void) const
 Returns demangled class name.
 
void set_owner (EntityWithOwner *owr)
 Assigns the owner of the object.
 
EntityWithOwnerOwner (void)
 
const EntityWithOwnerOwner (void) const
 
- 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.
 
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

DbTagDatagetDbTagData (void) const
 Returns a vector to store the dbTags de los miembros of the clase. More...
 
- Protected Member Functions inherited from XC::BeamPointLoad
int sendData (Communicator &comm)
 Send data through the communicator argument.
 
int recvData (const Communicator &comm)
 Receive data through the communicator argument.
 
- Protected Member Functions inherited from XC::BeamMecLoad
int sendData (Communicator &comm)
 Send data through the communicator argument.
 
int recvData (const Communicator &comm)
 Receive data through the communicator argument.
 
- Protected Member Functions inherited from XC::ElementBodyLoad
int sendData (Communicator &comm)
 Send data through the communicator argument.
 
int recvData (const Communicator &comm)
 Receive data through the communicator argument.
 
- Protected Member Functions inherited from XC::ElementalLoad
int sendData (Communicator &comm)
 Send data through the communicator argument.
 
int recvData (const Communicator &comm)
 Receive data through the communicator argument.
 
- Protected Member Functions inherited from XC::Load
int sendData (Communicator &comm)
 Send data through the communicator argument.
 
int recvData (const Communicator &comm)
 Receive data through the communicator argument.
 
- Protected Member Functions inherited from XC::DomainComponent
 DomainComponent (int tag, int classTag)
 Constructor. More...
 
int sendData (Communicator &)
 Send object members through the communicator argument.
 
int recvData (const Communicator &)
 Receive object members through the communicator argument.
 
- Protected Member Functions inherited from XC::TaggedObject
void setTag (int newTag)
 Set tag. More...
 
- Protected Member Functions inherited from CommandEntity
template<class T >
void string_to (T &, const std::string &) const
 

Additional Inherited Members

- Public Types inherited from EntityWithProperties
typedef std::map< std::string, boost::python::object > PythonDict
 
- Static Public Member Functions inherited from CommandEntity
static void resetStandardOutput (void)
 Reset the standard output streams to its defaults buffers.
 
- Static Public Member Functions inherited from EntityWithOwner
static int getVerbosityLevel (void)
 Get the value of the verbosity level.
 
static void setVerbosityLevel (const int &)
 Set the value of the verbosity level.
 
- Static Protected Member Functions inherited from CommandEntity
static CommandEntityentcmd_cast (boost::any &data)
 
- Protected Attributes inherited from XC::BeamPointLoad
double x
 relative distance (x/L) along length from end 1 of element
 
- Protected Attributes inherited from XC::BeamMecLoad
double Trans
 Transverse load.
 
double Axial
 Axial load.
 
- Protected Attributes inherited from XC::ElementalLoad
ID elemTags
 Tags of loaded elements.
 
- Static Protected Attributes inherited from EntityWithOwner
static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Punctual load over 3D beams.

Member Function Documentation

◆ addFixedEndForcesInBasicSystem()

void XC::Beam3dPointLoad::addFixedEndForcesInBasicSystem ( const std::vector< double > &  Li,
const double &  loadFactor,
FVector q0,
int  releasey = 0,
int  releasez = 0 
) const
virtual

Returns the consistent load vector (see page 108 Eugenio Oñate book).

Parameters
LLength of the element.
loadFactorLoad factor.
q0Consistent load vector.
releaseMoment release: 0=none, 1=I, 2=J, 3=I,J

Reimplemented from XC::BeamMecLoad.

◆ addReactionsInBasicSystem()

void XC::Beam3dPointLoad::addReactionsInBasicSystem ( const std::vector< double > &  ,
const double &  loadFactor,
FVector p0 
) const
virtual

Adds the load al consistent load vector (see page 108 libro Eugenio Oñate).

Parameters
LLength of the element.
loadFactorLoad factor.
p0element load vector.

Reimplemented from XC::BeamMecLoad.

◆ getDbTagData()

XC::DbTagData & XC::Beam3dPointLoad::getDbTagData ( void  ) const
protectedvirtual

Returns a vector to store the dbTags de los miembros of the clase.

Reimplemented from XC::DistributedBase.


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