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

#include <contactpoint.h>

Inheritance diagram for oofem::FEContactPoint_Master:
Collaboration diagram for oofem::FEContactPoint_Master:

Public Member Functions

 FEContactPoint_Master (FEContactSurface *cs, int ceId, int sd, FloatArray lc)
 ~FEContactPoint_Master ()
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

FloatArray localCoordinates
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 242 of file contactpoint.h.

Constructor & Destructor Documentation

◆ FEContactPoint_Master()

oofem::FEContactPoint_Master::FEContactPoint_Master ( FEContactSurface * cs,
int ceId,
int sd,
FloatArray lc )
inline

Definition at line 248 of file contactpoint.h.

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

◆ ~FEContactPoint_Master()

oofem::FEContactPoint_Master::~FEContactPoint_Master ( )
inline

Definition at line 249 of file contactpoint.h.

Member Function Documentation

◆ giveGlobalCoordinates()

FloatArray oofem::FEContactPoint_Master::giveGlobalCoordinates ( )
overridevirtual

Returns the current global coordinates of the contact point.

Returns
Global position vector.

Implements oofem::FEContactPoint.

Definition at line 162 of file contactpoint.C.

References oofem::FEContactPoint::contactElementId, oofem::FEContactPoint::contactSurface, and localCoordinates.

◆ giveLocalCoordinates()

const FloatArray & oofem::FEContactPoint_Master::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 251 of file contactpoint.h.

Member Data Documentation

◆ localCoordinates

FloatArray oofem::FEContactPoint_Master::localCoordinates
protected

Definition at line 245 of file contactpoint.h.

Referenced by FEContactPoint_Master(), and giveGlobalCoordinates().


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