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

Detailed Description

template<class T>
class gismo::gsVisitorNeumannBiharmonic< T >

Visitor for Neumann boundary condition for the biharmonic equation.

Visitor for boundary condition term of the form:

Let g be the function given BVP formulation, typically

\[ g = \Delta u. \]

Then this visitor adds the following term on the right-hand side:

\[ (g, \nabla v \cdot \mathbf{n})_\Gamma, \]

where v is the test function and \( \Gamma \) is the boundary.

+ Collaboration diagram for gsVisitorNeumannBiharmonic< T >:

Public Member Functions

void assemble (gsDomainIterator< T > &, gsVector< T > const &quWeights)
 Assemble on element.
 
void evaluate (const gsBasis< T > &basis, const gsGeometry< T > &geo, gsMatrix< T > &quNodes)
 Evaluate on element.
 
 gsVisitorNeumannBiharmonic (const gsPde< T > &pde, const boundary_condition< T > &bc)
 Constructor. More...
 
 gsVisitorNeumannBiharmonic (const gsFunction< T > &neudata, boxSide s)
 Constructor. More...
 
void initialize (const gsBasis< T > &basis, gsQuadRule< T > &rule)
 Initialize.
 
void initialize (const gsBasis< T > &basis, const index_t, const gsOptionList &options, gsQuadRule< T > &rule)
 Initialize.
 
void localToGlobal (const index_t patchIndex, const std::vector< gsMatrix< T > > &, gsSparseSystem< T > &system)
 Adds the contributions to the sparse system.
 

Constructor & Destructor Documentation

gsVisitorNeumannBiharmonic ( const gsPde< T > &  pde,
const boundary_condition< T > &  bc 
)
inline

Constructor.

Parameters
pdeReference to gsPde object (is ignored)
bcThe boundary condition to be realized
gsVisitorNeumannBiharmonic ( const gsFunction< T > &  neudata,
boxSide  s 
)
inline

Constructor.

Parameters
neudataNeumann boundary function
sSide of the geometry where neumann BC is prescribed