xc
|
Partitioned domain (aggregation of subdomains). More...
#include <PartitionedDomain.h>
Public Member Functions | |
PartitionedDomain (CommandEntity *owr, DataOutputHandler::map_output_handlers *oh) | |
Constructor. More... | |
PartitionedDomain (CommandEntity *owr, DomainPartitioner &thePartitioner, DataOutputHandler::map_output_handlers *oh) | |
Constructor. More... | |
PartitionedDomain (CommandEntity *owr, int numNods, int numElems, int numSPs, int numMPs, int numLPatterns, int numNLockers, int numSubdom, DomainPartitioner &thePartitioner, DataOutputHandler::map_output_handlers *oh) | |
Constructor. More... | |
virtual | ~PartitionedDomain (void) |
Destructor. | |
virtual bool | addElement (Element *elePtr) |
To add the element pointed to by theElementPtr to the domain. More... | |
virtual bool | addNode (Node *nodePtr) |
Adds the node pointed to by theNodePtr to the domain. More... | |
virtual bool | addLoadPattern (LoadPattern *) |
Add the load pattern to the domain. | |
virtual bool | addSFreedom_Constraint (SFreedom_Constraint *) |
Adds the single point constraint pointed to by theSPptr to the domain. More... | |
virtual bool | addSFreedom_Constraint (SFreedom_Constraint *, int loadPatternTag) |
Adds to the domain a single freedom constraint. | |
virtual bool | addMFreedom_Constraint (MFreedom_Constraint *) |
Adds the multiple freedom constraint pointed to by the argument. More... | |
virtual bool | addMRMFreedom_Constraint (MRMFreedom_Constraint *) |
Adds to the domain a multi-freedom multi-retained node constraint. | |
virtual bool | addNodalLoad (NodalLoad *, int loadPatternTag) |
Appends a nodal load to the pattern being passed as parameter. More... | |
virtual bool | addElementalLoad (ElementalLoad *, int loadPatternTag) |
Adds a load over element to the pattern. More... | |
virtual void | clearAll (void) |
Removes all components from domain (nodes, elements, loads & constraints). More... | |
virtual bool | removeElement (int tag) |
Remove the element whose tag is given by tag . More... | |
virtual bool | removeNode (int tag) |
Remove the node whose tag is given by tag . More... | |
virtual bool | removeSFreedom_Constraint (int tag) |
To remove the SFreedom_Constraint whose tag is given by tag from the domain. More... | |
virtual bool | removeMFreedom_Constraint (int tag) |
To remove the MFreedom_Constraint whose tag is given by tag . More... | |
virtual bool | removeLoadPattern (int loadTag) |
To remove the load case whose tag is given by tag . More... | |
virtual ElementIter & | getElements () |
Return an iterator to the element container. More... | |
virtual Element * | getElement (int tag) |
Return the element identified by the argument. More... | |
virtual int | getNumElements (void) const |
Return the number of elements. | |
virtual void | setCommitTag (int newTag) |
Set the committed tag to newTag . | |
virtual void | setCurrentTime (double newTime) |
Sets the current pseudo-time of the domain. More... | |
virtual void | setCommittedTime (double newTime) |
Set the committed time to newTime . | |
virtual void | applyLoad (double pseudoTime) |
Applies the load to all the subdomains. More... | |
virtual void | setLoadConstant (void) |
Set all the loads as constant. More... | |
virtual int | commit (void) |
The partioned domain iterates through all the subdomains invoking {commit()} on them. More... | |
virtual int | revertToLastCommit (void) |
Return the domain to its last commited 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 (void) |
Updates the state of the domain. More... | |
virtual int | update (double newTime, double dT) |
Actualiza el estado del domain. | |
virtual int | newStep (double dT) |
virtual int | addRecorder (Recorder &theRecorder) |
Adds a recorder to the model. More... | |
virtual int | removeRecorders (void) |
Remove the recorders. | |
virtual void | Print (std::ostream &s, int flag=0) |
Print stuff. More... | |
virtual int | setPartitioner (DomainPartitioner *thePartitioner) |
virtual int | partition (int numPartitions, bool usingMain=false, int mainPartitionID=0) |
Triggers the partition of the domain. More... | |
virtual bool | addSubdomain (Subdomain *theSubdomain) |
Adds the subdomain pointed to by theSubdomainPtr to the domain. More... | |
virtual int | getNumSubdomains (void) |
Return the number of Subdomains (partitions). | |
virtual Subdomain * | getSubdomainPtr (int tag) |
Return the Subdomain whose tag is given by tag . | |
virtual SubdomainIter & | getSubdomains (void) |
Return an iterator for the Subdomains of the PartitionedDomain. | |
virtual bool | removeExternalNode (int tag) |
a method which will only remove a node from the partitioned domain it does not touch the subdomains . More... | |
virtual Graph & | getSubdomainGraph (void) |
This will create a new graph each time it is invoked; deleting the old graph. More... | |
virtual double | getNodeDisp (int nodeTag, int dof, int &errorFlag) |
Return the value of the dof component of displacement for the node with the tag being passed as parameter. More... | |
virtual int | setMass (const Matrix &mass, int nodeTag) |
Set the mass matrix for the node identified by the argument. | |
![]() | |
Domain (CommandEntity *owr, DataOutputHandler::map_output_handlers *oh) | |
Constructor. More... | |
Domain (CommandEntity *owr, int numNods, int numElements, int numSPs, int numMPs, int numLPatterns, int numNLockers, DataOutputHandler::map_output_handlers *oh) | |
Constructor. More... | |
virtual | ~Domain (void) |
Destructor. More... | |
virtual bool | addNodeLocker (NodeLocker *) |
Appends the node locker object to the domain. | |
virtual bool | addLoadCombination (LoadCombination *) |
Adds to the domain the load combination being passed as parameter. | |
void | setNodeReactionException (const int &) |
Sets the exception for node reactions checking (see Domain::checkNodalReactions). | |
bool | checkNodalReactions (const double &) |
Check that al free nodes have zero reaction. | |
virtual bool | removeSFreedom_Constraint (int theNode, int theDOF, int loadPatternTag) |
Remove the single freedom constraint from the load pattern identified by the argument. More... | |
virtual bool | removeMRMFreedom_Constraint (int tag) |
Removes from domain the multi-freedom multi-retained node constraint identified by the argument. More... | |
virtual bool | removeNodeLocker (int nlTag) |
Remove from domain el. | |
bool | removeLoadPattern (LoadPattern *lp) |
Remove from domain el load pattern being passed as parameter. | |
bool | removeNodeLocker (NodeLocker *lp) |
Remove from domain el load pattern being passed as parameter. | |
void | removeLoadCombination (LoadCombination *comb) |
Removes from the domain the load combination being passed as parameter. More... | |
void | removeLPs (void) |
Remove from domain todos los load patterns. | |
void | removeNLs (void) |
Remove all node lockers from domain. | |
virtual bool | removeNodalLoad (int tag, int loadPattern) |
Removes from domain the nodal load being passed as parameter. More... | |
virtual bool | removeElementalLoad (int tag, int loadPattern) |
Removes from domain the elemental load being passed as parameter. More... | |
virtual bool | removeSFreedom_Constraint (int tag, int loadPattern) |
Removes from domain the single freedom constraint being passed as parameter. More... | |
virtual void | clearDOF_GroupPtr (void) |
Clears the pointers to DOF groups. | |
virtual NodeIter & | getNodes (void) |
Returns an iterator to the node container. | |
virtual Mesh & | getMesh (void) |
Returns a reference to the domain mesh. | |
virtual const Mesh & | getMesh (void) const |
Returns a reference to the domain mesh. | |
virtual ConstrContainer & | getConstraints (void) |
Returns domain constraints. | |
virtual const ConstrContainer & | getConstraints (void) const |
Returns domain constraints. | |
const std::string & | getCurrentCombinationName (void) const |
Return the name of the current load combination. | |
bool | existElement (int tag) |
Returns true if the element identified by the tag being passed as parameter already exists en el domain. More... | |
virtual const Element * | getElement (int tag) const |
Returns a const pointer to the element identified by the argument. More... | |
bool | existNode (int tag) |
Return true if the mesh has a node with this tag. More... | |
virtual Node * | getNode (int tag) |
Return a pointer to the node identified by the argument. More... | |
virtual const Node * | getNode (int tag) const |
Return a pointer to the node identified by the argument. More... | |
const PseudoTimeTracker & | getTimeTracker (void) const |
int | getCurrentGeoTag (void) const |
virtual int | getCommitTag (void) const |
virtual int | getNumNodes (void) const |
Return the number of nodes. | |
virtual const Vector & | getPhysicalBounds (void) |
virtual Graph & | getElementGraph (void) |
Builds (if necessary) the domain elements graph and returns a reference to it. More... | |
virtual Graph & | getNodeGraph (void) |
Builds (if necessary) the domain node graph and returns a reference to it. More... | |
virtual void | setTime (double newTime) |
virtual int | initialize (void) |
Inicializa. | |
virtual int | setRayleighDampingFactors (const RayleighDampingFactors &rF) |
Set Rayleigh damping factors. | |
void | resetLoadCase (void) |
Prepares the domain to solve for a new load pattern. | |
int | getNumModes (void) const |
Return the number of computed eigenvalues. | |
virtual int | setEigenvalues (const Vector &) |
Sets eigenvalues. | |
virtual const double & | getEigenvalue (int) const |
Return the eigenvalue of the i-th mode. | |
double | getAngularFrequency (int) const |
Return the angular frequency of the i-th mode. | |
double | getPeriodo (int) const |
Return the period of the i-th mode. | |
double | getFrecuencia (int) const |
Return the frequency of the i-th mode. | |
virtual const Vector & | getEigenvalues (void) const |
Return the eigenvalues vector. | |
Vector | getAngularFrequencies (void) const |
Returns a vector with the computed angular frequencies (for each mode). | |
Vector | getPeriodos (void) const |
Returns a vector with the computed periods (for each mode). | |
Vector | getFrecuencias (void) const |
Returns a vector with the computed frequencies (for each mode). | |
virtual int | setModalParticipationFactors (const Vector &) |
Sets the values of the modal participation factors. | |
virtual const double & | getModalParticipationFactor (int mode) const |
Return the modal participation factor of the i-th mode. | |
virtual const Vector & | getModalParticipationFactors (void) const |
Return the modal participation factors. | |
const double | getEffectiveModalMass (int mode) const |
Return the effective modal mass of the i-th mode. | |
Vector | getEffectiveModalMasses (void) const |
Return the effective modal masses for each mode. | |
double | getTotalMass (void) const |
Return the total effective modal mass. | |
virtual void | domainChange (void) |
Sets a flag indicating that the integer returned in the next call to hasDomainChanged() must be incremented by \(1\). More... | |
virtual int | hasDomainChanged (void) |
Returns true if the model has changed. More... | |
virtual void | setDomainChangeStamp (int newStamp) |
Set the domain stamp to be newStamp . More... | |
virtual int | addRegion (MeshRegion &theRegion) |
Adds a region. | |
virtual MeshRegion * | getRegion (int region) |
Returns a pointer to the region identified by the argument. | |
virtual int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
virtual int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
const Preprocessor * | getPreprocessor (void) const |
Returns (if possible) a pointer to the preprocessor. | |
Preprocessor * | getPreprocessor (void) |
Returns (if possible) a pointer to the preprocessor. | |
virtual int | calculateNodalReactions (bool inclInertia, const double &) |
Calculate nodal reaction forces and moments. | |
![]() | |
ObjWithRecorders (CommandEntity *owr, DataOutputHandler::map_output_handlers *oh=nullptr) | |
virtual | ~ObjWithRecorders (void) |
Destructor. | |
Recorder * | newRecorder (const std::string &, DataOutputHandler *oh=nullptr) |
Read a Recorder object from file. | |
recorder_iterator | recorder_begin (void) |
const_recorder_iterator | recorder_begin (void) const |
recorder_iterator | recorder_end (void) |
const_recorder_iterator | recorder_end (void) const |
virtual int | record (int track, double timeStamp=0.0) |
To invoke {record(cTag, timeStamp)} on any Recorder objects which have been added. More... | |
void | restart (void) |
To invoke {restart()} on any Recorder objects which have been added. More... | |
void | setLinks (Domain *dom) |
Asigna el domain a los recorders. | |
void | SetOutputHandlers (DataOutputHandler::map_output_handlers *oh) |
Set the outputhandlers container. | |
![]() | |
DistributedBase (void) | |
Constructor. | |
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 | barrierCheck (int result) |
DomainPartitioner * | getPartitioner (void) const |
Return a pointer to the DomainPartitioner object associated with the PartitionedDomain. More... | |
virtual int | buildEleGraph (Graph &theEleGraph) |
A method which will cause the domain to discard the current element graph and build a new one based on the element connectivity. More... | |
![]() | |
virtual int | buildNodeGraph (Graph &theNodeGraph) |
Builds the node graph. More... | |
virtual Domain * | get_domain_ptr (void) |
void | free_mem (void) |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags de los miembros of the clase. More... | |
int | sendData (CommParameters &cp) |
Send data through the channel being passed as parameter. | |
int | recvData (const CommParameters &cp) |
Receive data through the channel being passed as parameter. | |
![]() | |
int | sendData (CommParameters &cp) |
int | recvData (const CommParameters &cp) |
size_t | getNumRecorders (void) const |
Returns the number of recorders already defined. | |
Friends | |
class | PartitionedDomainEleIter |
Additional Inherited Members | |
![]() | |
typedef std::list< Recorder * > | lista_recorders |
typedef lista_recorders::iterator | recorder_iterator |
typedef lista_recorders::const_iterator | const_recorder_iterator |
![]() | |
static void | setDeadSRF (const double &) |
Assigns Stress Reduction Factor for element deactivation. | |
Partitioned domain (aggregation of subdomains).
PartitionedDomain is an extension of Domain. A partitioned domain is an aggregation of subdomains. All elements, nodes, loadcases are added to the PartitionedDomain. The components can be moved among subdomains (keeping in mind that subdomains are themselves subclasses of domain and therefore must obey the requirements for adding and removing elements specified in the interface for Domain) by invoking the remove..() and add...() methods on the subdomain.
XC::PartitionedDomain::PartitionedDomain | ( | CommandEntity * | owr, |
DataOutputHandler::map_output_handlers * | oh | ||
) |
Constructor.
owr | object that encloses this one. |
oh | to DEPRECATE. |
XC::PartitionedDomain::PartitionedDomain | ( | CommandEntity * | owr, |
DomainPartitioner & | thePartitioner, | ||
DataOutputHandler::map_output_handlers * | oh | ||
) |
Constructor.
Constructs an empty PartitionedDomain. A link with the domain partitioner thePartitioner
is set up. The thePartitioner
is used by the domain to partition and load balance the partitioned domain.
owr | object that encloses this one. |
thePartitioner | object that make the partition. |
oh | to DEPRECATE. |
XC::PartitionedDomain::PartitionedDomain | ( | CommandEntity * | owr, |
int | numNodes, | ||
int | numElements, | ||
int | numSPs, | ||
int | numMPs, | ||
int | numLoadPatterns, | ||
int | numNodeLockers, | ||
int | numSubdomains, | ||
DomainPartitioner & | thePartitioner, | ||
DataOutputHandler::map_output_handlers * | oh | ||
) |
Constructor.
Constructs an empty PartitionedDomain, storage is allocated for the components that are to be added using the estimated number of components passed as arguments. A link with the domain partitioner thePartitioner
is set up. The thePartitioner
is used by the domain to partition and load balance the partitioned domain.
owr | object that encloses this one. |
thePartitioner | object that make the partition. |
oh | to DEPRECATE. |
|
virtual |
To add the element pointed to by theElementPtr to the domain.
To add the element pointed to by theElementPtr to the domain. If check
is true
the domain is responsible for checking to see that: 1) no other element with a similar tag, element number, exists in any of the subdomains. If check is successfull the partitioned domain attempts to add the element to the storage arrey. The call returns false
if the element was not added, otherwise true
is returned.
Reimplemented from XC::Domain.
|
virtual |
Adds a load over element to the pattern.
To add the elemental load theld
to the LoadPattern in the domain whose tag is given by loadPatternTag
. If {_DEBUG} is defines, checks to see that corresponding element exists in the domain. A pointer to the LoadPattern is obtained from the LoadPattern container and the load is added to LoadPattern by invoking {addElementalLoad(theLd)} on the LoadPattern object. The domain is responsible for invoking {setDomain(this)} on the load. The call returns true
if the load was added, otherwise a warning is raised and and {false} is returned.
load | load over element. |
pattern | load pattern identifier. |
Reimplemented from XC::Domain.
|
virtual |
Adds the multiple freedom constraint pointed to by the argument.
Adds the multiple freedom constraint pointed to by the argument, to the domain. The domain performs some checks is check
is true. If successful the domain adds the constraint using {Domain::addMP_Constraint()}. The call returns false
if the constraint was not added, otherwise true
is returned.
Reimplemented from XC::Domain.
|
virtual |
Appends a nodal load to the pattern being passed as parameter.
To add the nodal load theld
to the LoadPattern in the domain whose tag is given by loadPatternTag
. If {_DEBUG} is defines, checks to see that corresponding node exists in the domain. A pointer to the LoadPattern is obtained from the LoadPattern container and the load is added to LoadPattern by invoking {addNodalLoad(theLd)} on the LoadPattern object. The domain is responsible for invoking {setDomain(this)} on the load. The call returns true
if the load was added, a warning is raised and and {false} is returned.
load | load over node. |
pattern | load pattern identifier. |
Reimplemented from XC::Domain.
|
virtual |
Adds the node pointed to by theNodePtr to the domain.
Adds the node pointed to by theNodePtr to the domain. If check
is true
the domain is responsible for checking that no other node with a similar tag, node number, exists in any of the subdomains. If successfull the partition domain attempts to add the node by invoking {Domain::addNode}. The call returns false
if the node was not added, otherwise true
is returned.
Reimplemented from XC::Domain.
|
virtual |
Adds a recorder to the model.
To add a recorder object theRecorder
to the domain. {record(commitTag)} is invoked on each commit(). The pointers to the recorders are stored in an array which is resized on each invocation of this method.
Reimplemented from XC::Domain.
|
virtual |
Adds the single point constraint pointed to by theSPptr to the domain.
Adds the single point constraint pointed to by theSPptr to the domain. The domain performs some checks is check
is true. If successful the domain adds the constraint using {Domain::addSFreedom_Constraint()}. The call returns false
if the constraint was not added, otherwise true
is returned.
Reimplemented from XC::Domain.
|
virtual |
Adds the subdomain pointed to by theSubdomainPtr to the domain.
Adds the subdomain pointed to by theSubdomainPtr to the domain. The domain is responsible for checking that no other subdomain with a similar tag, has been previously added to the domain. If successfull the domain is responsible for invoking {setDomain(this)} on the Subdomain. The domain is also responsible for invoking {domainChange()}. The call returns false
if the subdomain was not added, otherwise true
is returned.
|
virtual |
Applies the load to all the subdomains.
The partioned domain iterates through all the subdomains invoking {applyLoad(double timeStamp)} on them.
Reimplemented from XC::Domain.
|
protectedvirtual |
A method which will cause the domain to discard the current element graph and build a new one based on the element connectivity.
A method which will cause the domain to discard the current element graph and build a new one based on the element connectivity. Returns \(0\) if successfull otherwise \(-1\) is returned along with an error message to std::cerr.
Reimplemented from XC::Domain.
|
virtual |
Removes all components from domain (nodes, elements, loads & constraints).
To remove all the components from the model and invoke the destructor on these objects. First clearAll() is invoked on all the LoadPattern objects. Then the domain object invokes {clearAll()} on its container objects. In addition the destructor for each Recorder object that has been added to the domain is invoked. In addition the current time and load factor are set to \(0\), and the box bounding the domain is set to the box enclosing the origin.
GENERAL NOTE ON REMOVAL OF COMPONENTS: downward casts (while bad) are o.k. as only the type of components can be added to the storage objects, e.g. only elements can be added to theElements therefore casting a DomainComponent from theElements to an Element is o.k.
Reimplemented from XC::Domain.
|
virtual |
The partioned domain iterates through all the subdomains invoking {commit()} on them.
Reimplemented from XC::Domain.
|
virtual |
Return the element identified by the argument.
Returns a pointer to the element whose tag is given by tag
. If no such element exists \(0\) is returned. This is done by invoking {getElement(tag)} on the subdomains until the element is found or no more subdomains exist; in which case a \(0\) is returned.
Reimplemented from XC::Domain.
|
virtual |
Return an iterator to the element container.
It returns an PartionedDomEleIter
for the elements of the domain. This is an iter which goes through all the subdomains, invoking {getElements()} on the subdomain to get an ElementIter. The PartitionedDomEleIter uses this iter to go through the elements of the subdomain until it begins returning \(0\); at which point it goes on to the next subdomain.
Reimplemented from XC::Domain.
|
virtual |
Return the value of the dof component of displacement for the node with the tag being passed as parameter.
nodeTag | node identifier. |
dof | component of the displacement. |
errorFlag | error indicator. |
Reimplemented from XC::Domain.
|
protected |
Return a pointer to the DomainPartitioner object associated with the PartitionedDomain.
|
virtual |
This will create a new graph each time it is invoked; deleting the old graph.
THIS WILL BE CHANGED. A vertex is created for each Subdomain, with an edge to each Subdomain the Subdomain is connected to, a tag equal to the Subdomain tag, and a weight equal to the result of invoking getCost() on the Subdomain.
|
virtual |
Triggers the partition of the domain.
Method which first checks that subdomains with tags 1 through numPartitions
exist in the PartitionedDomain. Then it invokes {setPartitionedDomain(*this)} on the DomainPartitioner and finally it returns the result of invoking {partition(numPartitions} on the DomainPartitioner, which will return 0 if succesfull, a negative number if not.
|
virtual |
Print stuff.
To print the state of the domain. The domain invokes {Print(s,flag)} on all it's container objects.
Reimplemented from XC::Domain.
|
virtual |
Remove the element whose tag is given by tag
.
To remove the element whose tag is given by tag
from the domain. The method Returns \(0\) if no such element exists in the domain. Otherwise the domain invokes {setDomain(0)} on the element and {setDomainChange(true,true,false)} on itself before a pointer to the element is returned.
Reimplemented from XC::Domain.
|
virtual |
a method which will only remove a node from the partitioned domain it does not touch the subdomains .
. can be dangerous to use.
A method to remove a Node whose tag is given by tag
from the PartitionedDomain, but will not remove the Node from any Subdomains.
|
virtual |
To remove the load case whose tag is given by tag
.
To remove the load case whose tag is given by tag
from the domain. Returns \(0\) if the load case was not in the domain, otherwise returns a pointer to the load case that was removed. Invokes {setDomain(0)} on the load case before it is returned.
Reimplemented from XC::Domain.
|
virtual |
To remove the MFreedom_Constraint whose tag is given by tag
.
To remove the MFreedom_Constraint whose tag is given by tag
from the domain. Returns \(0\) if the constraint was not in the domain, otherwise the domain invokes {setDomain(0)} on the constraint and {setDomainChange(true,false,false)} on itself before a pointer to the constraint is returned.
Reimplemented from XC::Domain.
|
virtual |
Remove the node whose tag is given by tag
.
To remove the node whose tag is given by tag
from the domain. Returns \(0\) if no such node exists in the domain. Otherwise if the checkNeeded
is true
before the node is removed a check is made to see that the node is not referenced by any element, constraint or load. If it is referenced the Node will not be removed and \(0\) is returned. If the node is to be removed the domain invokes {setDomain(0)} on the node and {setDomainChange(true,false,true)} on itself.
Reimplemented from XC::Domain.
|
virtual |
To remove the SFreedom_Constraint whose tag is given by tag
from the domain.
To remove the SFreedom_Constraint whose tag is given by tag
from the domain. Returns \(0\) if the constraint was not in the domain, otherwise the domain invokes {setDomain(0)} on the constraint and {setDomainChange(true,false,false)} on itself before a pointer to the constraint is returned.
Reimplemented from XC::Domain.
|
virtual |
Return the domain to its last commited state.
To return the domain to the state it was in at the last commit. The domain invokes revertToLastCommit() on all nodes and elements in the domain. The domain sets its current loadFactor and time stamp to be equal to the last committed values. The domain decrements the current commitTag by \(1\). Finally it invokes applyLoad() on itself with the current time.
Reimplemented from XC::Domain.
|
virtual |
Return the domain to its initial state and triggers the "restart" method for all the recorders.
Reimplemented from XC::Domain.
|
virtual |
Sets the current pseudo-time of the domain.
Sets the current pseudo-time of the domain to be that whose tag is given by newTime
. It iterates through all the subdomains invoking the same operation on them.
Reimplemented from XC::Domain.
|
virtual |
Set all the loads as constant.
To set the loads in the LoadPatterns to be constant. The domain achieves this by invoking setLoadConstant() on all the LoadPatterns which have been added to the domain. Note that LoadPatterns added after this method has been invoked will not be constant until this method is invoked again.
Reimplemented from XC::Domain.
|
virtual |
Updates the state of the domain.
Called by the AnalysisModel to update the state of the domain. Iterates over all the elements of the Domain and invokes {update()}.
Reimplemented from XC::Domain.