xc
|
Base class for force deformation section models. More...
#include <SectionForceDeformation.h>
Public Member Functions | |
SectionForceDeformation (int tag, int classTag, MaterialHandler *mat_ldr=nullptr) | |
Constructor. More... | |
SectionForceDeformation (const SectionForceDeformation &) | |
Copy constructor. | |
SectionForceDeformation & | operator= (const SectionForceDeformation &) |
Assignment operator. | |
virtual | ~SectionForceDeformation (void) |
Destructor. | |
MaterialHandler * | getMaterialHandler (void) |
virtual void | zeroInitialSectionDeformation (void)=0 |
virtual int | setInitialSectionDeformation (const Vector &)=0 |
virtual int | addInitialSectionDeformation (const Vector &) |
Adds to the generalized strains vector inicial el being passed as parameter. More... | |
void | setInitialGeneralizedStrain (const Vector &iS) |
const Vector & | getInitialGeneralizedStrain (void) const |
virtual int | setTrialSectionDeformation (const Vector &)=0 |
Set the value of the trial section deformation vector, \(esec\) to be {def}. More... | |
virtual const Vector & | getInitialSectionDeformation (void) const =0 |
virtual const Vector & | getSectionDeformation (void) const =0 |
Return the trial section deformation vector, \(esec\). | |
double | getSectionDeformation (const int &) const |
Returns 'defID' component of the generalized strain vector. | |
double | getSectionDeformationByName (const std::string &) const |
Returns section's trial deformation component by its name. | |
virtual double | getStrain (const double &y, const double &z=0) const =0 |
virtual const Vector & | getStressResultant (void) const =0 |
Return the section resisting forces, \(ssec\), at the current trial state. More... | |
double | getStressResultant (const int &) const |
Returns 'defID' component of the generalized stress vector. | |
double | getStressResultantByName (const std::string &) const |
Returns the esfuerzos de la placa. | |
virtual const Matrix & | getSectionTangent (void) const =0 |
Return the section tangent stiffness matrix, \(ksec\), at the current trial state. More... | |
virtual const Matrix & | getInitialTangent (void) const =0 |
virtual const Matrix & | getSectionFlexibility (void) const |
Returns the tangent flexibility matrix of the section. More... | |
virtual const Matrix & | getInitialFlexibility (void) const |
Returns the initial flexibility matrix of the section. | |
const Vector & | getGeneralizedStress (void) const |
virtual const Vector & | getGeneralizedStrain (void) const |
virtual double | getRho (void) const |
Returns the density (mass per unit length/area/volume) of the section. More... | |
virtual SectionForceDeformation * | getCopy (void) const =0 |
Virtual constructor. | |
virtual const ResponseId & | getType (void) const =0 |
Return the ordering and type of response quantities returned by this object. More... | |
std::string | getTypeString (void) const |
Comma separated internal forces names to with the section contributes with stiffness. | |
virtual int | getOrder (void) const =0 |
Return the number of response quantities provided by the section. | |
virtual Response * | setResponse (const std::vector< std::string > &argv, Information &info) |
Returns the respuesta of the section. | |
virtual int | getResponse (int responseID, Information &info) |
Returns section response. | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
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 const Vector & | getStressResultantSensitivity (int gradNumber, bool conditional) |
virtual const Vector & | getSectionDeformationSensitivity (int gradNumber) |
virtual const Matrix & | getSectionTangentSensitivity (int gradNumber) |
virtual double | getRhoSensitivity (int gradNumber) |
virtual int | commitSensitivity (const Vector §ionDeformationGradient, int gradNumber, int numGrads) |
![]() | |
Material (int tag, int classTag) | |
Constructor. More... | |
const MaterialHandler * | getMaterialHandler (void) const |
Returns (if possible) a pointer to the material handler (owner). | |
MaterialHandler * | getMaterialHandler (void) |
Returs a pointer to the material handler (if possible). | |
std::string | getName (void) const |
Returns the name of the material. | |
virtual int | setVariable (const std::string &argv) |
virtual int | getVariable (int variableID, double &info) |
virtual void | update (void) |
Update state variables for the material according to the new values of the parameters. More... | |
virtual void | addInitialGeneralizedStrain (const Vector &) |
Increments generalized strain. More... | |
virtual void | zeroInitialGeneralizedStrain (void) |
zeroes initial generalized strain | |
virtual int | commitState (void)=0 |
virtual int | revertToLastCommit (void)=0 |
virtual int | revertToStart (void)=0 |
![]() | |
TaggedObject (int tag, CommandEntity *owr=nullptr) | |
Constructor. More... | |
void | assignTag (int newTag) |
Set tag (to be called from Python interface). | |
int | getTag (void) const |
Returns the tag associated with the object. | |
virtual void | Print (std::ostream &, int flag=0) |
Print stuff. | |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (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 | sendSelf (CommParameters &cp)=0 |
Send the object. More... | |
virtual int | recvSelf (const CommParameters &cp)=0 |
Receive the object. 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 . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (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. | |
![]() | |
void | setTag (int newTag) |
Set tag. More... | |
Protected Attributes | |
Matrix * | fDefault |
Default flexibility matrix. | |
MaterialHandler * | material_handler |
Material definition handler (search,...). | |
Base class for force deformation section models.
Constitutive equations of the section.
XC::SectionForceDeformation::SectionForceDeformation | ( | int | tag, |
int | classTag, | ||
MaterialHandler * | mat_ldr = nullptr |
||
) |
Constructor.
tag | object identifier. |
classTag | object class identifier. |
mat_ldr | model wide material objects manager. |
|
virtual |
Adds to the generalized strains vector inicial el being passed as parameter.
|
virtual |
Returns the density (mass per unit length/area/volume) of the section.
Reimplemented in XC::MembranePlateFiberSection, and XC::ElasticMembranePlateSection.
|
virtual |
Returns the tangent flexibility matrix of the section.
Obtains the section tangent stiffness matrix, \(ksec\), and returns its inverse, the section flexibility matrix, \(fsec\), via an explicit matrix inversion. NOTE: The explicit matrix inversion provides default behavior and may be overridden in subclasses to suit specific SectionForceDeformation implementations.
Reimplemented in XC::SectionAggregator, XC::GenericSection1d, XC::ElasticSection2d, XC::ElasticSection3d, XC::YieldSurfaceSection2d, XC::ElasticShearSection3d, XC::FiberSectionShear3d, and XC::ElasticShearSection2d.
|
pure virtual |
Return the section tangent stiffness matrix, \(ksec\), at the current trial state.
Implemented in XC::FiberSectionBase, XC::SectionAggregator, XC::Isolator2spring, XC::MembranePlateFiberSection, XC::GenericSection1d, XC::GenericSectionNd, XC::Bidirectional, XC::ElasticSection2d, XC::ElasticSection3d, XC::YieldSurfaceSection2d, XC::ElasticShearSection3d, XC::ElasticMembranePlateSection, XC::FiberSectionShear3d, XC::ElasticShearSection2d, and XC::ElasticPlateSection.
|
pure virtual |
Return the section resisting forces, \(ssec\), at the current trial state.
Implemented in XC::FiberSectionBase, XC::SectionAggregator, XC::Isolator2spring, XC::MembranePlateFiberSection, XC::GenericSection1d, XC::Bidirectional, XC::GenericSectionNd, XC::ElasticSection2d, XC::ElasticSection3d, XC::YieldSurfaceSection2d, XC::ElasticShearSection3d, XC::ElasticMembranePlateSection, XC::FiberSectionShear3d, XC::ElasticShearSection2d, and XC::ElasticPlateSection.
|
pure virtual |
Return the ordering and type of response quantities returned by this object.
Return the section ResponseId code that indicates the ordering and type of response quantities returned by the section. Lets the calling object (e.g. an Element) know how to interpret the quantites returned by this object.
Implemented in XC::SectionAggregator, XC::Isolator2spring, XC::GenericSection1d, XC::Bidirectional, XC::GenericSectionNd, XC::FiberSection2d, XC::ElasticSection2d, XC::ElasticSection3d, XC::FiberSectionGJ, XC::FiberSection3d, XC::FiberSectionShear3d, XC::MembranePlateFiberSection, XC::ElasticShearSection3d, XC::YieldSurfaceSection2d, XC::ElasticShearSection2d, XC::ElasticMembranePlateSection, and XC::ElasticPlateSection.
|
pure virtual |
Set the value of the trial section deformation vector, \(esec\) to be {def}.
To return \(0\) if successful, a negative number if not.
Implemented in XC::SectionAggregator, XC::Isolator2spring, XC::FiberSectionBase, XC::MembranePlateFiberSection, XC::Bidirectional, XC::GenericSection1d, XC::GenericSectionNd, XC::FiberSection2d, XC::FiberSection3d, XC::FiberSectionGJ, XC::YieldSurfaceSection2d, XC::FiberSectionShear3d, XC::BaseElasticSection, XC::ElasticPlateProto< SZ >, XC::ElasticPlateProto< 5 >, and XC::ElasticPlateProto< 8 >.