xc
Public Member Functions | List of all members

Subdomain that sits on secondary process. More...

#include <ActorSubdomain.h>

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

Public Member Functions

 ActorSubdomain (Channel &, FEM_ObjectBroker &, DataOutputHandler::map_output_handlers *, CommandEntity *)
 
virtual int run (void)
 
virtual const VectorgetLastExternalSysResponse (void)
 Return the Vector obtained by calling getLastSysResponse() on the associated FE_Element. More...
 
virtual int update (void)
 Update the domain.
 
virtual int updateTimeDt (void)
 
virtual int barrierCheck (int res)
 barrier check.
 
- Public Member Functions inherited from XC::Subdomain
 Subdomain (int tag, DataOutputHandler::map_output_handlers *oh, CommandEntity *owr)
 Constructor. More...
 
virtual ~Subdomain (void)
 Destructor.
 
virtual int buildSubdomain (int numSubdomains, PartitionedModelBuilder &theBuilder)
 
virtual void clearAll (void)
 Removes all components from domain (nodes, elements, loads & constraints). More...
 
virtual bool addNode (Node *)
 Method to add a node to the subdomain. More...
 
virtual bool removeNode (int tag)
 Remove a node from the subdomain. More...
 
virtual NodeItergetNodes (void)
 Return an iter to all nodes that have been added to the subdomain.
 
virtual const NodegetNode (int tag) const
 Return a pointer to the node identified by the argument. More...
 
virtual NodegetNode (int tag)
 Return a pointer to the node identified by the argument. More...
 
virtual NodePtrsWithIDsgetNodePtrs (void)
 
virtual const NodePtrsWithIDsgetNodePtrs (void) const
 
virtual bool hasNode (int tag)
 
virtual bool hasElement (int tag)
 
virtual int getNumNodes (void) const
 Returns the number of external and internal Nodes.
 
virtual int commit (void)
 invokes the base Domain classes commit() method. More...
 
virtual int revertToLastCommit (void)
 Return the domain to its last committed state. More...
 
virtual int revertToStart (void)
 Return the domain to its initial state and triggers the "restart" method for all the recorders. More...
 
virtual int update (double newTime, double dT)
 Updates domain state.
 
virtual void Print (std::ostream &s, int flag=0) const
 Print stuff.
 
virtual NodeItergetInternalNodeIter (void)
 Return an iterator to the internal nodes of the subdomain, nodes that are added using the addNode() command. More...
 
virtual NodeItergetExternalNodeIter (void) const
 Return an itertor to the external nodes of the subdomain, nodes that have been added using the {addExternalNode(Node *)} method. More...
 
virtual bool addExternalNode (Node *)
 A Method to add the node pointed to by the argument. More...
 
virtual void wipeAnalysis (void)
 
virtual void setDomainDecompAnalysis (DomainDecompositionAnalysis &theAnalysis)
 Sets the corresponding DomainDecompositionAnalysis object to be {theAnalysis}. More...
 
virtual int setAnalysisAlgorithm (EquiSolnAlgo &theAlgorithm)
 
virtual int setAnalysisIntegrator (IncrementalIntegrator &theIntegrator)
 
virtual int setAnalysisLinearSOE (LinearSOE &theSOE)
 
virtual int setAnalysisConvergenceTest (ConvergenceTest &theTest)
 
virtual int invokeChangeOnAnalysis (void)
 
virtual int getNumExternalNodes (void) const
 Returns the number of external nodes that have been successfully added to the subdomain as external nodes and have yet to be removed from the subdomain. More...
 
virtual const IDgetExternalNodes (void) const
 Returns an ID containing the tags of all nodes added to the subdomain as external nodes and have yet to be removed from the subdomain. More...
 
virtual int getNumDOF (void) const
 Returns the num of external dof associated with the subdomain. More...
 
virtual int commitState (void)
 Invokes commit() on itself.
 
virtual const MatrixgetTangentStiff (void)
 
virtual const MatrixgetInitialStiff (void)
 For this class does nothing but print an error message. More...
 
virtual const MatrixgetDamp (void)
 For this class does nothing but print an error message. More...
 
virtual const MatrixgetMass (void)
 For this class does nothing but print an error message. More...
 
virtual void zeroLoad (void)
 Zeroes the loads over the element. More...
 
virtual int addLoad (ElementalLoad *theLoad, double loadFactor)
 
virtual int addInertiaLoadToUnbalance (const Vector &accel)
 
virtual const VectorgetResistingForce (void) const
 Return the Vector obtained from invoking getCondensedRHS() on the DomainDecompositionAnalysis object. More...
 
virtual const VectorgetResistingForceIncInertia (void) const
 Returns the resisting force vector including inertia forces. More...
 
virtual bool isSubdomain (void)
 Return true. More...
 
virtual int setRayleighDampingFactors (const RayleighDampingFactors &rF)
 Set Rayleigh damping factors.
 
virtual int computeTang (void)
 The method first starts a Timer object running. More...
 
virtual int computeResidual (void)
 The method first starts a Timer object running. More...
 
virtual const MatrixgetTang (void)
 Return the Matrix obtained from invoking getTangent() on the DomainDecompositionAnalysis object. More...
 
void setFE_ElementPtr (FE_Element *theFE_Ele)
 Set the corresponding {FE_Element} to be that poited to by {theFEelePtr}. More...
 
virtual int computeNodalResponse (void)
 Set the nodal responses for the nodes in the subdomain. More...
 
virtual int newStep (double deltaT)
 
virtual bool doesIndependentAnalysis (void)
 
virtual int sendSelf (Communicator &)
 Send itself.
 
virtual int recvSelf (const Communicator &)
 Receive itself.
 
virtual double getCost (void)
 Return the current value of realCost. More...
 
- Public Member Functions inherited from XC::Element
 Element (int tag, int classTag)
 Constructor that takes the element's unique tag and the number of external nodes for the element. More...
 
virtual ElementgetCopy (void) const =0
 Virtual constructor.
 
virtual int getNumEdges (void) const
 Returns number of edges (it must be overloaded for elements that have nodes inside edges. More...
 
virtual BoolArray3d getNodePattern (void) const
 Return a grid of booleans, one for each of the element nodes. More...
 
std::vector< int > getIdxNodes (void) const
 Return the indexes of the nodes (used when creating VTK meshes). More...
 
virtual size_t getDimension (void) const
 Returns the element dimension (0, 1, 3 or 3).
 
virtual double getLength (bool initialGeometry=true) const
 Return the element length. More...
 
virtual double getArea (bool initialGeometry=true) const
 Return the element area. More...
 
virtual double getVolume (bool initialGeometry=true) const
 Return the element volume. More...
 
virtual void setIdNodes (const std::vector< int > &inodes)
 Set the nodes.
 
virtual void setIdNodes (const ID &inodes)
 Set the nodes.
 
virtual void setIdNode (const int &i, const int &inode)
 Set the i-th node.
 
int find (const Node *) const
 Returns the index of the node whose pointer is being passed as parameter. More...
 
void replaceNode (Node *, Node *)
 Replace the old node by the new one. More...
 
void setDomain (Domain *theDomain)
 Sets the domain for the element.
 
virtual const MatrixgetTangentStiff (void) const =0
 Return the tangent stiffness matrix. More...
 
virtual const MatrixgetInitialStiff (void) const =0
 
virtual const MatrixgetDamp (void) const
 Returns the damping matrix. More...
 
virtual const MatrixgetMass (void) const
 Returns the mass matrix. More...
 
virtual Matrix getMass (const Node *) const
 Returns the mass matrix corresponding to the node argument.
 
Matrix getTotalMass (void) const
 Returns the sum of the mass matrices corresponding to the nodes.
 
double getTotalMassComponent (const int &) const
 Return the mass matrix component for the DOF argument.
 
Matrix getNodeMatrixComponents (const Node *, const Matrix &) const
 Returns the components of the matrix relative to the node. More...
 
virtual void createInertiaLoad (const Vector &)
 Creates the inertia load that corresponds to the acceleration argument. More...
 
virtual int setRayleighDampingFactors (const RayleighDampingFactors &rF) const
 Set Rayleigh damping factors.
 
const VectorgetNodeResistingComponents (const size_t &, const Vector &) const
 Returns the generalized force of the element over the iNod-th node. More...
 
const VectorgetNodeResistingForce (const size_t &iNod) const
 Returns the generalized force of the element over the iNod-th node. More...
 
const VectorgetNodeResistingForceIncInertia (const size_t &iNod) const
 Returns the generalized force (including inertia forces) of the element over the node identified by the argument. More...
 
const VectorgetNodeResistingForce (const Node *) const
 Returns the generalized force of the element over the node identified by the argument. More...
 
const VectorgetNodeResistingForceIncInertia (const Node *) const
 Returns the generalized force (including inertia forces) of the element over the node identified by the argument. More...
 
const VectorgetNodeResistingForceByTag (const int &) const
 Returns the generalized force of the element over the node identified by the given integer. More...
 
const VectorgetNodeResistingForceIncInertiaByTag (const int &) const
 Returns the generalized force (including inertia forces) of the element over the node identified by the given integer. More...
 
Vector getEquivalentStaticLoad (int mode, const double &) const
 Returns the equivalent static load for the mode being passed as parameter and the acceleration that corresponding that mode. More...
 
Matrix getEquivalentStaticNodalLoads (int mode, const double &) const
 Returns the equivalent static load on each node for the mode being passed as parameter and the corresponding acceleration to the mode. More...
 
virtual ResponsesetResponse (const std::vector< std::string > &argv, Information &eleInformation)
 setResponse() is a method invoked to determine if the element will respond to a request for a certain of information. More...
 
virtual int getResponse (int responseID, Information &eleInformation)
 Obtain information from an analysis. More...
 
ResponsesetMaterialResponse (Material *, const std::vector< std::string > &, const size_t &, Information &)
 
virtual int addInertiaLoadSensitivityToUnbalance (const Vector &accel, bool tag)
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
int setMaterialParameter (Material *, const std::vector< std::string > &, const size_t &, Parameter &)
 Set the value of a parameter of the material. More...
 
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 VectorgetResistingForceSensitivity (int gradNumber)
 
virtual const MatrixgetInitialStiffSensitivity (int gradNumber)
 
virtual const MatrixgetDampSensitivity (int gradNumber)
 
virtual const MatrixgetMassSensitivity (int gradNumber)
 
virtual int commitSensitivity (int gradNumber, int numGrads)
 
virtual int addResistingForceToNodalReaction (bool inclInertia)
 Adds nodal reactions.
 
double MaxCooNod (int i) const
 Returns the maximum value of the i coordinate of the element nodes.
 
double MinCooNod (int i) const
 Returns the minimum value of the i coordinate of the element nodes.
 
const MatrixgetCooNodes (void) const
 Returns the coordinates of the nodes.
 
virtual Matrix getLocalAxes (bool initialGeometry=true) const
 Returns a matrix with the axes of the element as matrix rows [[x1,y1,z1],[x2,y2,z2],...ยท]. More...
 
virtual Vector getBaseVector (size_t i, bool initialGeometry=true) const
 Returns a base vector in the direction of the local i-th axis from the i-th row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getBaseVector3d (size_t i, bool initialGeometry=true) const
 Returns a base vector in the direction of the local i-th axis from the i-th row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getIVector3d (bool initialGeometry=true) const
 Returns a vector in the direction of the local x axis from the first row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getJVector3d (bool initialGeometry=true) const
 Returns a vector in the direction of the local y axis from the second row of the matrix returned by getLocalAxes. More...
 
virtual Vector3d getKVector3d (bool initialGeometry=true) const
 Returns a vector in the direction of the local z axis from the third row of the matrix returned by getLocalAxes. More...
 
virtual Rect3d3dCooSys getCooSys (bool) const
 Returns the element coordinate system from the matrix returned by getLocalAxes. More...
 
virtual Rect2d2dCooSys getCooSys2d (bool) const
 Returns the element coordinate system from the matrix returned by getLocalAxes. More...
 
Pos3d getPosNode (const size_t &i, bool initialGeometry=true) const
 Returns the position of the i-th node. More...
 
std::deque< Pos3dgetPosNodes (bool initialGeometry=true) const
 Returns the coordinates of the nodes. More...
 
virtual Pos3d getCenterOfMassPosition (bool initialGeometry=true) const
 Returns the coordinates of the center of gravity of the element. More...
 
Vector getCenterOfMassCoordinates (bool initialGeometry=true) const
 Returns the coordinates of the center of mass of the element. More...
 
Pos3dArray3d getPoints (const size_t &ni, const size_t &nj, const size_t &nk, bool initialGeometry=true)
 Returns a grid of points distributed along the element. More...
 
bool In (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const
 Return true if the element is inside the given object.
 
bool Out (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const
 Return true if the element is outside the given object.
 
bool In (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const
 Return true if the element is inside the given object.
 
bool Out (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const
 Return true if the element is outside the given object.
 
bool Crosses (const GeomObj3d &, const double &factor=1.0, const double &tol=0.0) const
 Return true if the element cross (i.e. More...
 
bool Crosses (const GeomObj2d &, const double &factor=1.0, const double &tol=0.0) const
 Return true if the element cross (i.e. More...
 
virtual double getDist2 (const Pos2d &p, bool initialGeometry=true) const
 Returns the squared distance from the element to the point being passed as parameter. More...
 
virtual double getDist (const Pos2d &p, bool initialGeometry=true) const
 Returns the the distance from the element to the point being passed as parameter. More...
 
virtual double getDist2 (const Pos3d &p, bool initialGeometry=true) const
 Returns the squared distance from the element to the point being passed as parameter. More...
 
virtual double getDist (const Pos3d &p, bool initialGeometry=true) const
 Returns the the distance from the element to the point being passed as parameter. More...
 
virtual Pos2d getProjection (const Pos2d &p, bool initialGeometry=true) const
 Return the projection of the argument on the element. More...
 
virtual Pos3d getProjection (const Pos3d &p, bool initialGeometry=true) const
 Return the projection of the argument on the element. More...
 
void resetTributaries (void) const
 Resets tributary areas of connected nodes.
 
void dumpTributaries (const std::vector< double > &) const
 Adds to the tributary magnitude of each node the vector being passed as parameter. More...
 
virtual void computeTributaryLengths (bool initialGeometry=true) const
 Computes the tributary lengths that corresponds to each node of the element. More...
 
virtual double getTributaryLength (const Node *) const
 Returns the tributary length corresponding to the node being passed as parameter. More...
 
virtual double getTributaryLengthByTag (const int &) const
 Returns the tributary length corresponding to the node which tag se pasa as parameter. More...
 
virtual void computeTributaryAreas (bool initialGeometry=true) const
 Compute tributary areas for each element node. More...
 
virtual double getTributaryArea (const Node *) const
 Returns the tributary area corresponding to the node.
 
virtual double getTributaryAreaByTag (const int &) const
 Returns the tributary area corresponding to the node.
 
virtual void computeTributaryVolumes (bool initialGeometry=true) const
 Computes the tributary volumes that corresponds to each node of the element. More...
 
virtual double getTributaryVolume (const Node *) const
 Returns the tributary volume corresponding to the node being passed as parameter. More...
 
virtual double getTributaryVolumeByTag (const int &) const
 Returns the tributary volume corresponding to the node which tag se pasa as parameter. More...
 
virtual ParticlePos3d getNaturalCoordinates (const Pos3d &, bool initialGeometry=true) const
 Return the natural coordinates that correspond to the given position. More...
 
virtual Vector getInterpolationFactors (const ParticlePos3d &) const
 Returns interpolation factors for a material point.
 
virtual Vector getInterpolationFactors (const Pos3d &) const
 Returns interpolation factors for a material point.
 
virtual int getVtkCellType (void) const
 Interfaz con VTK.
 
virtual const GaussModelgetGaussModel (void) const
 Returns the Gauss integration model of the element.
 
virtual NodesEdge getNodesEdge (const size_t &) const
 Returns the nodes of the element edge.
 
virtual int getEdgeNodes (const Node *, const Node *) const
 Returns the edge of the element that ends in the nodes being passed as parameters. More...
 
int getEdgeNodes (const int &, const int &) const
 Returns the edge of the element that ends in the nodes with the tags being passed as parameters. More...
 
virtual ID getEdgesNode (const Node *) const
 Returns the edges of the element that ends in the node being passed as parameter. More...
 
std::set< int > getEdgesNodes (const NodePtrSet &) const
 Returns the element edges that have both ends in the node set being passed as parameter. More...
 
ID getEdgesNodeByTag (const int &) const
 Returns the edges of the element that have an en in the node with the tag being passed as parameter. More...
 
virtual ID getLocalIndexNodesEdge (const size_t &i) const
 Returns the local indexes of the element nodes that lie over the i-th edge. More...
 
virtual std::set< std::string > getMaterialNames (void) const
 Return the names of the material(s) of the element.
 
boost::python::list getMaterialNamesPy (void) const
 Return the names of the material(s) of the element in a Python list.
 
virtual boost::python::list getValuesAtNodes (const std::string &, bool silent=false) const
 Return a python list with the values of the argument property at element nodes. More...
 
std::set< SetBase * > get_sets (void) const
 Returns the sets to which the element belongs.
 
void add_to_sets (std::set< SetBase *> &)
 Adds the element to the sets being passed as parameters.
 
void copySetsFrom (const Element &)
 Add this element to all the sets containing the given one.
 
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::MeshComponent
 MeshComponent (int classTag)
 Constructor.
 
 MeshComponent (int tag, int classTag)
 Constructor.
 
- Public Member Functions inherited from XC::ContinuaReprComponent
 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.
 
- 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.
 
Preprocessor