67 #include "domain/domain/Domain.h" 68 #include "domain/mesh/element/Element.h" 69 #include "utility/Timer.h" 70 #include "SubdomainNodIter.h" 75 class TaggedObjectStorage;
76 class DomainDecompositionAnalysis;
77 class PartitionedModelBuilder;
79 class IncrementalIntegrator;
81 class ConvergenceTest;
109 mutable ID *extNodes;
119 virtual int buildMap(
void)
const;
120 mutable bool mapBuilt;
122 mutable Vector *mappedVect;
123 mutable Matrix *mappedMatrix;
127 TaggedObjectStorage *internalNodes;
128 TaggedObjectStorage *externalNodes;
132 Subdomain(
int tag,DataOutputHandler::map_output_handlers *oh,CommandEntity *owr);
149 virtual bool hasNode(
int tag);
150 virtual bool hasElement(
int tag);
157 virtual int update(
double newTime,
double dT);
159 #ifdef _PARALLEL_PROCESSING 160 virtual int barrierCheckIN(
void) {
return 0;};
161 virtual int barrierCheckOUT(
int) {
return 0;};
164 virtual void Print(std::ostream &s,
int flag =0);
171 virtual void wipeAnalysis(
void);
173 virtual int setAnalysisAlgorithm(
EquiSolnAlgo &theAlgorithm);
175 virtual int setAnalysisLinearSOE(
LinearSOE &theSOE);
177 virtual int invokeChangeOnAnalysis(
void);
186 virtual const Matrix &getTangentStiff(
void);
192 virtual int addLoad(
ElementalLoad *theLoad,
double loadFactor);
193 virtual int addInertiaLoadToUnbalance(
const Vector &accel);
208 virtual int newStep(
double deltaT);
209 virtual bool doesIndependentAnalysis(
void);
virtual int getNumExternalNodes(void) const
Returns the number of external nodes that have been successfully added to the subdomain as external n...
Definition: Subdomain.cpp:484
virtual const Matrix & getInitialStiff(void)
For this class does nothing but print an error message.
Definition: Subdomain.cpp:567
virtual int computeResidual(void)
The method first starts a Timer object running.
Definition: Subdomain.cpp:693
Float vector abstraction.
Definition: Vector.h:93
Domain enclosed in another domain.
Definition: Subdomain.h:101
virtual double getCost(void)
Return the current value of realCost.
Definition: Subdomain.cpp:855
virtual bool isSubdomain(void)
Return true.
Definition: Subdomain.cpp:660
virtual const Vector & getResistingForce(void) const
Return the Vector obtained from invoking getCondensedRHS() on the DomainDecompositionAnalysis object...
Definition: Subdomain.cpp:621
Definition: SingleDomNodIter.h:70
Linear system of equations.
Definition: LinearSOE.h:91
virtual int setRayleighDampingFactors(const RayleighDampingFactors &rF)
Set Rayleigh damping factors.
Definition: Subdomain.cpp:664
virtual const Vector & getLastExternalSysResponse(void)
Return the Vector obtained by calling getLastSysResponse() on the associated FE_Element.
Definition: Subdomain.cpp:756
virtual int getNumDOF(void) const
Returns the num of external dof associated with the subdomain.
Definition: Subdomain.cpp:541
Vector of integers.
Definition: ID.h:93
virtual int computeNodalResponse(void)
Set the nodal responses for the nodes in the subdomain.
Definition: Subdomain.cpp:788
virtual void Print(std::ostream &s, int flag=0)
Print stuff.
Definition: Subdomain.cpp:386
Subdomain(int tag, DataOutputHandler::map_output_handlers *oh, CommandEntity *owr)
Constructor.
Definition: Subdomain.cpp:103
Base class for the finite elements.
Definition: Element.h:109
virtual bool addNode(Node *)
Method to add a node to the subdomain.
Definition: Subdomain.cpp:172
virtual bool removeNode(int tag)
Remove a node from the subdomain.
Definition: Subdomain.cpp:240
Used when performing a domain decomposition analysis.
Definition: DomainDecompositionAnalysis.h:90
Iterator on the subdomain nodes.
Definition: SubdomainNodIter.h:79
virtual NodeIter & getInternalNodeIter(void)
Return an iterator to the internal nodes of the subdomain, nodes that are added using the addNode() c...
Definition: Subdomain.cpp:407
Measure of system resources.
Definition: Timer.h:91
virtual const Node * getNode(int tag) const
Return a pointer to the node identified by the argument.
Definition: Subdomain.cpp:283
virtual int commitState(void)
Invokes commit() on itself.
Definition: Subdomain.cpp:554
IncrementalIntegrator is an algorithmic class for setting up the finite element equations in an incre...
Definition: IncrementalIntegrator.h:96
virtual int getNumNodes(void) const
Returns the number of external and internal Nodes.
Definition: Subdomain.cpp:341
EquiSolnAlgo is an abstract base class, i.e.
Definition: EquiSolnAlgo.h:88
virtual ~Subdomain(void)
Destructor.
Definition: Subdomain.cpp:133
Rayleigh damping factors.
Definition: RayleighDampingFactors.h:58
virtual int commit(void)
invokes the base Domain classes commit() method.
Definition: Subdomain.cpp:346
convergence test.
Definition: ConvergenceTest.h:80
virtual int update(void)
Updates the state of the domain.
Definition: Subdomain.cpp:379
FE_Element * getFE_ElementPtr(void)
Return a pointer to the last FE_Element set using {setFE_ElementPtr}.
Definition: Subdomain.cpp:750
Node pointer container for elements.
Definition: NodePtrsWithIDs.h:45
virtual int computeTang(void)
The method first starts a Timer object running.
Definition: Subdomain.cpp:671
Finite element as seen by analysis.
Definition: FE_Element.h:107
The PartitionedModelBuilder class is an abstract class.
Definition: PartitionedModelBuilder.h:86
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
virtual bool addExternalNode(Node *)
A Method to add the node pointed to by the argument.
Definition: Subdomain.cpp:202
virtual void zeroLoad(void)
Zeroes the loads over the element.
Definition: Subdomain.cpp:601
Iterator over the nodes.
Definition: NodeIter.h:73
Communication parameters between processes.
Definition: CommParameters.h:65
Matrix of floats.
Definition: Matrix.h:108
virtual const Vector & getResistingForceIncInertia(void) const
Returns the resisting force vector including inertia forces.
Definition: Subdomain.cpp:644
virtual NodeIter & getExternalNodeIter(void) const
Return an itertor to the external nodes of the subdomain, nodes that have been added using the {addEx...
Definition: Subdomain.cpp:416
Base class for loads over elements.
Definition: ElementalLoad.h:77
virtual void clearAll(void)
Removes all components from domain (nodes, elements, loads & constraints).
Definition: Subdomain.cpp:144
virtual const Matrix & getDamp(void)
For this class does nothing but print an error message.
Definition: Subdomain.cpp:579
void setFE_ElementPtr(FE_Element *theFE_Ele)
Set the corresponding {FE_Element} to be that poited to by {theFEelePtr}.
Definition: Subdomain.cpp:743
virtual int recvSelf(const CommParameters &)
Receive itself.
Definition: Subdomain.cpp:836
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:116
Mesh node.
Definition: Node.h:110
virtual const ID & getExternalNodes(void) const
Returns an ID containing the tags of all nodes added to the subdomain as external nodes and have yet ...
Definition: Subdomain.cpp:489
virtual int revertToStart(void)
Return the domain to its initial state and triggers the "restart" method for all the recorders...
Definition: Subdomain.cpp:368
virtual int revertToLastCommit(void)
Return the domain to its last commited state.
Definition: Subdomain.cpp:357
virtual NodeIter & getNodes(void)
Return an iter to all nodes that have been added to the subdomain.
Definition: Subdomain.cpp:255
virtual int sendSelf(CommParameters &)
Send itself.
Definition: Subdomain.cpp:817
virtual const Matrix & getMass(void)
For this class does nothing but print an error message.
Definition: Subdomain.cpp:590
virtual void setDomainDecompAnalysis(DomainDecompositionAnalysis &theAnalysis)
Sets the corresponding DomainDecompositionAnalysis object to be {theAnalysis}.
Definition: Subdomain.cpp:435
virtual const Matrix & getTang(void)
Return the Matrix obtained from invoking getTangent() on the DomainDecompositionAnalysis object...
Definition: Subdomain.cpp:719