51 virtual void assemble(
bool saveEliminationMatrix);
90 const std::vector<std::pair<index_t,boxSide> > & bdrySides,
bool split =
false)
const;
111#ifndef GISMO_BUILD_LIB
112#include GISMO_HPP_HEADER(gsNsAssembler.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
Extends the gsAssembler class by adding functionality necessary for a general nonlinear solver....
Definition gsBaseAssembler.h:27
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
Class containing a set of boundary conditions.
Definition gsBoundaryConditions.h:342
A function from a n-dimensional domain to an m-dimensional image.
Definition gsFunction.h:60
A matrix with arbitrary coefficient type and fixed or dynamic size.
Definition gsMatrix.h:41
Holds a set of patch-wise bases and their topology information.
Definition gsMultiBasis.h:37
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition gsMultiPatch.h:100
TODO: write.
Definition gsNsAssembler.h:28
virtual gsMatrix< T > computeForce(const gsMultiPatch< T > &velocity, const gsMultiPatch< T > &pressure, const std::vector< std::pair< index_t, boxSide > > &bdrySides, bool split=false) const
Definition gsNsAssembler.hpp:176
virtual void reserve()
a custom reserve function to allocate memory for the sparse matrix
Definition gsNsAssembler.hpp:61
short_t m_dim
Definition gsNsAssembler.h:100
virtual void assemble()
Main assemble routine, to be implemented in derived classes.
Definition gsNsAssembler.h:53
virtual void constructSolution(const gsMatrix< T > &solVector, const std::vector< gsMatrix< T > > &fixedDoFs, gsMultiPatch< T > &velocity) const
Construct velocity from computed solution vector and fixed degrees of freedom.
Definition gsNsAssembler.hpp:141
virtual void refresh()
Refresh routine to set dof-mappers.
Definition gsNsAssembler.hpp:80
virtual void constructPressure(const gsMatrix< T > &solVector, const std::vector< gsMatrix< T > > &fixedDoFs, gsMultiPatch< T > &pressure) const
@ brief Construct pressure from computed solution vector
Definition gsNsAssembler.hpp:163
static gsOptionList defaultOptions()
Returns the list of default options for assembly.
Definition gsNsAssembler.hpp:50
Class which holds a list of parameters/options, and provides easy access to them.
Definition gsOptionList.h:33
Base class for assemblers of gsElasticity.
Provides several simple utility and naming classes.
#define short_t
Definition gsConfig.h:35
The G+Smo namespace, containing all definitions for the library.