|
OOFEM 3.0
|
#include <transversereinfconstraint.h>
Public Member Functions | |
| TransverseReinfConstraint (int n, Domain *d) | |
| virtual | ~TransverseReinfConstraint () |
| int | giveNumberOfInternalDofManagers () override |
| Gives the number of internal dof managers. | |
| DofManager * | giveInternalDofManager (int i) override |
| Gives an internal dof manager from receiver. | |
| void | initializeFrom (InputRecord &ir) override |
| void | giveInputRecord (DynamicInputRecord &input) override |
| bcType | giveType () const override |
| void | assembleVector (FloatArray &answer, TimeStep *tStep, CharType type, ValueModeType mode, const UnknownNumberingScheme &s, FloatArray *eNorm, void *lock) override |
| void | assemble (SparseMtrx &answer, TimeStep *tStep, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, double scale, void *lock) override |
| void | giveLocationArrays (std ::vector< IntArray > &rows, std ::vector< IntArray > &cols, CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s) override |
| const char * | giveClassName () const override |
| const char * | giveInputRecordName () const override |
| void | computeField (FloatArray &lambda, TimeStep *tStep) |
| 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 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 Member Functions | |
| void | integrateTangent (FloatMatrix &oTangent, Element *es, Element *ec, int iBndIndex) |
| Help functions that integrate the tangent contribution from steel and concrete elements. | |
| void | integrateTangentOnSteel (FloatMatrix &oTangent, Element *e) |
| void | integrateTangentOnConcrete (FloatMatrix &oTangent, Element *e, int iBndIndex) |
Protected Attributes | |
| std ::unique_ptr< Node > | lmLambda |
| DOF-manager containing the unknown Lagrange multiplier. | |
| IntArray | lmLambdaIds |
| int | steelElSet = 0 |
| Reinforcement bar element set. | |
| int | conElBoundSet = 0 |
| Set of element boundaries along the reinforcement. | |
| 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. | |
Imposes transverse constraint (only tangential interface jump) on the reinforcement weakly. Support for plane stress concrete elements and beam element reinforcement.
Required input fields: steelElSet - set number of the reinforcement elements - one per rebar conElBoundSet - set number of concrete element boundaries along that rebar it doesn't matter if elements left/right from the rebar are chosen
Definition at line 60 of file transversereinfconstraint.h.
| oofem::TransverseReinfConstraint::TransverseReinfConstraint | ( | int | n, |
| Domain * | d ) |
Definition at line 55 of file transversereinfconstraint.C.
References oofem::ActiveBoundaryCondition::ActiveBoundaryCondition(), oofem::Domain::giveNextFreeDofID(), lmLambda, and lmLambdaIds.
|
virtual |
Definition at line 64 of file transversereinfconstraint.C.
|
overridevirtual |
Assembles B.C. contributions to specified matrix.
| [in,out] | answer | Matrix to assemble to. |
| tStep | Active time step. | |
| tStep | Active time step. | |
| type | Type of matrix to assemble. | |
| r_s | Row numbering scheme. | |
| c_s | Column numbering scheme. | |
| scale | Scaling factor. | |
| omp_lock | optional OMP lock to ensure correct update of answer |
Reimplemented from oofem::ActiveBoundaryCondition.
Definition at line 169 of file transversereinfconstraint.C.
References oofem::SparseMtrx::assemble(), oofem::IntArray::at(), oofem::FloatMatrix::beTranspositionOf(), conElBoundSet, oofem::IntArray::followedBy(), oofem::Element::giveBoundaryEdgeNodes(), oofem::Set::giveBoundaryList(), oofem::Element::giveBoundaryLocationArray(), oofem::FEMComponent::giveDomain(), oofem::Set::giveElementList(), oofem::Element::giveLocationArray(), oofem::IntArray::giveSize(), integrateTangent(), lmLambda, lmLambdaIds, oofem::FloatMatrix::negated(), OOFEM_ERROR, OOFEM_LOG_DEBUG, oofem::GeneralBoundaryCondition::scale(), and steelElSet.
|
overridevirtual |
Assembles B.C. contributions to specified vector.
| [in,out] | answer | Vector to assemble to. |
| tStep | Active time step. | |
| type | Type of matrix to assemble. | |
| mode | Mode of value. | |
| s | Numbering scheme. | |
| eNorms | Norms for each dofid. | |
| omp_lock | optional OMP lock to ensure correct update of answer |
Reimplemented from oofem::ActiveBoundaryCondition.
Definition at line 90 of file transversereinfconstraint.C.
References oofem::FloatArray::assemble(), oofem::IntArray::at(), oofem::FloatArray::beProductOf(), oofem::FloatArray::beTProductOf(), oofem::Element::computeBoundaryVectorOf(), oofem::Element::computeGtoLRotationMatrix(), oofem::Element::computeVectorOf(), conElBoundSet, oofem::IntArray::followedBy(), oofem::FloatArray::fromConcatenated(), oofem::Element::giveBoundaryEdgeNodes(), oofem::Set::giveBoundaryList(), oofem::Element::giveBoundaryLocationArray(), oofem::FEMComponent::giveDomain(), oofem::Set::giveElementList(), oofem::Element::giveLocationArray(), oofem::IntArray::giveSize(), integrateTangent(), lmLambda, lmLambdaIds, oofem::FloatArray::negated(), OOFEM_ERROR, oofem::IntArray::resizeWithValues(), oofem::FloatArray::rotatedWith(), steelElSet, and oofem::Vec1().
| void oofem::TransverseReinfConstraint::computeField | ( | FloatArray & | lambda, |
| TimeStep * | tStep ) |
Definition at line 291 of file transversereinfconstraint.C.
References lmLambda, and lmLambdaIds.
Referenced by oofem::MatlabExportModule::doOutputSpecials().
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 85 of file transversereinfconstraint.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 78 of file transversereinfconstraint.C.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 86 of file transversereinfconstraint.h.
References _IFT_TransverseReinfConstraint_Name.
|
overridevirtual |
Gives an internal dof manager from receiver.
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 84 of file transversereinfconstraint.C.
References lmLambda.
|
overridevirtual |
Gives a list of location arrays that will be assembled. This should only be used to construct zero structure in sparse matrices. The rows and columns location arrays returned in tuples (stored in vector), allowing to efficiently assemble and allocate off-diagonal blocks. The nonzero entries are assembled and allocated for entries at (rows[i], cols[i]) positions.
| rows | List of location arrays for r_s. |
| cols | List of location arrays for c_s. |
| type | Type of matrix to assemble. |
| r_s | Row numbering scheme. |
| c_s | Column numbering scheme. |
Reimplemented from oofem::ActiveBoundaryCondition.
Definition at line 233 of file transversereinfconstraint.C.
References oofem::IntArray::at(), conElBoundSet, oofem::IntArray::followedBy(), oofem::Element::giveBoundaryEdgeNodes(), oofem::Set::giveBoundaryList(), oofem::Element::giveBoundaryLocationArray(), oofem::FEMComponent::giveDomain(), oofem::Set::giveElementList(), oofem::Element::giveLocationArray(), oofem::IntArray::giveSize(), lmLambda, lmLambdaIds, OOFEM_ERROR, and steelElSet.
|
inlineoverridevirtual |
Gives the number of internal dof managers.
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 66 of file transversereinfconstraint.h.
|
inlineoverridevirtual |
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 72 of file transversereinfconstraint.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 69 of file transversereinfconstraint.C.
References _IFT_TransverseReinfConstraint_ConElBoundSet, _IFT_TransverseReinfConstraint_SteelElSet, conElBoundSet, IR_GIVE_FIELD, and steelElSet.
|
protected |
Help functions that integrate the tangent contribution from steel and concrete elements.
Definition at line 298 of file transversereinfconstraint.C.
References oofem::FloatMatrix::at(), oofem::FloatMatrix::giveNumberOfColumns(), integrateTangentOnConcrete(), integrateTangentOnSteel(), and oofem::FloatMatrix::resize().
Referenced by assemble(), and assembleVector().
|
protected |
Definition at line 364 of file transversereinfconstraint.C.
References oofem::FloatMatrix::add(), oofem::FloatArray::at(), oofem::FloatMatrix::beNMatrixOf(), oofem::FloatMatrix::beTProductOf(), oofem::FEInterpolation::boundaryEvalN(), oofem::FEInterpolation::boundaryEvalNormal(), oofem::FloatMatrix::clear(), oofem::FEInterpolation::giveBoundaryIntegrationRule(), oofem::Element::giveDofManDofIDMask(), oofem::Element::giveGeometryType(), oofem::Element::giveInterpolation(), oofem::FEInterpolation::giveInterpolationOrder(), oofem::IntArray::giveSize(), and oofem::FloatMatrix::negated().
Referenced by integrateTangent().
|
protected |
Definition at line 321 of file transversereinfconstraint.C.
References oofem::FloatMatrix::add(), oofem::FloatArray::at(), oofem::FloatMatrix::beNMatrixOf(), oofem::FloatMatrix::beTProductOf(), oofem::FEInterpolation::boundaryEvalNormal(), oofem::FloatMatrix::clear(), oofem::FEInterpolation::evalN(), oofem::Element::giveDofManDofIDMask(), oofem::Element::giveGeometryType(), oofem::FEInterpolation::giveIntegrationRule(), oofem::Element::giveInterpolation(), oofem::FEInterpolation::giveInterpolationOrder(), and oofem::IntArray::giveSize().
Referenced by integrateTangent().
|
protected |
Set of element boundaries along the reinforcement.
Definition at line 98 of file transversereinfconstraint.h.
Referenced by assemble(), assembleVector(), giveLocationArrays(), and initializeFrom().
|
protected |
DOF-manager containing the unknown Lagrange multiplier.
Definition at line 92 of file transversereinfconstraint.h.
Referenced by assemble(), assembleVector(), computeField(), giveInternalDofManager(), giveLocationArrays(), and TransverseReinfConstraint().
|
protected |
Definition at line 93 of file transversereinfconstraint.h.
Referenced by assemble(), assembleVector(), computeField(), giveLocationArrays(), and TransverseReinfConstraint().
|
protected |
Reinforcement bar element set.
Definition at line 96 of file transversereinfconstraint.h.
Referenced by assemble(), assembleVector(), giveLocationArrays(), and initializeFrom().