23class gsElPoissonAssembler :
public gsBaseAssembler<T>
26 typedef gsBaseAssembler<T> Base;
28 gsElPoissonAssembler(
const gsMultiPatch<T> &
patches,
29 const gsMultiBasis<T> & basis,
30 const gsBoundaryConditions<T> & bconditions,
31 const gsFunction<T> & body_force);
34 static gsOptionList defaultOptions();
37 virtual void refresh();
41 virtual void assemble(
bool saveEliminationMatrix);
43 virtual void assemble() { assemble(
false); };
46 virtual bool assemble(
const gsMatrix<T> & ,
47 const std::vector<gsMatrix<T> > & )
48 {assemble();
return true;}
52 virtual void constructSolution(
const gsMatrix<T> & solVector,
53 const std::vector<gsMatrix<T> > & fixedDoFs,
54 gsMultiPatch<T> & displacement)
const;
62 using Base::eliminationMatrix;
67#ifndef GISMO_BUILD_LIB
68#include GISMO_HPP_HEADER(gsElPoissonAssembler.hpp)
gsSparseSystem< T > m_system
Global sparse linear system.
Definition gsAssembler.h:290
std::vector< gsMultiBasis< T > > m_bases
Definition gsAssembler.h:282
gsOptionList m_options
Options.
Definition gsAssembler.h:285
memory::shared_ptr< gsPde< T > > m_pde_ptr
Definition gsAssembler.h:276
std::vector< gsMatrix< T > > m_ddof
Definition gsAssembler.h:295
const gsMultiPatch< T > & patches() const
Return the multipatch.
Definition gsAssembler.h:601
virtual void assemble()
Main assemble routine, to be implemented in derived classes.
Definition gsBaseAssembler.h:40
virtual void constructSolution(const gsMatrix< T > &solVector, const std::vector< gsMatrix< T > > &fixedDDofs, gsMultiPatch< T > &result, const gsVector< index_t > &unknowns) const
Constructs solution as a gsMultiPatch object from the solution vector and fixed DoFs.
Definition gsBaseAssembler.hpp:23
Base class for assemblers of gsElasticity.
The G+Smo namespace, containing all definitions for the library.