52 #ifndef LoadContainer_h 53 #define LoadContainer_h 55 #include "xc_utils/src/kernel/CommandEntity.h" 56 #include "utility/actor/actor/MovableObject.h" 62 class ElementalLoadIter;
64 class TaggedObjectStorage;
81 TaggedObjectStorage *theNodalLoads;
82 TaggedObjectStorage *theElementalLoads;
88 void free_containers(
void);
89 void free_iterators(
void);
90 void alloc_containers(
void);
91 void alloc_iterators(
void);
129 virtual void Print(std::ostream &s,
int flag =0);
134 virtual void applyLoadSensitivity(
const double &);
138 Vector getExternalForceSensitivity(
int gradNumber);
virtual int activateParameter(int parameterID)
Activates the parameter identified by parameterID.
Definition: LoadContainer.cc:444
Float vector abstraction.
Definition: Vector.h:93
virtual void applyLoad(const double &)
Apply the load multiplied by the factor.
Definition: LoadContainer.cc:250
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:265
Object that can move between processes.
Definition: MovableObject.h:99
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:43
int recvData(const CommParameters &cp)
Receives members through the channel being passed as parameter.
Definition: LoadContainer.cc:280
int getNumLoads(void) const
Returns the total number of loads.
Definition: LoadContainer.cc:209
A LoadPattern object is used to to store reference loads and single point constraints and a TimeSerie...
Definition: LoadPattern.h:93
virtual int setParameter(const std::vector< std::string > &, Parameter &)
Sets the value param to the parameter argv.
Definition: LoadContainer.cc:344
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: LoadContainer.cc:289
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
virtual ~LoadContainer(void)
Destructor.
Definition: LoadContainer.cc:132
virtual bool addNodalLoad(NodalLoad *)
Adds the nodal load being passed as parameter.
Definition: LoadContainer.cc:157
int sendData(CommParameters &cp)
Send members through the channel being passed as parameter.
Definition: LoadContainer.cc:272
virtual void clearAll(void)
Deletes all loads, constraints AND pointer to time series.
Definition: LoadContainer.cc:221
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:237
virtual void clearLoads(void)
Deletes all loads.
Definition: LoadContainer.cc:214
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:76
virtual int updateParameter(int parameterID, Information &)
Updates the parameter identified by parameterID with info.
Definition: LoadContainer.cc:397
Elemental loads iterator.
Definition: ElementalLoadIter.h:75
Nodal loads iterator.
Definition: NodalLoadIter.h:74
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:34
virtual ElementalLoadIter & getElementalLoads(void)
Returns an iterator to the elemental loads.
Definition: LoadContainer.cc:184
Communication parameters between processes.
Definition: CommParameters.h:65
Definition: Parameter.h:65
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: LoadContainer.cc:303
Base class for loads over elements.
Definition: ElementalLoad.h:77
virtual void Print(std::ostream &s, int flag=0)
Prints load pattern information.
Definition: LoadContainer.cc:317
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:116
virtual bool removeNodalLoad(int tag)
To remove the nodal load whose identifier is given by tag from the LoadPattern and sets the laods ass...
Definition: LoadContainer.cc:230
Load over a node.
Definition: NodalLoad.h:82
int getNumElementalLoads(void) const
Returns the number of elemental loadss.
Definition: LoadContainer.cc:200