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

Detailed Description

template<class T, bool paramCoef = false>
class gismo::gsVisitorPoisson< T, paramCoef >

Visitor for the Poisson equation.

This visitor assembles the bilinear form

\[ ( \nabla u, \nabla v )_\Omega \]

and simultainously the linear form

\[ ( f, v )_\Omega, \]

where \(u\) is the trial function, \(v\) is the test function and \(f\) is the right-hand-side function.

+ Collaboration diagram for gsVisitorPoisson< T, paramCoef >:

Public Member Functions

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

Constructor & Destructor Documentation

gsVisitorPoisson ( const gsPde< T > &  pde)
inline

Constructor.

Parameters
pdeReference to gsPoissonPde object