G+Smo
24.08.0
Geometry + Simulation Modules
|
Visitor for the moment vector of a function.
Assembles the linear term
\[ (f,v)_\Omega, \]
where \(f\) is the right-hand-side function and \(v\) is the test function.
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. | |
gsVisitorMoments (const gsFunction< T > &rhs) | |
Constructor for gsVisitorMoments. 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 > > &, gsSparseSystem< T > &system) |
Adds the contributions to the sparse system. | |
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. | |
|
inline |
Constructor for gsVisitorMoments.
rhs | Right-hand-side function/source term |