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

Detailed Description

template<class T>
class gismo::gsVisitorMass< T >

The visitor computes element mass integrals.

Assembles the bilinear term

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

where \(u\) is the trial function and \(v\) is the test function.

+ Inheritance diagram for gsVisitorMass< T >:
+ Collaboration diagram for gsVisitorMass< 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.
 
 gsVisitorMass ()
 Constructor.
 
 gsVisitorMass (const gsPde< T > &pde)
 Constructor. More...
 
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 > > &eliminatedDofs, gsSparseSystem< T > &system)
 Adds the contributions to the sparse system.
 

Constructor & Destructor Documentation

gsVisitorMass ( const gsPde< T > &  pde)
inline

Constructor.

Parameters
pdeReference to gsPde object (is ignored)