|
OOFEM 3.0
|
#include <rotatingboundary.h>
Public Member Functions | |
| RotatingBoundary (int i, Domain *d) | |
| virtual | ~RotatingBoundary () |
| Destructor. | |
| double | give (Dof *dof, ValueModeType mode, double time) override |
| void | initializeFrom (InputRecord &ir) override |
| void | giveInputRecord (DynamicInputRecord &input) override |
| void | scale (double s) override |
| const char * | giveInputRecordName () const override |
| const char * | giveClassName () const override |
| Public Member Functions inherited from oofem::BoundaryCondition | |
| BoundaryCondition (int i, Domain *d) | |
| virtual | ~BoundaryCondition () |
| Destructor. | |
| virtual double | give (Dof *dof, ValueModeType mode, TimeStep *tStep) |
| void | setPrescribedValue (double s) |
| bcType | giveType () const override |
| 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 bcValType | giveBCValType () const |
| virtual bool | isImposed (TimeStep *tStep) |
| virtual const IntArray & | giveDofIDs () const |
| virtual bcGeomType | giveBCGeoType () const |
| virtual double | giveProperty (int aProperty, TimeStep *tStep) const |
| void | saveContext (DataStream &stream, ContextMode mode) override |
| void | restoreContext (DataStream &stream, ContextMode mode) override |
| 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). | |
Protected Attributes | |
| FloatMatrix | R |
| Rotation matrix. | |
| FloatArray | axis |
| Axis and center of rotation. | |
| FloatArray | center |
| Protected Attributes inherited from oofem::BoundaryCondition | |
| FloatArray | values |
| Prescribed values for each resp. dof. | |
| 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. | |
Class implementing rotating boundary surface. This boundary condition is usually attribute of one or more degrees of freedom (DOF).
Definition at line 57 of file rotatingboundary.h.
|
inline |
Constructor. Creates boundary condition with given number, belonging to given domain.
| i | Boundary condition number. |
| d | Domain to which new object will belongs. |
Definition at line 72 of file rotatingboundary.h.
References oofem::BoundaryCondition::BoundaryCondition().
|
inlinevirtual |
Destructor.
Definition at line 74 of file rotatingboundary.h.
|
overridevirtual |
Reimplemented from oofem::BoundaryCondition.
Definition at line 46 of file rotatingboundary.C.
References oofem::FloatArray::add(), oofem::FloatArray::at(), axis, oofem::FloatArray::beDifferenceOf(), oofem::FloatArray::beProductOf(), center, oofem::DofManager::giveCoordinates(), oofem::Dof::giveDofID(), oofem::Dof::giveDofManager(), oofem::GeneralBoundaryCondition::giveTimeFunction(), OOFEM_ERROR, R, and oofem::FloatArray::subtract().
|
inlineoverridevirtual |
Reimplemented from oofem::BoundaryCondition.
Definition at line 84 of file rotatingboundary.h.
|
overridevirtual |
Setups the input record string of receiver.
| input | Dynamic input record to be filled by receiver. |
Reimplemented from oofem::BoundaryCondition.
Definition at line 140 of file rotatingboundary.C.
References _IFT_RotatingBoundary_axis, _IFT_RotatingBoundary_center, axis, center, and oofem::DynamicInputRecord::setField().
|
inlineoverridevirtual |
Reimplemented from oofem::BoundaryCondition.
Definition at line 83 of file rotatingboundary.h.
References _IFT_RotatingBoundary_Name.
|
overridevirtual |
Initializes receiver according to object description stored in input record. This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record. Note that initializeFrom may be called mutiple times.
| ir | Input record to initialize from. |
| priority | Priority of the input record. This is used to determine the order of initialization |
Reimplemented from oofem::BoundaryCondition.
Definition at line 129 of file rotatingboundary.C.
References _IFT_RotatingBoundary_axis, _IFT_RotatingBoundary_center, axis, center, IR_GIVE_FIELD, and IR_GIVE_OPTIONAL_FIELD.
|
inlineoverridevirtual |
Scales the receiver according to given value. Typically used in nondimensional analysis to scale down BCs and ICs.
| s | Scale factor. |
Reimplemented from oofem::BoundaryCondition.
Definition at line 81 of file rotatingboundary.h.
|
protected |
Axis and center of rotation.
Definition at line 64 of file rotatingboundary.h.
Referenced by give(), giveInputRecord(), and initializeFrom().
|
protected |
Definition at line 64 of file rotatingboundary.h.
Referenced by give(), giveInputRecord(), and initializeFrom().
|
protected |