KASKADE 7 development version
|
Defines a constraint formulation where each sample is taken as a single constraint of its own. More...
#include <contactConstraints.hh>
Defines a constraint formulation where each sample is taken as a single constraint of its own.
For a detailed description of the concept, see the base class Mortar. This implementation creates constraints that correspond one to one to the provided constraint samples, i.e. the mortar test functions are Dirac functions located at the constraint sample points.
Definition at line 317 of file contactConstraints.hh.
Public Types | |
using | Entry = Dune::FieldMatrix< Scalar, 1, dim > |
The type of matrix entries in the constraint matrix \( B \) in \( Bx \le b \). More... | |
using | Row = std::vector< std::pair< size_t, Entry > > |
Public Member Functions | |
virtual int | size (int n) const |
The number of resulting constraints if n samples are provided. More... | |
virtual void | updateConstraints (int n, Dune::FieldVector< Scalar, dim-1 > const &xi, Row &Gi, Scalar gi, std::vector< Row > &B, std::vector< Scalar > &b) const |
The. More... | |
|
inherited |
The type of matrix entries in the constraint matrix \( B \) in \( Bx \le b \).
The entries are row vectors with the same length as the primal variable \( x \) entries.
Definition at line 274 of file contactConstraints.hh.
|
inherited |
Definition at line 275 of file contactConstraints.hh.
|
inlinevirtual |
The number of resulting constraints if n
samples are provided.
Implements Kaskade::Mortar< Scalar, dim >.
Definition at line 325 of file contactConstraints.hh.
|
virtual |
The.
Implements Kaskade::Mortar< Scalar, dim >.