|
OOFEM 3.0
|
#include <prescribedgradientbcweakdirichlet.h>
Public Member Functions | |
| PrescribedGradientBCWeakDirichlet (int n, Domain *d) | |
| virtual | ~PrescribedGradientBCWeakDirichlet () |
| void | initializeFrom (InputRecord &ir) override |
| void | postInitialize () override |
| Performs post initialization steps. Called after all components are created and initialized. | |
| const char * | giveClassName () const override |
| const char * | giveInputRecordName () const override |
| Public Member Functions inherited from oofem::PrescribedGradientBCWeak | |
| PrescribedGradientBCWeak (int n, Domain *d) | |
| virtual | ~PrescribedGradientBCWeak () |
| void | clear () |
| double | domainSize () override |
| int | giveNumberOfInternalDofManagers () override |
| Gives the number of internal dof managers. | |
| DofManager * | giveInternalDofManager (int i) override |
| Gives an internal dof manager from receiver. | |
| bcType | giveType () const override |
| void | giveInputRecord (DynamicInputRecord &input) override |
| void | computeField (FloatArray &sigma, TimeStep *tStep) override |
| void | computeTangent (FloatMatrix &E, TimeStep *tStep) override |
| void | assembleVector (FloatArray &answer, TimeStep *tStep, CharType type, ValueModeType mode, const UnknownNumberingScheme &s, FloatArray *eNorm=nullptr, void *lock=nullptr) override |
| void | computeExtForceElContrib (FloatArray &oContrib, TracSegArray &iEl, int iDim, TimeStep *tStep) |
| void | computeIntForceGPContrib (FloatArray &oContrib_disp, IntArray &oDisp_loc_array, FloatArray &oContrib_trac, IntArray &oTrac_loc_array, TracSegArray &iEl, GaussPoint &iGP, int iDim, TimeStep *tStep, const FloatArray &iBndCoord, const double &iScaleFac, ValueModeType mode, CharType type, const UnknownNumberingScheme &s) |
| void | assemble (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, double scale=1.0, void *lock=nullptr) override |
| virtual void | assembleExtraDisplock (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s) |
| virtual void | assembleGPContrib (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, TracSegArray &iEl, GaussPoint &iGP, double k, void *lock=nullptr) |
| void | giveLocationArrays (std ::vector< IntArray > &rows, std ::vector< IntArray > &cols, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s) override |
| virtual void | giveTractionLocationArray (IntArray &rows, const UnknownNumberingScheme &s) |
| virtual void | giveDisplacementLocationArray (IntArray &rows, const UnknownNumberingScheme &s) |
| void | compute_x_times_N_1 (FloatMatrix &o_x_times_N) |
| void | compute_x_times_N_2 (FloatMatrix &o_x_times_N) |
| size_t | giveNumberOfTractionElements () const |
| void | giveTractionElCoord (size_t iElInd, FloatArray &oStartCoord, FloatArray &oEndCoord) const |
| void | giveTractionElNormal (size_t iElInd, FloatArray &oNormal, FloatArray &oTangent) const |
| void | giveTractionElArcPos (size_t iElInd, double &oXiStart, double &oXiEnd) const |
| void | giveBoundaries (IntArray &oBoundaries) |
| void | giveTraction (size_t iElInd, FloatArray &oStartTraction, FloatArray &oEndTraction, ValueModeType mode, TimeStep *tStep) |
| void | computeDomainBoundingBox (Domain &iDomain, FloatArray &oLC, FloatArray &oUC) |
| const IntArray & | giveTracDofIDs () const |
| const IntArray & | giveDispLockDofIDs () const |
| const IntArray & | giveRegularDispDofIDs () const |
| void | setPeriodicityNormal (const FloatArray &iPeriodicityNormal) |
| void | setDomainSize (double iDomainSize) |
| void | setLowerCorner (FloatArray iLC) |
| void | setUpperCorner (FloatArray iUC) |
| void | setMirrorFunction (int iMirrorFunction) |
| void | recomputeTractionMesh () |
| void | giveMirroredPointOnGammaMinus (FloatArray &oPosMinus, const FloatArray &iPosPlus) const |
| void | giveMirroredPointOnGammaPlus (FloatArray &oPosPlus, const FloatArray &iPosMinus) const |
| Public Member Functions inherited from oofem::ActiveBoundaryCondition | |
| ActiveBoundaryCondition (int n, Domain *d) | |
| virtual | ~ActiveBoundaryCondition () |
| Destructor. | |
| virtual void | addElementSide (int elem, int side) |
| 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 |
| 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 void | scale (double s) |
| 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 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 () |
| 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 Member Functions | |
| void | giveBoundaryCoordVector (FloatArray &oX, const FloatArray &iPos) const override |
| void | checkIfCorner (bool &oIsCorner, bool &oDuplicatable, const FloatArray &iPos, const double &iNodeDistTol) const override |
| bool | boundaryPointIsOnActiveBoundary (const FloatArray &iPos) const override |
| Protected Member Functions inherited from oofem::PrescribedGradientBCWeak | |
| void | createTractionMesh (bool iEnforceCornerPeriodicity, int iNumSides) |
| void | splitSegments (std ::vector< TracSegArray > &ioElArray) |
| bool | damageExceedsTolerance (Element *el) |
| void | assembleTangentGPContributionNew (FloatMatrix &oTangent, TracSegArray &iEl, GaussPoint &iGP, const double &iScaleFactor, const FloatArray &iBndCoord) |
| bool | pointIsOnGammaPlus (const FloatArray &iPos) const |
| int | giveSideIndex (const FloatArray &iPos) const |
| void | findHoleCoord (std::vector< FloatArray > &oHoleCoordUnsorted, std::vector< FloatArray > &oAllCoordUnsorted) |
| void | findCrackBndIntersecCoord (std::vector< FloatArray > &oHoleCoordUnsorted) |
| void | findPeriodicityCoord (std::vector< FloatArray > &oHoleCoordUnsorted) |
| void | removeClosePoints (std::vector< FloatArray > &ioCoords, const double &iAbsTol) |
| void | removeSegOverHoles (TracSegArray &ioTSeg, const double &iAbsTol) |
| Protected Member Functions inherited from oofem::PrescribedGradientHomogenization | |
| virtual double | domainSize (Domain *d, int set) |
Additional Inherited Members | |
| Protected Attributes inherited from oofem::PrescribedGradientBCWeak | |
| const IntArray | mTractionDofIDs |
| const IntArray | mDispLockDofIDs |
| const IntArray | mRegularDispDofIDs |
| int | mTractionInterpOrder |
| Order of interpolation for traction (0->piecewise constant, 1->piecewise linear). | |
| int | mNumTractionNodesAtIntersections |
| int | mTractionNodeSpacing |
| bool | mMeshIsPeriodic |
| bool | mDuplicateCornerNodes |
| double | mTangDistPadding |
| double | mTracDofScaling |
| FloatArray | mLC |
| Lower corner of domain (assuming a rectangular RVE). | |
| FloatArray | mUC |
| Upper corner of domain (assuming a rectangular RVE). | |
| std::unique_ptr< Node > | mpDisplacementLock |
| Lock displacements in one node if periodic. | |
| int | mLockNodeInd |
| double | mDispLockScaling |
| int | mSpringNodeInd1 |
| int | mSpringNodeInd2 |
| int | mSpringNodeInd3 |
| double | mSpringPenaltyStiffness |
| std ::vector< TracSegArray > | mpTracElNew |
| Elements for the independent traction discretization. | |
| FloatArray | mPeriodicityNormal |
| double | mDomainSize |
| int | mMirrorFunction |
| 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 \). | |
Definition at line 16 of file prescribedgradientbcweakdirichlet.h.
| oofem::PrescribedGradientBCWeakDirichlet::PrescribedGradientBCWeakDirichlet | ( | int | n, |
| Domain * | d ) |
Definition at line 15 of file prescribedgradientbcweakdirichlet.C.
References oofem::PrescribedGradientBCWeak::PrescribedGradientBCWeak().
|
virtual |
Definition at line 21 of file prescribedgradientbcweakdirichlet.C.
|
inlineoverrideprotectedvirtual |
Implements oofem::PrescribedGradientBCWeak.
Definition at line 32 of file prescribedgradientbcweakdirichlet.h.
|
overrideprotectedvirtual |
Implements oofem::PrescribedGradientBCWeak.
Definition at line 46 of file prescribedgradientbcweakdirichlet.C.
References oofem::distance(), oofem::PrescribedGradientBCWeak::mLC, oofem::PrescribedGradientBCWeak::mUC, and oofem::Vec2().
|
overrideprotectedvirtual |
Implements oofem::PrescribedGradientBCWeak.
Definition at line 39 of file prescribedgradientbcweakdirichlet.C.
References oofem::PrescribedGradientHomogenization::mCenterCoord, and oofem::Vec2().
|
inlineoverridevirtual |
Reimplemented from oofem::PrescribedGradientBCWeak.
Definition at line 26 of file prescribedgradientbcweakdirichlet.h.
|
inlineoverridevirtual |
Reimplemented from oofem::PrescribedGradientBCWeak.
Definition at line 27 of file prescribedgradientbcweakdirichlet.h.
References _IFT_PrescribedGradientBCWeakDirichlet_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::PrescribedGradientBCWeak.
Definition at line 26 of file prescribedgradientbcweakdirichlet.C.
References oofem::PrescribedGradientBCWeak::mMeshIsPeriodic.
|
overridevirtual |
Performs post initialization steps. Called after all components are created and initialized.
Reimplemented from oofem::PrescribedGradientBCWeak.
Definition at line 32 of file prescribedgradientbcweakdirichlet.C.
References oofem::PrescribedGradientBCWeak::createTractionMesh().