G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsVisitorNitscheBiharmonic< T > Class Template Reference

Detailed Description

template<class T>
class gismo::gsVisitorNitscheBiharmonic< T >

Visitor for the weak imposition of the first-type dirichlet boundary condition.

The visitor adds this term to the bilinear term

\[ (\Delta u, \nabla v)_{\partial \Omega} + (\nabla u, \Delta v )_{\partial \Omega} + (\mu* \nabla u, \nabla v)_{\partial \Omega} \]

and the following term is also added to the linear term

\[ (g_1, \mu* \nabla v + \Delta v)_{\partial \Omega} \]

+ Collaboration diagram for gsVisitorNitscheBiharmonic< T >:

Public Member Functions

void assemble (gsDomainIterator< T > &element, const gsVector< T > &quWeights)
 Assemble on element.
 
void evaluate (const gsBasis< T > &basis, const gsGeometry< T > &geo, gsMatrix< T > &quNodes)
 Evaluate on element.
 
 gsVisitorNitscheBiharmonic (const gsFunction< T > &dirdata, T penalty, boxSide s)
 Constructor. More...
 
void initialize (const gsBasis< T > &basis, gsQuadRule< T > &rule)
 Initialize.
 
void localToGlobal (const gsDofMapper &mapper, const gsMatrix< T > &eliminatedDofs, const index_t patchIndex, gsSparseMatrix< T > &sysMatrix, gsMatrix< T > &rhsMatrix)
 Adds the contributions to the sparse system.
 

Constructor & Destructor Documentation

gsVisitorNitscheBiharmonic ( const gsFunction< T > &  dirdata,
penalty,
boxSide  s 
)
inline

Constructor.

Parameters
dirdataDirichlet boundary function
_penaltyPenalty
sSide of the geometry where Dirichlet BC is prescribed