xc
|
Prescribed value over a single degree of freedom. More...
#include <ImposedMotionSP1.h>
Public Member Functions | |
ImposedMotionSP1 (void) | |
constructor for FEM_ObjectBroker | |
ImposedMotionSP1 (int spTag, int nodeTag, int ndof, int patternTag, int groundMotionTag) | |
constructor for a subclass to use | |
int | applyConstraint (double loadFactor) |
Applies constraint at the pseudo-time being passed as parameter. More... | |
bool | isHomogeneous (void) const |
Returns true if it's an homogeneous constraint (prescribed value for the DOF is zero). More... | |
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 |
Printing. | |
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. | |
![]() | |
ImposedMotionBase (int classTag) | |
Constructor. More... | |
ImposedMotionBase (int classTag, int spTag, int nodeTag, int ndof, int patternTag, int theGroundMotionTag) | |
Constructor. More... | |
~ImposedMotionBase (void) | |
Destructor. | |
void | setDomain (Domain *theDomain) |
Sets the domain of the constraint. | |
double | getValue (void) const |
Returns the prescribed value. | |
int | getMotion (void) |
Gets the constraint motion. | |
![]() | |
SFreedom_Constraint (int classTag) | |
Default constructor. More... | |
SFreedom_Constraint (int spTag, int nodeTag) | |
Constructor. More... | |
SFreedom_Constraint (int spTag, int nodeTag, int ndof, int classTag) | |
Constructor for a subclass to use. More... | |
SFreedom_Constraint (int spTag, int nodeTag, int ndof, double value, bool isConstant=true) | |
Constructor. More... | |
virtual SFreedom_Constraint * | getCopy (void) const |
Virtual constructor. | |
SFreedom_Constraint * | getCopy (const int &) const |
Returns a copy of the constraint with a different tag, it's used in BoundaryCondHandler::addSFreedom_Constraint(nodeTag,seed). More... | |
virtual int | getDOF_Number (void) const |
Returns the constrained DOF number. | |
virtual bool | affectsNodeAndDOF (int, int) const |
Returns true if the constraint affects the node and DOF arguments. | |
virtual double | getInitialValue (void) |
Returns the initial value of the constraint. | |
virtual void | setLoadPatternTag (int loadPaternTag) |
Sets the load pattern tag for the constraint. More... | |
virtual int | getLoadPatternTag (void) const |
Return the load pattern tag of the constraint. | |
void | setDomain (Domain *) |
Sets the domain for the constraint. More... | |
void | setIsConstant (const bool &b) |
bool | getIsConstant (void) const |
int | getVtkCellType (void) const |
Returns the cell type to be used to represent the object in VTK graphics. More... | |
int | sendSelf (Communicator &) |
Sends object through the communicator argument. | |
int | recvSelf (const Communicator &) |
Receives object through the communicator argument. | |
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. | |
![]() | |
Constraint (int classTag) | |
Default constructor; receives the tag of the class as a paramenter. More... | |
Constraint (int spTag, int nodeTag, int classTag) | |
Constructor. More... | |
~Constraint (void) | |
Destructor. | |
void | setNodeTag (const int &nt) |
Sets the identifier of the node that will be constrained. More... | |
virtual int | getNodeTag (void) const |
Returns the identifier of the constrained node. | |
virtual const Node * | getNode (void) const |
Returns a pointer to the constrained node. | |
virtual int | getNodeIdx (void) const |
Returns an index for the node (used for VTK arrays). | |
virtual bool | affectsNode (int) const |
Returns true ifafecta to the node cuyo tag being passed as parameter. | |
![]() | |
ContinuaReprComponent (int classTag) | |
ContinuaReprComponent (int tag, int classTag) | |
virtual const bool | isDead (void) const |
Return true if the component is not active. | |
virtual const bool | isAlive (void) const |
Return true if the component is active. | |
virtual void | kill (void) |
Deactivates the component. | |
virtual void | alive (void) |
Activates the component. | |
![]() | |
~DomainComponent (void) | |
Destructor. | |
size_t | getIdx (void) const |
Returns the index of the object (to be used in VTK arrays). | |
virtual Domain * | getDomain (void) const |
Returns a pointer to the enclosing domain. More... | |
const Preprocessor * | getPreprocessor (void) const |
Returns (if possible) a pointer to the preprocessor. | |
Preprocessor * | getPreprocessor (void) |
Return (if possible) a pointer to the preprocessor. | |
const LoadPattern * | getCurrentLoadPattern (void) const |
Return the current load pattern. | |
LoadPattern * | getCurrentLoadPattern (void) |
Return the current load pattern. | |
void | set_index (const size_t &i) |
Set the index for the object (see numera in Set). More... | |
![]() | |
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. | |
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. | |
![]() | |
CommandEntity (CommandEntity *owr=nullptr) | |
Default constructor. | |
CommandEntity * | Owner (void) |
Return a pointer to the object owner. | |
const CommandEntity * | Owner (void) const |
Return un puntero al objeto propietario de ESTE. | |
const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
Return the regular output stream wrapper. | |
StandardOutputWrapper & | getStandardOutputWrapper (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. | |
![]() | |
EntityWithProperties (EntityWithProperties *owr=nullptr) | |
Default constructor. | |
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. | |
![]() | |
EntityWithOwner (EntityWithOwner *owr=nullptr) | |
Default constructor. | |
EntityWithOwner (const EntityWithOwner &) | |
Copy constructor. | |
EntityWithOwner & | operator= (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. | |
EntityWithOwner * | Owner (void) |
const EntityWithOwner * | Owner (void) const |
![]() | |
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 (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 ¶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 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 | ~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 | |
int | sendData (Communicator &comm) |
Send object members through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receives object members through the communicator argument. | |
![]() | |
int | sendData (Communicator &comm) |
Sends object members through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receives object through the communicator argument. | |
![]() | |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the object members. | |
int | sendData (Communicator &comm) |
Sends data through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receives data through the communicator argument. | |
![]() | |
int | sendData (Communicator &) |
Send members through the communicator argument. More... | |
int | recvData (const Communicator &) |
Receives members through the communicator argument. More... | |
![]() | |
int | sendData (Communicator &) |
Send members through the communicator argument. | |
int | recvData (const Communicator &) |
Receives members through the communicator argument. | |
![]() | |
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. | |
![]() | |
void | setTag (int newTag) |
Set tag. More... | |
bool | isEqual (const TaggedObject &) const |
Return true if both objects are equal. | |
![]() | |
template<class T > | |
void | string_to (T &, const std::string &) const |
![]() | |
bool | isEqual (const EntityWithProperties &) const |
Return true if both objects are equal. | |
![]() | |
virtual bool | isEqual (const EntityWithOwner &) const |
Return true if both objects are equal. | |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, boost::python::object > | PythonDict |
![]() | |
static void | resetStandardOutput (void) |
Reset the standard output streams to its defaults buffers. | |
![]() | |
static int | getVerbosityLevel (void) |
Get the value of the verbosity level. | |
static void | setVerbosityLevel (const int &) |
Set the value of the verbosity level. | |
![]() | |
static CommandEntity * | entcmd_cast (boost::any &data) |
![]() | |
GroundMotion * | theGroundMotion |
Node * | theNode |
pointer to node being constrained | |
Vector | theGroundMotionResponse |
![]() | |
int | dofNumber |
identifies which of the nodes dof is constrained | |
double | valueR |
the reference value | |
double | valueC |
if constant = the reference value, if not constant = the reference value * load factor | |
double | initialValue |
bool | isConstant |
flag indicating if constant | |
int | loadPatternTag |
![]() | |
int | constrNodeTag |
constrained node tag | |
bool | initialized |
a flag to avoid recomputing the intial value in setDomain if already initialized | |
![]() | |
static int | verbosity = 1 |
Object that owns THIS ONE. More... | |
Prescribed value over a single degree of freedom.
|
virtual |
Applies constraint at the pseudo-time being passed as parameter.
Reimplemented from XC::SFreedom_Constraint.
|
virtual |
Returns true if it's an homogeneous constraint (prescribed value for the DOF is zero).
Reimplemented from XC::ImposedMotionBase.