OOFEM 3.0
Loading...
Searching...
No Matches
oofem::IntElLine1PF Class Reference

#include <intelline1PF.h>

Inheritance diagram for oofem::IntElLine1PF:
Collaboration diagram for oofem::IntElLine1PF:

Public Member Functions

 IntElLine1PF (int n, Domain *d)
FEInterpolationgiveInterpolation () const override
int computeNumberOfDofs () override
void giveDofManDofIDMask (int inode, IntArray &answer) const override
double computeAreaAround (GaussPoint *gp) override
void computeTransformationMatrixAt (GaussPoint *gp, FloatMatrix &answer) override
FloatArrayF< 2 > computeCovarBaseVectorAt (GaussPoint *gp) const
int testElementExtension (ElementExtension ext) override
const char * giveInputRecordName () const override
const char * giveClassName () const override
void initializeFrom (InputRecord &ir) override
void giveEngTraction (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep) override
void giveStiffnessMatrix_Eng (FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep) override
void computeStiffnessMatrix (FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
int giveNumberOfDofManagers () const override
StructuralInterfaceElementgiveElement () override
void giveDofManDofIDMask_u (IntArray &answer) override
void giveDofManDofIDMask_d (IntArray &answer) override
virtual void computeStiffnessMatrix_uu (FloatMatrix &, MatResponseMode, TimeStep *)
virtual void computeStiffnessMatrix_ud (FloatMatrix &, MatResponseMode, TimeStep *)
virtual void computeStiffnessMatrix_dd (FloatMatrix &, MatResponseMode, TimeStep *)
void giveInternalForcesVector (FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
virtual void giveInternalForcesVectorUD (FloatArray &fu, FloatArray &fd, TimeStep *tStep, int useUpdatedGpRecord=0)
virtual double computeDamageAt (GaussPoint *gp, ValueModeType valueMode, TimeStep *stepN)
virtual void computeLocationArrayOfDofIDs (const IntArray &dofIdArray, IntArray &answer)
virtual void computeBd_vectorAt (GaussPoint *gp, FloatArray &B)
virtual void computeNd_vectorAt (const FloatArray &lCoords, FloatArray &N)
virtual double computeFreeEnergy (GaussPoint *gp, TimeStep *tStep)
double computeOldG (GaussPoint *gp, ValueModeType valueMode, TimeStep *stepN)
double neg_MaCauley (double par) const
double neg_MaCauleyPrime (double par) const
double MaCauley (double par) const
double MaCauleyPrime (double par) const
void solveForLocalDamage (FloatMatrix &answer, TimeStep *tStep)
void computeGMatrix (FloatMatrix &answer, const double damage, GaussPoint *gp, ValueModeType valueMode, TimeStep *stepN)
Public Member Functions inherited from oofem::StructuralInterfaceElement
 StructuralInterfaceElement (int n, Domain *d)
int computeGlobalCoordinates (FloatArray &answer, const FloatArray &lcoords) override
void giveCharacteristicMatrix (FloatMatrix &answer, CharType, TimeStep *tStep) override
void giveCharacteristicVector (FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep) override
virtual void computeTraction (FloatArray &traction, IntegrationPoint *ip, const FloatArray &jump, TimeStep *tStep)
virtual void computeSpatialJump (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
InterfacegiveInterface (InterfaceType) override
void updateInternalState (TimeStep *tStep) override
void updateYourself (TimeStep *tStep) override
int checkConsistency () override
void giveInputRecord (DynamicInputRecord &input) override
const char * giveClassName () const override
StructuralInterfaceCrossSectiongiveInterfaceCrossSection ()
Element_Geometry_Type giveGeometryType () const override
virtual void giveFirstPKTraction (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const FloatMatrix &F, TimeStep *tStep)
virtual void giveStiffnessMatrix_dTdj (FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
Public Member Functions inherited from oofem::Element
 Element (int n, Domain *aDomain)
 Element (const Element &src)=delete
Elementoperator= (const Element &src)=delete
virtual ~Element ()
 Virtual destructor.
void giveLocationArray (IntArray &locationArray, const UnknownNumberingScheme &s, IntArray *dofIds=NULL) const
void giveLocationArray (IntArray &locationArray, const IntArray &dofIDMask, const UnknownNumberingScheme &s, IntArray *dofIds=NULL) const
virtual void giveBoundaryLocationArray (IntArray &locationArray, const IntArray &bNodes, const UnknownNumberingScheme &s, IntArray *dofIds=NULL)
virtual void giveBoundaryLocationArray (IntArray &locationArray, const IntArray &bNodes, const IntArray &dofIDMask, const UnknownNumberingScheme &s, IntArray *dofIds=NULL)
virtual int giveNumberOfDofs ()
virtual int giveNumberOfInternalDofManagers () const
virtual DofManagergiveInternalDofManager (int i) const
virtual void setInternalDofManager (int num, std::unique_ptr< DofManager > dm)
virtual double giveCharacteristicValue (CharType type, TimeStep *tStep)
virtual void computeLoadVector (FloatArray &answer, BodyLoad *load, CharType type, ValueModeType mode, TimeStep *tStep)
virtual void computeBoundarySurfaceLoadVector (FloatArray &answer, BoundaryLoad *load, int boundary, CharType type, ValueModeType mode, TimeStep *tStep, bool global=true)
virtual void computeTangentFromSurfaceLoad (FloatMatrix &answer, BoundaryLoad *load, int boundary, MatResponseMode rmode, TimeStep *tStep)
virtual void computeTangentFromEdgeLoad (FloatMatrix &answer, BoundaryLoad *load, int boundary, MatResponseMode rmode, TimeStep *tStep)
virtual void computeBoundaryEdgeLoadVector (FloatArray &answer, BoundaryLoad *load, int edge, CharType type, ValueModeType mode, TimeStep *tStep, bool global=true)
const IntArraygiveBodyLoadList () const
const IntArraygiveBoundaryLoadList () const
void computeVectorOf (ValueModeType u, TimeStep *tStep, FloatArray &answer)
void computeVectorOf (const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeBoundaryVectorOf (const IntArray &bNodes, const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeVectorOf (PrimaryField &field, const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeVectorOfPrescribed (ValueModeType u, TimeStep *tStep, FloatArray &answer)
void computeVectorOfPrescribed (const IntArray &dofIDMask, ValueModeType type, TimeStep *tStep, FloatArray &answer)
virtual int computeNumberOfGlobalDofs ()
int computeNumberOfPrimaryMasterDofs ()
virtual bool computeGtoLRotationMatrix (FloatMatrix &answer)
virtual bool giveRotationMatrix (FloatMatrix &answer)
virtual bool computeDofTransformationMatrix (FloatMatrix &answer, const IntArray &nodes, bool includeInternal)
virtual void giveInternalDofManDofIDMask (int inode, IntArray &answer) const
virtual void giveElementDofIDMask (IntArray &answer) const
virtual void computeField (ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer)
virtual double computeVolumeAround (GaussPoint *gp)
virtual double computeVolumeAreaOrLength ()
 Computes the volume, area or length of the element depending on its spatial dimension.
double computeMeanSize ()
virtual double computeVolume ()
virtual double computeArea ()
virtual double computeLength ()
virtual IntArray giveBoundaryEdgeNodes (int boundary, bool includeHierarchical=false) const
virtual IntArray giveBoundarySurfaceNodes (int boundary, bool includeHierarchical=false) const
virtual IntArray giveBoundaryNodes (int boundary) const
virtual std::unique_ptr< IntegrationRulegiveBoundaryEdgeIntegrationRule (int order, int boundary)
virtual std::unique_ptr< IntegrationRulegiveBoundarySurfaceIntegrationRule (int order, int boundary)
int giveDofManagerNumber (int i) const
const IntArraygiveDofManArray () const
void addDofManager (DofManager *dMan)
DofManagergiveDofManager (int i) const
NodegiveNode (int i) const
virtual ElementSidegiveSide (int i) const
virtual FEInterpolationgiveInterpolation (DofIDItem id) const
virtual const FEInterpolationgetGeometryInterpolation () const
virtual MaterialgiveMaterial ()
int giveMaterialNumber () const
CrossSectiongiveCrossSection ()
int getActivityTimeFunctionNumber ()
void setActivityTimeFunctionNumber (int funcIndx)
void setMaterial (int matIndx)
virtual void setCrossSection (int csIndx)
void setNumberOfDofManagers (int i)
 Sets number of element dof managers.
virtual int giveNumberOfNodes () const
void setDofManagers (const IntArray &dmans)
void setDofManager (int id, int dm)
void setBodyLoads (const IntArray &bodyLoads)
void setIntegrationRules (std ::vector< std ::unique_ptr< IntegrationRule > > irlist)
virtual integrationDomain giveIntegrationDomain () const
virtual MaterialMode giveMaterialMode ()
virtual int giveIntegrationRuleLocalCodeNumbers (IntArray &answer, IntegrationRule &ie)
int giveRegionNumber ()
virtual void initializeYourself (TimeStep *timeStepWhenICApply)
virtual bool isActivated (TimeStep *tStep)
virtual bool isCast (TimeStep *tStep)
virtual void initForNewStep ()
virtual Element_Geometry_Type giveEdgeGeometryType (int id) const
 Returns the receiver edge geometry type.
virtual Element_Geometry_Type giveSurfaceGeometryType (int id) const
 Returns the receiver surface geometry type.
virtual int giveSpatialDimension ()
virtual int giveNumberOfBoundarySides ()
 Returns number of boundaries (entities of element_dimension-1: points, edges, surfaces).
virtual int giveNumberOfEdges () const
virtual int giveNumberOfSurfaces () const
virtual int giveDefaultIntegrationRule () const
virtual IntegrationRulegiveDefaultIntegrationRulePtr ()
int giveNumberOfIntegrationRules ()
virtual IntegrationRulegiveIntegrationRule (int i)
std::vector< std ::unique_ptr< IntegrationRule > > & giveIntegrationRulesArray ()
int giveGlobalIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
virtual double giveLengthInDir (const FloatArray &normalToCrackPlane)
virtual double giveCharacteristicLength (const FloatArray &normalToCrackPlane)
double giveCharacteristicLengthForPlaneElements (const FloatArray &normalToCrackPlane)
double giveCharacteristicLengthForAxisymmElements (const FloatArray &normalToCrackPlane)
virtual double giveCharacteristicSize (GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method)
virtual double giveParentElSize () const
virtual void updateBeforeNonlocalAverage (TimeStep *tStep)
virtual bool computeLocalCoordinates (FloatArray &answer, const FloatArray &gcoords)
virtual int giveLocalCoordinateSystem (FloatMatrix &answer)
virtual void giveLocalCoordinateSystemVector (InternalStateType isttype, FloatArray &answer)
virtual void computeMidPlaneNormal (FloatArray &answer, const GaussPoint *gp)
virtual int adaptiveMap (Domain *oldd, TimeStep *tStep)
virtual int mapStateVariables (Domain &iOldDom, const TimeStep &iTStep)
virtual int adaptiveUpdate (TimeStep *tStep)
virtual int adaptiveFinish (TimeStep *tStep)
void updateLocalNumbering (EntityRenumberingFunctor &f) override
template<class T>
void ipEvaluator (T *src, void(T ::*f)(GaussPoint *gp))
 Integration point evaluator, loops over receiver IP's and calls given function (passed as f parameter) on them. The IP is parameter to function f.
template<class T, class S>
void ipEvaluator (T *src, void(T ::*f)(GaussPoint *, S &), S &_val)
 Integration point evaluator, loops over receiver IP's and calls given function (passed as f parameter) on them. The IP is parameter to function f as well as additional array.
virtual void drawYourself (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawAnnotation (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawRawGeometry (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawDeformedGeometry (oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
virtual void drawScalar (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawSpecial (oofegGraphicContext &gc, TimeStep *tStep)
virtual void giveLocalIntVarMaxMin (oofegGraphicContext &gc, TimeStep *tStep, double &emin, double &emax)
virtual int giveInternalStateAtNode (FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *tStep)
virtual int giveInternalStateAtSide (FloatArray &answer, InternalStateType type, InternalStateMode mode, int side, TimeStep *tStep)
virtual void showSparseMtrxStructure (CharType mtrx, oofegGraphicContext &gc, TimeStep *tStep)
 Shows sparse structure.
virtual void showExtendedSparseMtrxStructure (CharType mtrx, oofegGraphicContext &gc, TimeStep *tStep)
 Shows extended sparse structure (for example, due to nonlocal interactions for tangent stiffness).
int giveLabel () const
int giveGlobalNumber () const
void setGlobalNumber (int num)
elementParallelMode giveParallelMode () const
void setParallelMode (elementParallelMode _mode)
 Sets parallel mode of element.
virtual elementParallelMode giveKnotSpanParallelMode (int) const
int packUnknowns (DataStream &buff, TimeStep *tStep)
int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep)
int estimatePackSize (DataStream &buff)
const IntArraygivePartitionList () const
void setPartitionList (IntArray &pl)
virtual double predictRelativeComputationalCost ()
virtual double giveRelativeSelfComputationalCost ()
virtual double predictRelativeRedistributionCost ()
IntArraygiveBodyLoadArray ()
 Returns array containing load numbers of loads acting on element.
IntArraygiveBoundaryLoadArray ()
 Returns array containing load numbers of boundary loads acting on element.
void initializeFrom (InputRecord &ir, int priority) override
void initializeFinish () override
void postInitialize () override
 Performs post initialization steps.
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
void printOutputAt (FILE *file, TimeStep *tStep) override
virtual const IntArray giveLocation ()
virtual void recalculateCoordinates (int nodeNumber, FloatArray &coords)
void setSharedEdgeID (int iedge, int globalID)
void setSharedSurfaceID (int isurf, int globalID)
const IntArraygiveSharedEdgeIDs () const
const IntArraygiveSharedSurfaceIDs () const
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging.
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Protected Member Functions

void computeNmatrixAt (GaussPoint *gp, FloatMatrix &answer) override
void computeGaussPoints () override
virtual int giveApproxOrder ()
Element_Geometry_Type giveGeometryType () const override
Protected Member Functions inherited from oofem::StructuralInterfaceElement
virtual int giveNumberOfIPForMassMtrxIntegration ()
virtual int testCrossSectionExtension (CrossSectExtension ext)
int testElementExtension (ElementExtension ext) override

Protected Attributes

FloatArray unknownVectorU
FloatArray unknownVectorD
FloatArray deltaUnknownVectorD
FloatArray deltaAlpha
FloatArray alpha
FloatArray oldAlpha
double prescribed_damage = 0.
Protected Attributes inherited from oofem::StructuralInterfaceElement
FloatArray initialDisplacements
 Initial displacement vector, describes the initial nodal displacements when element has been casted.
bool nlGeometry = false
 Flag indicating if geometrical nonlinearities apply.
Protected Attributes inherited from oofem::Element
int numberOfDofMans
 Number of dofmanagers.
IntArray dofManArray
 Array containing dofmanager numbers.
int material
 Number of associated material.
int crossSection
 Number of associated cross section.
IntArray bodyLoadArray
IntArray boundaryLoadArray
std::vector< std ::unique_ptr< IntegrationRule > > integrationRulesArray
FloatMatrix elemLocalCS
 Transformation material matrix, used in orthotropic and anisotropic materials, global->local transformation.
int activityTimeFunction
 Element activity time function. If defined, nonzero value indicates active receiver, zero value inactive element.
int globalNumber
int numberOfGaussPoints
elementParallelMode parallel_mode
 Determines the parallel mode of the element.
IntArray partitions
IntArray globalEdgeIDs
IntArray globalSurfaceIDs
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Static Protected Attributes

static FEI2dLineLin interp

Additional Inherited Members

Static Public Attributes inherited from oofem::Element
static ParamKey IPK_Element_mat
static ParamKey IPK_Element_crosssect
static ParamKey IPK_Element_nodes
static ParamKey IPK_Element_bodyload
static ParamKey IPK_Element_boundaryload
static ParamKey IPK_Element_lcs
static ParamKey IPK_Element_partitions
static ParamKey IPK_Element_remote
static ParamKey IPK_Element_activityTimeFunction
static ParamKey IPK_Element_nip
Private Member Functions inherited from oofem::PhaseFieldElement
 PhaseFieldElement (int i, Domain *aDomain)
virtual ~PhaseFieldElement ()
const char * giveClassName () const
void computeLocationArrayOfDofIDs (const IntArray &dofIdArray, IntArray &answer)
double computeFreeEnergy (GaussPoint *gp, TimeStep *tStep)
double giveInternalLength ()
double giveCriticalEnergy ()
double giveRelaxationTime ()
void computeStiffnessMatrix_uu (FloatMatrix &, MatResponseMode, TimeStep *)
void computeStiffnessMatrix_ud (FloatMatrix &, MatResponseMode, TimeStep *)
void computeStiffnessMatrix_dd (FloatMatrix &, MatResponseMode, TimeStep *)
void computeStiffnessMatrix_du (FloatMatrix &, MatResponseMode, TimeStep *)
double computeG (GaussPoint *gp, ValueModeType valueMode, TimeStep *stepN)
double computeGPrim (GaussPoint *gp, ValueModeType valueMode, TimeStep *stepN)
double computeDamageAt (GaussPoint *gp, ValueModeType valueMode, TimeStep *stepN)
void giveInternalForcesVector (FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
void giveInternalForcesVector_u (FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
void giveInternalForcesVector_d (FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
void computeBStress_u (FloatArray &answer, GaussPoint *gp, TimeStep *tStep, int useUpdatedGpRecord)
void computeNStress_d (FloatArray &answer, GaussPoint *gp, TimeStep *tStep, int useUpdatedGpRecord)
void computeDisplacementUnknowns (FloatArray &answer, ValueModeType valueMode, TimeStep *stepN)
void computeDamageUnknowns (FloatArray &answer, ValueModeType valueMode, TimeStep *stepN)
virtual void computeBd_matrixAt (GaussPoint *, FloatMatrix &, int=1, int=ALL_STRAINS)
virtual void computeNd_matrixAt (const FloatArray &lCoords, FloatMatrix &N)
Private Attributes inherited from oofem::PhaseFieldElement
double internalLength
double criticalEnergy
double relaxationTime
IntArray loc_u
IntArray loc_d

Detailed Description

This class implements a two dimensional interface element. Even if geometry approx is quadratic, the element is assumed straight If not straight, the rotation matrix depends on actual integration point and stiffness and strain computations should be modified.

Definition at line 53 of file intelline1PF.h.

Constructor & Destructor Documentation

◆ IntElLine1PF()

Member Function Documentation

◆ computeAreaAround()

◆ computeBd_vectorAt()

◆ computeCovarBaseVectorAt()

◆ computeDamageAt()

◆ computeFreeEnergy()

◆ computeGaussPoints()

void oofem::IntElLine1PF::computeGaussPoints ( )
overrideprotectedvirtual

Initializes the array of integration rules member variable. Element can have multiple integration rules for different tasks. For example structural element family class uses this feature to implement transparent support for reduced and selective integration of some strain components. Must be defined by terminator classes.

See also
IntegrationRule

Reimplemented from oofem::Element.

Definition at line 91 of file intelline1PF.C.

References oofem::Element::integrationRulesArray, and oofem::Element::numberOfGaussPoints.

◆ computeGMatrix()

void oofem::IntElLine1PF::computeGMatrix ( FloatMatrix & answer,
const double damage,
GaussPoint * gp,
ValueModeType valueMode,
TimeStep * stepN )

◆ computeLocationArrayOfDofIDs()

◆ computeNd_vectorAt()

◆ computeNmatrixAt()

void oofem::IntElLine1PF::computeNmatrixAt ( GaussPoint * gp,
FloatMatrix & answer )
overrideprotectedvirtual

Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector (u) produces the spatial jump.

Parameters
gpIntegration point for which answer is assembled.
answerInterpolation matrix evaluated at gp.

Implements oofem::StructuralInterfaceElement.

Definition at line 72 of file intelline1PF.C.

References oofem::FloatMatrix::at(), giveInterpolation(), oofem::GaussPoint::giveNaturalCoordinates(), interp, N, oofem::FloatMatrix::resize(), and oofem::FloatMatrix::zero().

Referenced by computeStiffnessMatrix_ud(), computeStiffnessMatrix_uu(), and giveInternalForcesVectorUD().

◆ computeNumberOfDofs()

int oofem::IntElLine1PF::computeNumberOfDofs ( )
inlineoverridevirtual

Computes or simply returns total number of element's local DOFs. Must be defined by particular element.

Returns
Number of local DOFs of element.

Reimplemented from oofem::Element.

Definition at line 63 of file intelline1PF.h.

Referenced by computeStiffnessMatrix(), and giveInternalForcesVector().

◆ computeOldG()

double oofem::IntElLine1PF::computeOldG ( GaussPoint * gp,
ValueModeType valueMode,
TimeStep * stepN )

Definition at line 697 of file intelline1PF.C.

References computeDamageAt().

◆ computeStiffnessMatrix()

void oofem::IntElLine1PF::computeStiffnessMatrix ( FloatMatrix & answer,
MatResponseMode rMode,
TimeStep * tStep )
overridevirtual

Computes the stiffness/tangent matrix of receiver. Default implementation computes element stiffness using \( K=\int_{\Gamma} N^{\mathrm{T}} D N \mathrm{d}V \) formulae, where \( N \) is the element geometric matrix such that \( j = N a \) and \( D \) is the stiffness matrix of the interface material. Numerical integration procedure uses integrationRulesArray for numerical integration.

The geometrical matrix is obtained using computeNmatrixAt service and the constitutive matrix is obtained using computeConstitutiveMatrixAt service.

For higher numerical performance, only one half of stiffness matrix is computed and answer is then symmetrized. Therefore, if element matrix will be generally nonsymmetric, one must specialize this method. Finally, the result is transformed into global coordinate system (or nodal coordinate system, if it is defined).

Parameters
answerComputed stiffness matrix (symmetric).
rModeResponse mode.
tStepTime step.
Todo
this part is enough to do once

Reimplemented from oofem::StructuralInterfaceElement.

Definition at line 173 of file intelline1PF.C.

References oofem::FloatMatrix::assemble(), oofem::FloatMatrix::beTranspositionOf(), oofem::PhaseFieldElement::computeDamageUnknowns(), oofem::PhaseFieldElement::computeDisplacementUnknowns(), computeLocationArrayOfDofIDs(), computeNumberOfDofs(), computeStiffnessMatrix_dd(), computeStiffnessMatrix_uu(), deltaUnknownVectorD, giveDofManDofIDMask_d(), giveDofManDofIDMask_u(), oofem::PhaseFieldElement::loc_d, oofem::PhaseFieldElement::loc_u, oofem::FloatMatrix::resize(), solveForLocalDamage(), unknownVectorD, unknownVectorU, and oofem::FloatMatrix::zero().

◆ computeStiffnessMatrix_dd()

◆ computeStiffnessMatrix_ud()

◆ computeStiffnessMatrix_uu()

◆ computeTransformationMatrixAt()

void oofem::IntElLine1PF::computeTransformationMatrixAt ( GaussPoint * gp,
FloatMatrix & answer )
overridevirtual

◆ giveApproxOrder()

virtual int oofem::IntElLine1PF::giveApproxOrder ( )
inlineprotectedvirtual

Definition at line 149 of file intelline1PF.h.

◆ giveClassName()

const char * oofem::IntElLine1PF::giveClassName ( ) const
inlineoverridevirtual
Returns
Class name of the receiver.

Reimplemented from oofem::Element.

Definition at line 76 of file intelline1PF.h.

◆ giveDofManDofIDMask()

void oofem::IntElLine1PF::giveDofManDofIDMask ( int inode,
IntArray & answer ) const
overridevirtual

Returns dofmanager dof mask for node. This mask defines the dofs which are used by element in node. Mask influences the code number ordering for particular node. Code numbers are ordered according to node order and dofs belonging to particular node are ordered according to this mask. If element requests dofs using node mask which are not in node then error is generated. This masking allows node to be shared by different elements with different dofs in same node. Elements local code numbers are extracted from node using this mask. Must be defined by particular element.

Parameters
inodeMask is computed for local dofmanager with inode number.
answerMask for node.

Reimplemented from oofem::Element.

Definition at line 142 of file intelline1PF.C.

◆ giveDofManDofIDMask_d()

void oofem::IntElLine1PF::giveDofManDofIDMask_d ( IntArray & answer)
overridevirtual

Implements oofem::PhaseFieldElement.

Definition at line 716 of file intelline1PF.C.

Referenced by computeStiffnessMatrix(), and giveInternalForcesVector().

◆ giveDofManDofIDMask_u()

void oofem::IntElLine1PF::giveDofManDofIDMask_u ( IntArray & answer)
overridevirtual

Implements oofem::PhaseFieldElement.

Definition at line 708 of file intelline1PF.C.

Referenced by computeStiffnessMatrix(), and giveInternalForcesVector().

◆ giveElement()

StructuralInterfaceElement * oofem::IntElLine1PF::giveElement ( )
inlineoverridevirtual

◆ giveEngTraction()

void oofem::IntElLine1PF::giveEngTraction ( FloatArray & answer,
GaussPoint * gp,
const FloatArray & jump,
TimeStep * tStep )
inlineoverridevirtual

◆ giveGeometryType()

Element_Geometry_Type oofem::IntElLine1PF::giveGeometryType ( ) const
inlineoverrideprotectedvirtual

Returns the element geometry type. This information is assumed to be of general interest, but it is required only for some specialized tasks.

Returns
Geometry type of element.

Implements oofem::Element.

Definition at line 150 of file intelline1PF.h.

◆ giveInputRecordName()

const char * oofem::IntElLine1PF::giveInputRecordName ( ) const
inlineoverridevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 75 of file intelline1PF.h.

References _IFT_IntElLine1PF_Name.

◆ giveInternalForcesVector()

void oofem::IntElLine1PF::giveInternalForcesVector ( FloatArray & answer,
TimeStep * tStep,
int useUpdatedGpRecord = 0 )
overridevirtual

Returns equivalent nodal forces vectors. Useful for nonlinear analysis. Default implementation computes result as \( F=\int_v B^{\mathrm{T}} \sigma \mathrm{d}V \), where \( \sigma \) is the real element stress vector obtained using computeStressVector service (if useUpdatedGpRecord=0) or (if useUpdatedGpRecord=1) from integration point status. The geometric matrix is obtained using computeBmatrixAt service. Integration is performed using default integration rule, which should produce always valid results, assuming that strains used for computation of stresses are valid.

Parameters
answerInternal nodal forces vector.
tStepTime step.
useUpdatedGpRecordIf equal to zero, the stresses in integration points are computed (slow but safe), else if nonzero the stresses are taken directly from integration point status (should be derived from StructuralMaterialStatus) (fast, but engineering model must ensure valid status data in each integration point).

Reimplemented from oofem::StructuralInterfaceElement.

Definition at line 571 of file intelline1PF.C.

References oofem::FloatArray::assemble(), oofem::PhaseFieldElement::computeDamageUnknowns(), oofem::PhaseFieldElement::computeDisplacementUnknowns(), computeLocationArrayOfDofIDs(), computeNumberOfDofs(), deltaUnknownVectorD, giveDofManDofIDMask_d(), giveDofManDofIDMask_u(), giveInternalForcesVectorUD(), oofem::PhaseFieldElement::loc_d, oofem::PhaseFieldElement::loc_u, oofem::FloatArray::resize(), unknownVectorD, unknownVectorU, and oofem::FloatArray::zero().

◆ giveInternalForcesVectorUD()

◆ giveInterpolation()

FEInterpolation * oofem::IntElLine1PF::giveInterpolation ( ) const
overridevirtual
Returns
Interpolation of the element geometry, or NULL if none exist.

Reimplemented from oofem::Element.

Definition at line 166 of file intelline1PF.C.

References interp.

Referenced by computeBd_vectorAt(), computeCovarBaseVectorAt(), and computeNmatrixAt().

◆ giveNumberOfDofManagers()

int oofem::IntElLine1PF::giveNumberOfDofManagers ( ) const
inlineoverridevirtual
Returns
Number of dofmanagers of receiver.

Reimplemented from oofem::Element.

Definition at line 93 of file intelline1PF.h.

◆ giveStiffnessMatrix_Eng()

void oofem::IntElLine1PF::giveStiffnessMatrix_Eng ( FloatMatrix & answer,
MatResponseMode rMode,
IntegrationPoint * ip,
TimeStep * tStep )
inlineoverridevirtual

◆ initializeFrom()

void oofem::IntElLine1PF::initializeFrom ( InputRecord & ir)
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.

See also
IR_GIVE_FIELD
IR_GIVE_OPTIONAL_FIELD
Parameters
irInput record to initialize from.
priorityPriority of the input record. This is used to determine the order of initialization

Reimplemented from oofem::FEMComponent.

Definition at line 130 of file intelline1PF.C.

References _IFT_IntElLine1PF_prescribedDamage, oofem::InputRecord::hasField(), IR_GIVE_FIELD, and prescribed_damage.

◆ MaCauley()

double oofem::IntElLine1PF::MaCauley ( double par) const
inline

Definition at line 122 of file intelline1PF.h.

◆ MaCauleyPrime()

double oofem::IntElLine1PF::MaCauleyPrime ( double par) const
inline

Definition at line 127 of file intelline1PF.h.

◆ neg_MaCauley()

double oofem::IntElLine1PF::neg_MaCauley ( double par) const
inline

Definition at line 112 of file intelline1PF.h.

Referenced by giveInternalForcesVectorUD(), and solveForLocalDamage().

◆ neg_MaCauleyPrime()

double oofem::IntElLine1PF::neg_MaCauleyPrime ( double par) const
inline

Definition at line 117 of file intelline1PF.h.

Referenced by computeStiffnessMatrix_dd(), and solveForLocalDamage().

◆ solveForLocalDamage()

◆ testElementExtension()

int oofem::IntElLine1PF::testElementExtension ( ElementExtension ext)
inlineoverridevirtual

Tests if the element implements required extension. ElementExtension type defines the list of all available element extensions.

Parameters
extExtension to be tested.
Returns
Nonzero if extension supported.
See also
ElementExtension

Reimplemented from oofem::Element.

Definition at line 70 of file intelline1PF.h.

Member Data Documentation

◆ alpha

FloatArray oofem::IntElLine1PF::alpha
protected

◆ deltaAlpha

FloatArray oofem::IntElLine1PF::deltaAlpha
protected

Definition at line 141 of file intelline1PF.h.

Referenced by IntElLine1PF(), and solveForLocalDamage().

◆ deltaUnknownVectorD

FloatArray oofem::IntElLine1PF::deltaUnknownVectorD
protected

◆ interp

FEI2dLineLin oofem::IntElLine1PF::interp
staticprotected

Definition at line 56 of file intelline1PF.h.

Referenced by computeCovarBaseVectorAt(), computeNmatrixAt(), and giveInterpolation().

◆ oldAlpha

FloatArray oofem::IntElLine1PF::oldAlpha
protected

Definition at line 143 of file intelline1PF.h.

Referenced by computeDamageAt(), IntElLine1PF(), and solveForLocalDamage().

◆ prescribed_damage

double oofem::IntElLine1PF::prescribed_damage = 0.
protected

Definition at line 144 of file intelline1PF.h.

Referenced by computeGMatrix(), initializeFrom(), IntElLine1PF(), and solveForLocalDamage().

◆ unknownVectorD

FloatArray oofem::IntElLine1PF::unknownVectorD
protected

◆ unknownVectorU

FloatArray oofem::IntElLine1PF::unknownVectorU
protected

The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011