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

#include <contactpoint.h>

Inheritance diagram for oofem::FEContactPoint_Slave:
Collaboration diagram for oofem::FEContactPoint_Slave:

Public Member Functions

 FEContactPoint_Slave (FEContactSurface *cs, int ceId, int sd, GaussPoint *gp)
 ~FEContactPoint_Slave ()
const FloatArraygiveLocalCoordinates () override
 Returns the local (parametric) coordinates of the contact point.
FloatArray giveGlobalCoordinates () override
 Returns the current global coordinates of the contact point.
Public Member Functions inherited from oofem::FEContactPoint
 FEContactPoint (FEContactSurface *cs, int ceId, int sd)
 ~FEContactPoint ()
void computeNmatrix (FloatMatrix &answer) override
 Computes the interpolation matrix (N-matrix) for this contact point.
void compute_dNdxi_matrix (FloatMatrix &Bs, int i) override
 Computes derivative of shape functions w.r.t. the i-th local surface parameter.
FloatArray giveNormalVector () override
 Returns the surface normal vector at the contact point.
void computeVectorOf (ValueModeType mode, TimeStep *tStep, FloatArray &answer) override
 Computes a vector quantity of the contact point for a given value mode.
void computeCurvature (FloatMatrix &G, const FloatArray &normal, TimeStep *tStep) override
 Computes curvature-related surface quantities at this contact point.
bool giveLocationArray (IntArray &locationArray, const IntArray &dofIDArry, const UnknownNumberingScheme &s) const override
 Builds a location array for assembling quantities related to this contact point.
void giveUnknownVector (FloatArray &answer, const IntArray &dofMask, ValueModeType mode, TimeStep *tStep, bool padding=false) override
 Extracts the unknown vector associated with this contact point.
void giveUpdatedCoordinates (FloatArray &coords, TimeStep *tStep) override
 Returns updated coordinates of the contact point for the given time step.
bool inContact () override
 Returns whether this contact point is currently in contact.
FEInterpolationgiveInterpolation ()
int giveContactElementId ()
void setContactElementId (int ceId)
Public Member Functions inherited from oofem::ContactPoint
 ContactPoint ()
 ~ContactPoint ()
virtual void updateYourself (TimeStep *tStep)
 Called to update internal state of the contact point for the time step.
virtual void init ()
 Initializes the contact point.
int giveSurfaceDimension ()
 Returns the surface dimension associated with this contact point.

Protected Attributes

std::unique_ptr< GaussPointslave_point
Protected Attributes inherited from oofem::FEContactPoint
int contactElementId
std::unique_ptr< FEContactSurfacecontactSurface
Protected Attributes inherited from oofem::ContactPoint
int surface_dimension

Detailed Description

Definition at line 227 of file contactpoint.h.

Constructor & Destructor Documentation

◆ FEContactPoint_Slave()

oofem::FEContactPoint_Slave::FEContactPoint_Slave ( FEContactSurface * cs,
int ceId,
int sd,
GaussPoint * gp )
inline

Definition at line 233 of file contactpoint.h.

References oofem::FEContactPoint::FEContactPoint(), and slave_point.

◆ ~FEContactPoint_Slave()

oofem::FEContactPoint_Slave::~FEContactPoint_Slave ( )
inline

Definition at line 234 of file contactpoint.h.

Member Function Documentation

◆ giveGlobalCoordinates()

FloatArray oofem::FEContactPoint_Slave::giveGlobalCoordinates ( )
inlineoverridevirtual

Returns the current global coordinates of the contact point.

Returns
Global position vector.

Implements oofem::FEContactPoint.

Definition at line 237 of file contactpoint.h.

References slave_point.

◆ giveLocalCoordinates()

const FloatArray & oofem::FEContactPoint_Slave::giveLocalCoordinates ( )
inlineoverridevirtual

Returns the local (parametric) coordinates of the contact point.

The returned reference must remain valid while the ContactPoint exists.

Returns
Local coordinates (e.g., ξ,η on a face/segment).

Implements oofem::FEContactPoint.

Definition at line 236 of file contactpoint.h.

References slave_point.

Member Data Documentation

◆ slave_point

std::unique_ptr<GaussPoint> oofem::FEContactPoint_Slave::slave_point
protected

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

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