|
OOFEM 3.0
|
#include <deadweight.h>
Public Member Functions | |
| DeadWeight (int i, Domain *d) | |
| Constructor. | |
| void | computeValueAt (FloatArray &answer, TimeStep *tStep, const FloatArray &coords, ValueModeType mode) override |
| bcValType | giveBCValType () const override |
| bcGeomType | giveBCGeoType () const override |
| void | setDeadWeighComponents (FloatArray newComponents) |
| const char * | giveClassName () const override |
| const char * | giveInputRecordName () const override |
| Public Member Functions inherited from oofem::BodyLoad | |
| BodyLoad (int i, Domain *d) | |
| 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, 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 FloatArray & | giveComponentArray () 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 DofManager * | giveInternalDofManager (int i) |
| Gives an internal dof manager from receiver. | |
| Function * | giveTimeFunction () |
| int | getIsImposedTimeFunctionNumber () const |
| void | setIsImposedTimeFunctionNumber (int funcIndx) |
| virtual bool | isImposed (TimeStep *tStep) |
| virtual const IntArray & | giveDofIDs () 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. | |
| Domain * | giveDomain () 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 Interface * | giveInterface (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. | |
| Domain * | domain |
| Link to domain object, useful for communicating with other FEM components. | |
This class implements a gravity-like load, or internal source (heat etc.) for transport problems. The inherited attribute 'componentArray' contains the components of an loading prescribed per unit volume.
Its task is to return the body force \( \rho a \)
Definition at line 52 of file deadweight.h.
|
inline |
|
overridevirtual |
Computes components values of deadweight field at given point (coordinates given in Global c.s.). taking into account corresponding load time function value while respecting load response mode.
| answer | Component values at given point and time. |
| tStep | Time step. |
| coords | Global coordinates, which are used to evaluate components values. |
| mode | Determines response mode- |
Implements oofem::Load.
Definition at line 43 of file deadweight.C.
References oofem::Load::computeComponentArrayAt().
|
inlineoverridevirtual |
Returns receiver's load geometry type.
Reimplemented from oofem::BodyLoad.
Definition at line 68 of file deadweight.h.
References oofem::BodyLoadBGT.
|
inlineoverridevirtual |
Returns receiver load type. It distinguish particular boundary conditions according to their "physical" meaning (like StructuralTemperatureLoadLT, StructuralLoadLT). Derived classes should always overload, default implementation returns UnknownLT value. See cltypes.h file for details.
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 67 of file deadweight.h.
References oofem::ForceLoadBVT.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 72 of file deadweight.h.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 73 of file deadweight.h.
References _IFT_DeadWeight_Name.
| void oofem::DeadWeight::setDeadWeighComponents | ( | FloatArray | newComponents | ) |
Definition at line 48 of file deadweight.C.
References oofem::Load::componentArray.
Referenced by oofem::StokesFlowVelocityHomogenization::applyPressureGradient().