53 #ifndef LoadContainer_h 54 #define LoadContainer_h 57 #include "utility/kernel/CommandEntity.h" 58 #include "utility/actor/actor/MovableObject.h" 64 class ElementalLoadIter;
66 class TaggedObjectStorage;
83 TaggedObjectStorage *theNodalLoads;
84 TaggedObjectStorage *theElementalLoads;
90 void free_containers(
void);
91 void free_iterators(
void);
92 void alloc_containers(
void);
93 void alloc_iterators(
void);
118 bool empty(
void)
const;
138 virtual void Print(std::ostream &s,
int flag =0)
const;
143 virtual void applyLoadSensitivity(
const double &);
147 Vector getExternalForceSensitivity(
int gradNumber);
virtual int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: LoadContainer.cc:400
virtual int activateParameter(int parameterID)
Activates the parameter identified by parameterID.
Definition: LoadContainer.cc:555
Float vector abstraction.
Definition: Vector.h:94
virtual void applyLoad(const double &)
Apply the load multiplied by the factor.
Definition: LoadContainer.cc:360
LoadContainer(CommandEntity *)
Default constructor.
Definition: LoadContainer.cc:114
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: LoadContainer.cc:376
Communication parameters between processes.
Definition: Communicator.h:66
bool empty(void) const
Returns true if there is no loads.
Definition: LoadContainer.cc:214
Object that can move between processes.
Definition: MovableObject.h:100
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:44
void copyLoads(const Element *, const Element *)
Copy the loads from the first element to the second one.
Definition: LoadContainer.cc:339
int getNumLoads(void) const
Returns the total number of loads.
Definition: LoadContainer.cc:209
int sendData(Communicator &comm)
Send members through the communicator argument.
Definition: LoadContainer.cc:383
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 setParameter(const std::vector< std::string > &, Parameter &)
Sets the value param to the parameter argv.
Definition: LoadContainer.cc:455
Base class for the finite elements.
Definition: Element.h:112
virtual NodalLoadIter & getNodalLoads(void)
Returns an iterator to the nodal loads.
Definition: LoadContainer.cc:177
virtual void setDomain(Domain *theDomain)
Set the domain for the pattern loads.
Definition: LoadContainer.cc:137
std::list< NodalLoad * > getLoadsOn(const Node *)
Return the loads acting on the given node.
Definition: LoadContainer.cc:283
virtual int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: LoadContainer.cc:414
virtual ~LoadContainer(void)
Destructor.
Definition: LoadContainer.cc:132
virtual bool addNodalLoad(NodalLoad *)
Adds the nodal load being passed as parameter.
Definition: LoadContainer.cc:157
virtual void clearAll(void)
Deletes all loads, constraints AND pointer to time series.
Definition: LoadContainer.cc:226
virtual bool removeElementalLoad(int tag)
To remove the elemental load whose identifier is given by tag from the LoadPattern and set the loads ...
Definition: LoadContainer.cc:242
virtual void clearLoads(void)
Deletes all loads.
Definition: LoadContainer.cc:219
Objet that can execute python scripts.
Definition: CommandEntity.h:40
virtual LoadContainer * getCopy(void)
Virtual constructor.
Definition: LoadContainer.cc:124
A LoadContainer object is used to to store loads on nodes and elements.
Definition: LoadContainer.h:78
virtual int updateParameter(int parameterID, Information &)
Updates the parameter identified by parameterID with info.
Definition: LoadContainer.cc:508
int recvData(const Communicator &comm)
Receives members through the communicator argument.
Definition: LoadContainer.cc:391
Elemental loads iterator.
Definition: ElementalLoadIter.h:76
Nodal loads iterator.
Definition: NodalLoadIter.h:75
void removeLoadsOn(const Node *)
Remove the loads acting on the given node.
Definition: LoadContainer.cc:267
virtual bool addElementalLoad(ElementalLoad *)
Adds the element load being passed as parameter.
Definition: LoadContainer.cc:167
int getNumNodalLoads(void) const
Returns the number of nodal loadss.
Definition: LoadContainer.cc:191
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
virtual ElementalLoadIter & getElementalLoads(void)
Returns an iterator to the elemental loads.
Definition: LoadContainer.cc:184
bool actsOn(const Node *) const
Return true if the load pattern acts on the given node.
Definition: LoadContainer.cc:246
Parameter.
Definition: Parameter.h:68
Base class for loads over elements.
Definition: ElementalLoad.h:79
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:117
Mesh node.
Definition: Node.h:111
virtual bool removeNodalLoad(int tag)
To remove the nodal load whose identifier is given by tag from the LoadPattern and sets the loads ass...
Definition: LoadContainer.cc:235
virtual void Print(std::ostream &s, int flag=0) const
Prints load pattern information.
Definition: LoadContainer.cc:428
Load over a node.
Definition: NodalLoad.h:83
int getNumElementalLoads(void) const
Returns the number of elemental loadss.
Definition: LoadContainer.cc:200