66 #ifndef PartitionedDomain_h 67 #define PartitionedDomain_h 69 #include <domain/domain/Domain.h> 70 #include "solution/graph/graph/Graph.h" 73 class DomainPartitioner;
76 class ArrayOfTaggedObjects;
77 class PartitionedDomainSubIter;
78 class PartitionedDomainEleIter;
79 class SingleDomEleIter;
93 Graph mySubdomainGraph;
97 int barrierCheck(
int result);
105 int numSPs,
int numMPs,
int numLPatterns,
int numNLockers,
136 virtual void setCommitTag(
int newTag);
137 virtual void setCurrentTime(
double newTime);
138 virtual void setCommittedTime(
double newTime);
139 virtual void applyLoad(
double pseudoTime);
146 virtual int update(
double newTime,
double dT);
147 virtual int newStep(
double dT);
152 virtual void Print(std::ostream &s,
int flag =0);
156 virtual int partition(
int numPartitions,
bool usingMain =
false,
int mainPartitionID = 0);
158 virtual bool addSubdomain(
Subdomain *theSubdomain);
159 virtual int getNumSubdomains(
void);
160 virtual Subdomain *getSubdomainPtr(
int tag);
162 virtual bool removeExternalNode(
int tag);
163 virtual Graph &getSubdomainGraph(
void);
166 virtual double getNodeDisp(
int nodeTag,
int dof,
int &errorFlag);
A LoadPattern object is used to to store reference loads and single point constraints and a TimeSerie...
Definition: LoadPattern.h:87
virtual bool removeSFreedom_Constraint(int tag)
Elimina del domain la constraint monopunto cuyo tag being passed as parameter.
Definition: PartitionedDomain.cpp:400
virtual int addRecorder(Recorder &theRecorder)
Adds a recorder to the model.
Definition: PartitionedDomain.cpp:791
virtual int getNumElements(void) const
Returns the number of elements.
Definition: PartitionedDomain.cpp:508
ArrayOfTaggedObjects is a storage class. The class is responsible for holding and providing access to...
Definition: ArrayOfTaggedObjects.h:81
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:98
virtual bool removeNode(int tag)
Elimina el nodo cuyo tag being passed as parameter.
Definition: PartitionedDomain.cpp:378
Definition: PartitionedDomainEleIter.h:79
Iterator over an element container.
Definition: ElementIter.h:73
virtual int setMass(const Matrix &mass, int nodeTag)
Asigna la matriz de masas al nudo cuyo tag being passed as parameter.
Definition: PartitionedDomain.cpp:1212
virtual bool removeMFreedom_Constraint(int tag)
Elimina del domain la constraint multipunto cuyo tag being passed as parameter.
Definition: PartitionedDomain.cpp:422
virtual bool addSFreedom_Constraint(SFreedom_Constraint *)
Adds to the domain una constraint monopunto.
Definition: PartitionedDomain.cpp:231
virtual int update(void)
Updates the state of the mesh.
Definition: PartitionedDomain.cpp:598
Mesh node.
Definition: Node.h:99
virtual int revertToStart(void)
Returns the domain to its initial state and triggers the "restart" method for all the recorders...
Definition: PartitionedDomain.cpp:764
virtual ElementIter & getElements()
Returns an iterator to the element container.
Definition: PartitionedDomain.cpp:474
Partitioned domain.
Definition: PartitionedDomain.h:82
virtual Element * getElement(int tag)
Returns a pointer to the element identified by the tag being passed as parameter. ...
Definition: PartitionedDomain.cpp:481
virtual bool removeLoadPattern(int loadTag)
Elimina del domain el load pattern cuyo tag being passed as parameter.
Definition: PartitionedDomain.cpp:449
Base calass for the finite elements.
Definition: Element.h:104
Base class for loads over elements.
Definition: ElementalLoad.h:73
Definition: PartitionedDomainSubIter.h:72
virtual double getNodeDisp(int nodeTag, int dof, int &errorFlag)
Returns the value of dof component of displacement for the node with the tag being passed as paramete...
Definition: PartitionedDomain.cpp:1189
virtual int commit(void)
Commits domain state and triggers "record" method for all defined recorders.
Definition: PartitionedDomain.cpp:702
virtual bool addElementalLoad(ElementalLoad *, int loadPatternTag)
Adds to the caso being passed as parameter una load over elements.
Definition: PartitionedDomain.cpp:346
An Recorder object is used in the program to store/restore information at each commit().
Definition: Recorder.h:79
Definition: Subdomain.h:87
Definition: SingleDomEleIter.h:71
virtual bool addElement(Element *elePtr)
Adds to the domain the element being passed as parameter.
Definition: PartitionedDomain.cpp:164
TaggedObjectStorage. A TaggedObjectStorage object a container object used to hold objects of type Tag...
Definition: TaggedObjectStorage.h:76
Definition: SubdomainIter.h:70
virtual bool addNode(Node *nodePtr)
Adds to the domain el nodo being passed as parameter.
Definition: PartitionedDomain.cpp:216
The Graph class provides the abstraction of a graph, a collection of vertices and edges...
Definition: Graph.h:84
Definition: DomainPartitioner.h:73
virtual bool addNodalLoad(NodalLoad *, int loadPatternTag)
Appends a nodal load to the pattern being passed as parameter.
Definition: PartitionedDomain.cpp:315
virtual bool removeElement(int tag)
Clears the element identified by the tag being passed as parameter.
Definition: PartitionedDomain.cpp:352
virtual void setLoadConstant(void)
Set all the loads as constant.
Definition: PartitionedDomain.cpp:582
Single freedom constraint.
Definition: SFreedom_Constraint.h:79
virtual void clearAll(void)
Removes all components from domain (nodes, elements, loads & constraints). GENERAL NOTE ON REMOVAL OF...
Definition: PartitionedDomain.cpp:150
Load over a node.
Definition: NodalLoad.h:76
virtual int removeRecorders(void)
Elimina los recorders.
Definition: PartitionedDomain.cpp:816
virtual void Print(std::ostream &s, int flag=0)
Imprime el domain.
Definition: PartitionedDomain.cpp:838
================================================================================
Definition: ContinuaReprComponent.h:34
virtual bool addLoadPattern(LoadPattern *)
Adds al modelo la hipótesis simple being passed as parameter.
Definition: PartitionedDomain.cpp:286
virtual ~PartitionedDomain(void)
Destructor.
Definition: PartitionedDomain.cpp:144
virtual int buildEleGraph(Graph &theEleGraph)
Builds the element graph.
Definition: PartitionedDomain.cpp:958
virtual int revertToLastCommit(void)
Returns the domain to its last commited state.
Definition: PartitionedDomain.cpp:737