53 #ifndef ShadowSubdomain_h    54 #define ShadowSubdomain_h    66 #include "Subdomain.h"    67 #include <utility/actor/shadow/Shadow.h>    68 #include "utility/matrix/ID.h"    83     TaggedObjectStorage  *theShadowSPs;    
    84     TaggedObjectStorage  *theShadowMPs;    
    85     TaggedObjectStorage  *theShadowLPs;        
   100     mutable Vector *theVector; 
   101     mutable Matrix *theMatrix; 
   103     static char *shadowSubdomainProgram;
   106     static int numShadowSubdomains;
   107     static std::deque<ShadowSubdomain *> theShadowSubdomains;
   109     void free_vectors(
void) 
const;
   110     void alloc_vectors(
const size_t &) 
const;
   111     void resize_vectors(
const size_t &) 
const;
   112     void free_arrays(
void);
   113     void alloc_arrays(
const size_t &,
const size_t &);
   115     virtual int buildMap(
void) 
const;
   125     virtual int buildSubdomain(
int numSubdomains, 
   127     virtual int getRemoteData(
void);
   143     virtual bool hasNode(
int tag);
   144     virtual bool hasElement(
int tag);
   159     virtual  NodeIter          &getExternalNodeIter(
void);    
   161     virtual  Element       *getElementPtr(
int tag);
   162     virtual  Node          *getNodePtr(
int tag);
   166     virtual int getNumSPs(
void) 
const;
   167     virtual int getNumMPs(
void) 
const;
   168     virtual int getNumLoadPatterns(
void) 
const;
   177     virtual  void applyLoad(
double pseudoTime);
   181     virtual  int update(
double newTime, 
double dT);    
   185     virtual  int barrierCheckIN(
void);    
   186     virtual  int barrierCheckOUT(
int);    
   193     virtual void wipeAnalysis(
void);
   195     virtual int setAnalysisAlgorithm(
EquiSolnAlgo &theAlgorithm);
   197     virtual int setAnalysisLinearSOE(
LinearSOE &theSOE);
   199     virtual void clearAnalysis(
void);
   214     virtual int newStep(
double deltaT);
   221     virtual  void Print(std::ostream &s, 
int flag =0) 
const;
   224     virtual double getNodeDisp(
int nodeTag, 
int dof, 
int &errorFlag);
 virtual int computeResidual(void)
The method first starts a Timer object running. 
Definition: ShadowSubdomain.cpp:1127
virtual void applyLoad(double pseudoTime)
Apply the loads for the given time pseudoTime. 
Definition: ShadowSubdomain.cpp:785
virtual int setRayleighDampingFactors(const RayleighDampingFactors &rF)
Set Rayleigh damping factors. 
Definition: ShadowSubdomain.cpp:881
virtual int sendSelf(Communicator &)
Send itself. 
Definition: ShadowSubdomain.cpp:1217
virtual double getCost(void)
Return the current value of realCost. 
Definition: ShadowSubdomain.cpp:1203
Float vector abstraction. 
Definition: Vector.h:94
Domain enclosed in another domain. 
Definition: Subdomain.h:102
virtual bool removeElementalLoad(int tag, int loadPattern)
Removes the elemental load from container. 
Definition: ShadowSubdomain.cpp:620
virtual int computeTang(void)
The method first starts a Timer object running. 
Definition: ShadowSubdomain.cpp:1101
virtual bool removeLoadPattern(int tag)
Remove from domain el load pattern identified by the argument. 
Definition: ShadowSubdomain.cpp:586
Communication parameters between processes. 
Definition: Communicator.h:66
virtual bool addElementalLoad(ElementalLoad *, int loadPattern)
Adds a load over element to the pattern. 
Definition: ShadowSubdomain.cpp:451
Linear system of equations. 
Definition: LinearSOE.h:92
virtual NodeIter & getInternalNodeIter(void)
Return an iterator to the internal nodes of the subdomain, nodes that are added using the addNode() c...
Definition: ShadowSubdomain.cpp:685
virtual int buildNodeGraph(Graph &theNodeGraph)
Builds the node graph. 
Definition: ShadowSubdomain.cpp:1250
virtual int commit(void)
invokes the base Domain classes commit() method. 
Definition: ShadowSubdomain.cpp:921
An Recorder object is used in the program to store/restore information at each commit(). 
Definition: Recorder.h:87
Iterator over an element container. 
Definition: ElementIter.h:74
virtual int getNumDOF(void) const
Returns the num of external dof associated with the subdomain. 
Definition: ShadowSubdomain.cpp:1057
virtual int addRecorder(Recorder &theRecorder)
Adds a recorder to the model. 
Definition: ShadowSubdomain.cpp:905
virtual const Matrix & getTang(void)
Return the Matrix obtained from invoking getTangent() on the DomainDecompositionAnalysis object...
Definition: ShadowSubdomain.cpp:1067
virtual bool removeSFreedom_Constraint(int tag)
Removes from domain the single freedom constraint identified by the argument. 
Definition: ShadowSubdomain.cpp:560
FEM_ObjectBroker is is an object broker class for the finite element method. 
Definition: FEM_ObjectBroker.h:151
virtual Graph & getElementGraph(void)
Builds (if necessary) the domain elements graph and returns a reference to it. 
Definition: ShadowSubdomain.cpp:764
Vector of integers. 
Definition: ID.h:95
virtual bool removeNode(int tag)
Remove a node from the subdomain. 
Definition: ShadowSubdomain.cpp:524
const Vector & getLastExternalSysResponse(void)
Return the Vector obtained by calling getLastSysResponse() on the associated FE_Element. 
Definition: ShadowSubdomain.cpp:1154
A load pattern is the spatial distribution as well as its variation in time of a specific set of forc...
Definition: LoadPattern.h:97
virtual int revertToLastCommit(void)
Return the domain to its last committed state. 
Definition: ShadowSubdomain.cpp:932
Base class for the finite elements. 
Definition: Element.h:112
virtual void clearAll(void)
Removes all components from domain (nodes, elements, loads & constraints). 
Definition: ShadowSubdomain.cpp:897
virtual void setLoadConstant(void)
Set all the loads as constant. 
Definition: ShadowSubdomain.cpp:831
virtual bool addElement(Element *)
Adds to the domain the element being passed as parameter. 
Definition: ShadowSubdomain.cpp:267
virtual int getNumNodes(void) const
Returns the number of external and internal Nodes. 
Definition: ShadowSubdomain.cpp:753
Used when performing a domain decomposition analysis. 
Definition: DomainDecompositionAnalysis.h:91
virtual bool addLoadPattern(LoadPattern *)
Appends the load pattern to the domain. 
Definition: ShadowSubdomain.cpp:379
Local object associated with an remote actor. 
Definition: Shadow.h:91
virtual bool removeMFreedom_Constraint(int tag)
Removes from domain the multi-freedom constraint identified by the argument. 
Definition: ShadowSubdomain.cpp:573
Single freedom constraint. 
Definition: SFreedom_Constraint.h:85
Objet that can execute python scripts. 
Definition: CommandEntity.h:40
The Graph class provides the abstraction of a graph. 
Definition: Graph.h:94
IncrementalIntegrator is an algorithmic class for setting up the finite element equations in an incre...
Definition: IncrementalIntegrator.h:100
Local representation of a remote subdomain. 
Definition: ShadowSubdomain.h:74
virtual int buildEleGraph(Graph &theEleGraph)
Builds the element graph. 
Definition: ShadowSubdomain.cpp:1243
virtual int update(void)
Updates the state of the domain. 
Definition: ShadowSubdomain.cpp:839
Channel is an abstract base class which defines the channel interface. 
Definition: Channel.h:92
Base class for solution algorithms. 
Definition: EquiSolnAlgo.h:91
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 param...
Definition: ShadowSubdomain.cpp:1265
virtual bool addExternalNode(Node *)
A Method to add the node pointed to by the argument. 
Definition: ShadowSubdomain.cpp:319
virtual const Vector & getResistingForce(void) const
Return the Vector obtained from invoking getCondensedRHS() on the DomainDecompositionAnalysis object...
Definition: ShadowSubdomain.cpp:1084
Rayleigh damping factors. 
Definition: RayleighDampingFactors.h:59
A MachineBroker is responsible for getting an actor process running on the parallel machine...
Definition: MachineBroker.h:77
convergence test. 
Definition: ConvergenceTest.h:81
virtual ElementIter & getElements()
Returns an iterator to the element container. 
Definition: ShadowSubdomain.cpp:665
virtual void setCommittedTime(double newTime)
Set the committed time to newTime. 
Definition: ShadowSubdomain.cpp:821
virtual int computeNodalResponse(void)
Set the nodal responses for the nodes in the subdomain. 
Definition: ShadowSubdomain.cpp:1164
virtual Graph & getNodeGraph(void)
Builds (if necessary) the domain node graph and returns a reference to it. 
Definition: ShadowSubdomain.cpp:774
virtual void setDomainDecompAnalysis(DomainDecompositionAnalysis &theAnalysis)
Sets the corresponding DomainDecompositionAnalysis object to be {theAnalysis}. 
Definition: ShadowSubdomain.cpp:964
Finite element as seen by analysis. 
Definition: FE_Element.h:108
virtual int revertToStart(void)
Return the domain to its initial state and triggers the "restart" method for all the recorders...
Definition: ShadowSubdomain.cpp:943
The PartitionedModelBuilder class is an abstract class. 
Definition: PartitionedModelBuilder.h:87
virtual void setCommitTag(int newTag)
Set the committed tag to newTag. 
Definition: ShadowSubdomain.cpp:800
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
virtual bool addNodalLoad(NodalLoad *, int loadPattern)
Appends a nodal load to the pattern being passed as parameter. 
Definition: ShadowSubdomain.cpp:426
virtual int getNumExternalNodes(void) const
Returns the number of external nodes that have been successfully added to the subdomain as external n...
Definition: ShadowSubdomain.cpp:1038
Iterator over the nodes. 
Definition: NodeIter.h:74
Matrix of floats. 
Definition: Matrix.h:111
Multi-freedom constraint. 
Definition: MFreedom_Constraint.h:113
virtual bool addNode(Node *)
Method to add a node to the subdomain. 
Definition: ShadowSubdomain.cpp:299
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: ShadowSubdomain.cpp:1048
virtual int setMass(const Matrix &mass, int nodeTag)
Set the mass matrix for the node identified by the argument. 
Definition: ShadowSubdomain.cpp:1281
virtual bool removeNodalLoad(int tag, int loadPattern)
Removes the nodal load from container. 
Definition: ShadowSubdomain.cpp:600
virtual int recvSelf(const Communicator &)
Receive itself. 
Definition: ShadowSubdomain.cpp:1224
Base class for loads over elements. 
Definition: ElementalLoad.h:79
virtual bool removeElement(int tag)
Remove the element identified by the argument. 
Definition: ShadowSubdomain.cpp:493
Mesh node. 
Definition: Node.h:111
virtual bool addMFreedom_Constraint(MFreedom_Constraint *)
Adds to the domain a multi-freedom constraint. 
Definition: ShadowSubdomain.cpp:361
virtual int getNumElements(void) const
Return the number of elements. 
Definition: ShadowSubdomain.cpp:747
virtual int removeRecorders(void)
Remove the recorders. 
Definition: ShadowSubdomain.cpp:914
virtual bool addSFreedom_Constraint(SFreedom_Constraint *)
Adds a single freedom constraint to the domain. 
Definition: ShadowSubdomain.cpp:342
virtual void setCurrentTime(double newTime)
Set the current time to newTime. 
Definition: ShadowSubdomain.cpp:808
Load over a node. 
Definition: NodalLoad.h:83
virtual void Print(std::ostream &s, int flag=0) const
Print stuff. 
Definition: ShadowSubdomain.cpp:1232
virtual void domainChange(void)
Sets a flag indicating that the integer returned in the next call to hasDomainChanged() must be incre...
Definition: ShadowSubdomain.cpp:1024
virtual NodeIter & getNodes()
Return an iter to all nodes that have been added to the subdomain. 
Definition: ShadowSubdomain.cpp:675