64 #include "NodeLocker.h" 65 #include "LoadContainer.h" 72 class ElementalLoadIter;
75 class MapLoadPatterns;
96 std::string description;
107 bool RVisRandomProcessDiscretizer;
158 virtual void applyLoad(
double pseudoTime = 0.0);
160 inline void setIsConstant(
const bool &b)
162 inline bool getIsConstant(
void)
const 168 const std::string &
getName(
void)
const;
169 inline const std::string &getDescription(
void)
const 170 {
return description; }
171 inline void setDescription(
const std::string &d)
174 const double &
GammaF(
void)
const;
184 virtual void Print(std::ostream &s,
int flag =0);
188 virtual int addMotion(
GroundMotion &theMotion,
int tag);
192 virtual void applyLoadSensitivity(
double pseudoTime = 0.0);
196 virtual const Vector &getExternalForceSensitivity(
int gradNumber);
bool newElementalLoad(ElementalLoad *)
Appends the elemental load being passed as parameter.
Definition: LoadPattern.cpp:260
virtual int activateParameter(int parameterID)
Activates the parameter identified by parameterID.
Definition: LoadPattern.cpp:526
Float vector abstraction.
Definition: Vector.h:93
LoadContainer & getLoads(void)
Return the load container.
Definition: LoadPattern.h:136
int getNumNodalLoads(void) const
Return the number of nodal loads.
Definition: LoadPattern.h:142
const LoadContainer & getLoads(void) const
Return the load container.
Definition: LoadPattern.h:139
const double & GammaF(void) const
Returns the weighting factor set by the load combination.
Definition: LoadPattern.cpp:352
void setGammaF(const double &)
Sets the weighting factor set by the load combination.
Definition: LoadPattern.cpp:360
virtual bool addNodalLoad(NodalLoad *)
Adds the nodal load being passed as parameter.
Definition: LoadPattern.cpp:194
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: LoadPattern.cpp:409
virtual bool removeElementalLoad(int tag)
Remove the load over element which tag is being passed as parameter.
Definition: LoadPattern.cpp:316
virtual const double & getLoadFactor(void) const
Returns the weighting factor obtained from the TimeSeries object.
Definition: LoadPattern.cpp:348
virtual void setLoadConstant(void)
Marks the LoadPattern as being constant.
Definition: LoadPattern.cpp:344
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:43
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 void setTimeSeries(TimeSeries *theSeries)
Set the time series for the pattern.
Definition: LoadPattern.cpp:146
virtual bool addElementalLoad(ElementalLoad *)
Adds the element load being passed as parameter.
Definition: LoadPattern.cpp:240
virtual void setDomain(Domain *theDomain)
Set the domain for the pattern loads.
Definition: LoadPattern.cpp:163
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: LoadPattern.cpp:377
virtual void clearLoads(void)
Deletes all loads.
Definition: LoadPattern.cpp:294
int getNumElementalLoads(void) const
Return the number of elemental loads.
Definition: LoadPattern.h:145
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: LoadPattern.cpp:423
Single freedom constraint.
Definition: SFreedom_Constraint.h:84
Base class for ground motions.
Definition: GroundMotion.h:83
virtual LoadPattern * getCopy(void)
Virtual constructor.
Definition: LoadPattern.cpp:107
A LoadContainer object is used to to store loads on nodes and elements.
Definition: LoadContainer.h:76
int getNumLoads(void) const
Return the number of loads.
Definition: LoadPattern.h:148
LoadPattern(int tag=0)
Constructor.
Definition: LoadPattern.cpp:101
virtual void clearAll(void)
Deletes all loads, constraints AND pointer to time series.
Definition: LoadPattern.cpp:300
virtual void Print(std::ostream &s, int flag=0)
Prints load pattern information.
Definition: LoadPattern.cpp:437
int getNumNodalLoads(void) const
Returns the number of nodal loadss.
Definition: LoadContainer.cc:191
int sendData(CommParameters &cp)
Send members through the channel being passed as parameter.
Definition: LoadPattern.cpp:384
Single freedom constraints that make part of a load pattern.
Definition: NodeLocker.h:44
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
NodalLoad * newNodalLoad(const int &, const Vector &)
Creates a nodal load.
Definition: LoadPattern.cpp:216
Load pattern container.
Definition: MapLoadPatterns.h:45
Time variation of loads.
Definition: TimeSeries.h:81
virtual bool removeNodalLoad(int tag)
Remove the nodal load which tag is being passed as parameter.
Definition: LoadPattern.cpp:308
Communication parameters between processes.
Definition: CommParameters.h:65
virtual ~LoadPattern(void)
Destructor.
Definition: LoadPattern.cpp:115
void removeFromDomain(void)
Removes load.
Definition: LoadPattern.cpp:183
virtual int setParameter(const std::vector< std::string > &argv, Parameter ¶m)
Sets the value param to the parameter argv.
Definition: LoadPattern.cpp:478
bool addToDomain(void)
Apply load.
Definition: LoadPattern.cpp:170
virtual void applyLoad(double pseudoTime=0.0)
Apply the load for pseudo-time being passed as parameter.
Definition: LoadPattern.cpp:324
virtual bool addSFreedom_Constraint(SFreedom_Constraint *theSp)
Adds the constraint being passed as parameter.
Definition: LoadPattern.cpp:290
Definition: Parameter.h:65
Base class for loads over elements.
Definition: ElementalLoad.h:77
const MapLoadPatterns * getMapLoadPatterns(void) const
Returns a const pointer to the container of the load pattern.
Definition: LoadPattern.cpp:119
int recvData(const CommParameters &cp)
Receives members through the channel being passed as parameter.
Definition: LoadPattern.cpp:397
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:116
Load over a node.
Definition: NodalLoad.h:82
const std::string & getName(void) const
Returns the name of this load pattern.
Definition: LoadPattern.cpp:139
virtual int updateParameter(int parameterID, Information &info)
Updates the parameter identified by parameterID with info.
Definition: LoadPattern.cpp:511
int getNumElementalLoads(void) const
Returns the number of elemental loadss.
Definition: LoadContainer.cc:200
bool isConstant
to indicate whether setConstant has been called
Definition: LoadPattern.h:112