OOFEM 3.0
Loading...
Searching...
No Matches
oofem::BodyLoad Class Reference

#include <bodyload.h>

Inheritance diagram for oofem::BodyLoad:
Collaboration diagram for oofem::BodyLoad:

Public Member Functions

 BodyLoad (int i, Domain *d)
bcGeomType giveBCGeoType () const override
Public Member Functions inherited from oofem::Load
 Load (int n, Domain *d)
virtual ~Load ()
 Destructor.
virtual void computeComponentArrayAt (FloatArray &answer, TimeStep *tStep, ValueModeType mode)
virtual void computeValueAt (FloatArray &answer, TimeStep *tStep, const FloatArray &coords, ValueModeType mode)=0
virtual void computeValueAt (FloatArray &answer, TimeStep *tStep, GaussPoint *gp, ValueModeType mode)
virtual void computeValues (FloatArray &answer, TimeStep *tStep, const FloatArray &coords, const IntArray &dofids, ValueModeType mode)
int isDofExcluded (int index)
void scale (double s) override
virtual CoordSystType giveCoordSystMode ()
virtual FormulationType giveFormulationType ()
virtual int giveApproxOrder ()
virtual double giveProperty (int aProperty, TimeStep *tStep) const override
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
const FloatArraygiveComponentArray () const
void setComponentArray (FloatArray &arry)
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::GeneralBoundaryCondition
 GeneralBoundaryCondition (int n, Domain *d)
virtual ~GeneralBoundaryCondition ()
 Destructor.
int giveSetNumber () const
virtual int giveNumberOfInternalDofManagers ()
 Gives the number of internal dof managers.
virtual DofManagergiveInternalDofManager (int i)
 Gives an internal dof manager from receiver.
FunctiongiveTimeFunction ()
int getIsImposedTimeFunctionNumber () const
void setIsImposedTimeFunctionNumber (int funcIndx)
virtual bcValType giveBCValType () const
virtual bool isImposed (TimeStep *tStep)
virtual const IntArraygiveDofIDs () const
virtual bcType giveType () const
virtual void updateYourself (TimeStep *tStep)
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
virtual const char * giveClassName () const =0
virtual const char * giveInputRecordName () const =0
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
virtual void initializeFrom (InputRecord &ir, int priority)
virtual void initializeFinish ()
virtual void postInitialize ()
 Performs post initialization steps. Called after all components are created and initialized.
virtual int checkConsistency ()
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging.
virtual InterfacegiveInterface (InterfaceType t)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Additional Inherited Members

Public Types inherited from oofem::Load
enum  CoordSystType { CST_Global , CST_Local , CST_UpdatedGlobal }
enum  FormulationType { FT_Entity , FT_Global }
Public Attributes inherited from oofem::Load
bool reference
Protected Attributes inherited from oofem::Load
FloatArray componentArray
 Components of boundary condition.
IntArray dofExcludeMask
Protected Attributes inherited from oofem::GeneralBoundaryCondition
int timeFunction
 Associated load time function.
bcValType valType
 Physical meaning of BC value.
IntArray dofs
 Dofs that b.c. is applied to (relevant for Dirichlet type b.c.s).
int isImposedTimeFunction
int set
 Set number for boundary condition to be applied to.
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Detailed Description

Class implementing element body load, acting over whole element volume (e.g., the dead weight). Body load is usually attribute of one or more elements.

This base body load class only defines the common services common to all derived classes. Derived classes need to implement services declared by base Load class.

Definition at line 49 of file bodyload.h.

Constructor & Destructor Documentation

◆ BodyLoad()

oofem::BodyLoad::BodyLoad ( int i,
Domain * d )
inline

Constructor. Creates Body Load object with given number, belonging to given domain.

Parameters
iLoad number
dDomain to which new load belongs.

Definition at line 57 of file bodyload.h.

References oofem::Load::Load().

Referenced by oofem::DeadWeight::DeadWeight(), oofem::DepositedHeatSource::DepositedHeatSource(), oofem::DepositedHeatSource::DepositedHeatSource(), oofem::GravityPressure::GravityPressure(), oofem::PointLoad::PointLoad(), and oofem::Reinforcement::Reinforcement().

Member Function Documentation

◆ giveBCGeoType()

bcGeomType oofem::BodyLoad::giveBCGeoType ( ) const
inlineoverridevirtual

Returns receiver's load geometry type.

Returns
BodyLoadBGT.

Reimplemented from oofem::GeneralBoundaryCondition.

Reimplemented in oofem::DeadWeight, oofem::DepositedHeatSource, oofem::GravityPressure, oofem::PointLoad, and oofem::Reinforcement.

Definition at line 63 of file bodyload.h.

References oofem::BodyLoadBGT.

Referenced by oofem::Hexa21Stokes::computeExternalForcesVector().


The documentation for this class was generated from the following file:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011