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

#include <contactsearch.h>

Inheritance diagram for oofem::ContactSearchAlgorithm_Surface2FESurface:
Collaboration diagram for oofem::ContactSearchAlgorithm_Surface2FESurface:

Public Member Functions

 ContactSearchAlgorithm_Surface2FESurface (FEContactSurface *scs, FEContactSurface *mcs, Domain *d, int sd)
 ~ContactSearchAlgorithm_Surface2FESurface ()
void createContactPairs () override
 Creates initial contact pairs based on the current configuration.
void updateContactPairs (TimeStep *tStep) override
 Updates previously created contact pairs for the current time step.
Public Member Functions inherited from oofem::ContactSearchAlgorithm
 ContactSearchAlgorithm (Domain *d)
 ~ContactSearchAlgorithm ()
std::vector< std::unique_ptr< ContactPair > > & getContactPairs ()
 Returns the internally stored list of contact pairs.
const std::vector< std::unique_ptr< ContactPair > > & getContactPairs () const
 Returns the internally stored list of contact pairs (const overload).

Protected Attributes

FEContactSurfaceslaveContactSurface
FEContactSurfacemasterContactSurface
int surface_dimension
Protected Attributes inherited from oofem::ContactSearchAlgorithm
Domaindomain
std::vector< std::unique_ptr< ContactPair > > contactPairs

Detailed Description

Definition at line 104 of file contactsearch.h.

Constructor & Destructor Documentation

◆ ContactSearchAlgorithm_Surface2FESurface()

◆ ~ContactSearchAlgorithm_Surface2FESurface()

oofem::ContactSearchAlgorithm_Surface2FESurface::~ContactSearchAlgorithm_Surface2FESurface ( )
inline

Definition at line 112 of file contactsearch.h.

Member Function Documentation

◆ createContactPairs()

void oofem::ContactSearchAlgorithm_Surface2FESurface::createContactPairs ( )
overridevirtual

Creates initial contact pairs based on the current configuration.

Performs broad-phase (and possibly narrow-phase) detection to produce a set of candidate contact pairs used by the contact boundary condition.

Implements oofem::ContactSearchAlgorithm.

Definition at line 60 of file contactsearch.C.

References oofem::ContactSearchAlgorithm::contactPairs, slaveContactSurface, and surface_dimension.

◆ updateContactPairs()

void oofem::ContactSearchAlgorithm_Surface2FESurface::updateContactPairs ( TimeStep * tStep)
inlineoverridevirtual

Updates previously created contact pairs for the current time step.

Typical responsibilities include re-projection, pair filtering, and updating kinematic measures (gap, normals, tangents) as the configuration changes.

Parameters
tStepCurrent time step.

Implements oofem::ContactSearchAlgorithm.

Reimplemented in oofem::ContactSearchAlgorithm_Surface2FESurface_2d, oofem::ContactSearchAlgorithm_Surface2FESurface_3d, and oofem::ContactSearchAlgorithm_Surface2FESurface_3d_SweepAndPrune.

Definition at line 114 of file contactsearch.h.

Member Data Documentation

◆ masterContactSurface

◆ slaveContactSurface

FEContactSurface* oofem::ContactSearchAlgorithm_Surface2FESurface::slaveContactSurface
protected

◆ surface_dimension

int oofem::ContactSearchAlgorithm_Surface2FESurface::surface_dimension
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