|
OOFEM 3.0
|
#include <prescribedgradientmultiple.h>
Public Member Functions | |
| PrescribedGradientMultiple (int n, Domain *d) | |
| virtual | ~PrescribedGradientMultiple () |
| void | initializeFrom (InputRecord &ir) override |
| void | giveInputRecord (DynamicInputRecord &input) override |
| bcType | giveType () const override |
| DofManager * | giveInternalDofManager (int i) override |
| Gives an internal dof manager from receiver. | |
| void | setPrescribedGradient (const FloatMatrix &t) override |
| void | setPrescribedGradientVoigt (const FloatArray &t) override |
| void | setCenterCoordinate (FloatArray &x) override |
| void | scale (double s) override |
| const char * | giveClassName () const override |
| const char * | giveInputRecordName () const override |
| void | computeField (FloatArray &sigma, TimeStep *tStep) override |
| void | computeTangent (FloatMatrix &tangent, TimeStep *tStep) override |
| Public Member Functions inherited from oofem::ActiveBoundaryCondition | |
| ActiveBoundaryCondition (int n, Domain *d) | |
| virtual | ~ActiveBoundaryCondition () |
| Destructor. | |
| virtual void | addElementSide (int elem, int side) |
| virtual void | assemble (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, double scale=1.0, void *lock=nullptr) |
| virtual void | assembleVector (FloatArray &answer, TimeStep *tStep, CharType type, ValueModeType mode, const UnknownNumberingScheme &s, FloatArray *eNorms=nullptr, void *lock=nullptr) |
| virtual void | giveLocationArrays (std ::vector< IntArray > &rows, std ::vector< IntArray > &cols, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s) |
| virtual bool | requiresActiveDofs () |
| virtual bool | isPrimaryDof (ActiveDof *dof) |
| virtual double | giveBcValue (Dof *dof, ValueModeType mode, TimeStep *tStep) |
| virtual bool | hasBc (Dof *dof, TimeStep *tStep) |
| virtual int | giveNumberOfMasterDofs (ActiveDof *dof) |
| virtual Dof * | giveMasterDof (ActiveDof *dof, int mdof) |
| virtual void | computeDofTransformation (ActiveDof *dof, FloatArray &masterContribs) |
| virtual double | giveUnknown (PrimaryField &field, ValueModeType mode, TimeStep *tStep, ActiveDof *dof) |
| virtual double | giveUnknown (ValueModeType mode, TimeStep *tStep, ActiveDof *dof) |
| 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. | |
| 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). | |
| Public Member Functions inherited from oofem::PrescribedGradientHomogenization | |
| PrescribedGradientHomogenization () | |
| virtual | ~PrescribedGradientHomogenization () |
| virtual double | domainSize () |
| void | setPrescribedGradient (const FloatMatrix &t) |
| void | setPrescribedGradientVoigt (const FloatArray &t) |
| void | giveGradientVoigt (FloatArray &oGradient) const |
| void | setCenterCoordinate (FloatArray &x) |
| FloatArray & | giveCenterCoordinate () |
| Returns the center coordinate. | |
Protected Attributes | |
| IntArray | bcs |
| 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. | |
| Protected Attributes inherited from oofem::PrescribedGradientHomogenization | |
| FloatMatrix | mGradient |
| Prescribed gradient \( d_{ij} \). | |
| FloatArray | mCenterCoord |
| Center coordinate \( \bar{x}_i \). | |
Additional Inherited Members | |
| Protected Member Functions inherited from oofem::PrescribedGradientHomogenization | |
| virtual double | domainSize (Domain *d, int set) |
Allows for imposing multiple boundary conditions of type PrescribedGradient on the RVE
Definition at line 55 of file prescribedgradientmultiple.h.
| oofem::PrescribedGradientMultiple::PrescribedGradientMultiple | ( | int | n, |
| Domain * | d ) |
Definition at line 61 of file prescribedgradientmultiple.C.
References oofem::ActiveBoundaryCondition::ActiveBoundaryCondition(), and oofem::PrescribedGradientHomogenization::PrescribedGradientHomogenization().
|
virtual |
Definition at line 67 of file prescribedgradientmultiple.C.
|
overridevirtual |
Computes the homogenized, macroscopic, field (stress).
| sigma | Output quantity (typically stress). |
| tStep | Active time step. |
Implements oofem::PrescribedGradientHomogenization.
Definition at line 136 of file prescribedgradientmultiple.C.
References oofem::FloatArray::add(), bcs, oofem::FloatArray::clear(), oofem::FEMComponent::giveDomain(), and oofem::PrescribedGradientHomogenization::PrescribedGradientHomogenization().
|
overridevirtual |
Computes the macroscopic tangent for homogenization problems through sensitivity analysis.
| tangent | Output tangent. |
| tStep | Active time step. |
Implements oofem::PrescribedGradientHomogenization.
Definition at line 148 of file prescribedgradientmultiple.C.
References OOFEM_ERROR.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 72 of file prescribedgradientmultiple.h.
|
overridevirtual |
Setups the input record string of receiver.
| input | Dynamic input record to be filled by receiver. |
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 80 of file prescribedgradientmultiple.C.
References _IFT_PrescribedGradientMultiple_BCs, bcs, and oofem::DynamicInputRecord::setField().
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 73 of file prescribedgradientmultiple.h.
References _IFT_PrescribedGradientMultiple_Name.
|
overridevirtual |
Gives an internal dof manager from receiver.
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 118 of file prescribedgradientmultiple.C.
References oofem::ActiveBoundaryCondition::ActiveBoundaryCondition(), bcs, oofem::Domain::giveBc(), and oofem::FEMComponent::giveDomain().
|
inlineoverridevirtual |
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 64 of file prescribedgradientmultiple.h.
References oofem::UnknownBT.
|
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::ActiveBoundaryCondition.
Definition at line 72 of file prescribedgradientmultiple.C.
References _IFT_PrescribedGradientMultiple_BCs, bcs, and IR_GIVE_FIELD.
|
overridevirtual |
Scales the receiver according to given value. Typically used in nondimensional analysis to scale down BCs and ICs.
| s | Scale factor. |
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 130 of file prescribedgradientmultiple.C.
References oofem::PrescribedGradientHomogenization::mGradient.
|
override |
|
override |
Definition at line 88 of file prescribedgradientmultiple.C.
References bcs, oofem::FEMComponent::giveDomain(), oofem::PrescribedGradientHomogenization::mGradient, and oofem::PrescribedGradientHomogenization::PrescribedGradientHomogenization().
|
override |
Definition at line 98 of file prescribedgradientmultiple.C.
References bcs, oofem::FEMComponent::giveDomain(), and oofem::PrescribedGradientHomogenization::PrescribedGradientHomogenization().
|
protected |
Definition at line 79 of file prescribedgradientmultiple.h.
Referenced by computeField(), giveInputRecord(), giveInternalDofManager(), initializeFrom(), setCenterCoordinate(), setPrescribedGradient(), and setPrescribedGradientVoigt().