56 m_pde.boundaryConditions() = *bc;
86 this->
pde().bc(), mapper, 0);
200 #ifndef GISMO_BUILD_LIB
201 #include GISMO_HPP_HEADER(gsGenericAssembler.hpp)
memory::shared_ptr< gsPde< T > > m_pde_ptr
Definition: gsAssembler.h:276
static gsOptionList defaultOptions()
Returns the list of default options for assembly.
Definition: gsGenericAssembler.hpp:28
Definition: gsExprAssembler.h:30
Provides generic assembler routines.
gsExprHelper< T >::geometryMap geometryMap
Geometry map type.
Definition: gsExprAssembler.h:58
const gsSparseMatrix< T > & assembleStiffness(const index_t patchIndex=-1, const bool refresh=true)
Stiffness assembly routine.
Definition: gsGenericAssembler.hpp:65
void refresh(gsDofMapper mapper)
Refreshes the sparse system based on given dof mapper.
Definition: gsGenericAssembler.h:94
const gsSparseMatrix< T > & assembleNeumann(const boundary_condition< T > &bc, bool refresh=true)
Assemble Neumann boundary terms.
Definition: gsGenericAssembler.hpp:139
gsOptionList m_options
Options.
Definition: gsAssembler.h:285
std::vector< gsMultiBasis< T > > m_bases
Definition: gsAssembler.h:282
Defines different expressions.
const gsSparseMatrix< T >::constFullView fullMatrix() const
Returns an expression of the "full" assembled sparse matrix.
Definition: gsGenericAssembler.h:176
The Laplace equation.
Definition: gsLaplacePde.h:34
void assemble(const expr &...args)
Adds the expressions args to the system matrix/rhs The arguments are considered as integrals over the...
Definition: gsExprAssembler.h:756
#define index_t
Definition: gsConfig.h:32
Generic expressions helper.
A function from a n-dimensional domain to an m-dimensional image.
Definition: gsFunction.h:59
const gsMatrix< T > & assembleMoments(const gsFunction< T > &func, index_t patchIndex=-1, bool refresh=true)
Moments assembly routine.
Definition: gsGenericAssembler.hpp:93
const index_t & getInt(const std::string &label) const
Reads value for option label from options.
Definition: gsOptionList.cpp:37
Maintains a mapping from patch-local dofs to global dof indices and allows the elimination of individ...
Definition: gsDofMapper.h:68
const gsSparseMatrix< T > & matrix() const
Returns the left-hand global matrix.
Definition: gsExprAssembler.h:116
const gsMultiPatch< T > & patches() const
Return the multipatch.
Definition: gsAssembler.h:601
const gsSparseMatrix< T > & matrix() const
Access the system Matrix.
Definition: gsSparseSystem.h:394
Holds a set of patch-wise bases and their topology information.
Definition: gsMultiBasis.h:36
gsGenericAssembler(const gsMultiPatch< T > &patches, const gsMultiBasis< T > &bases, const gsOptionList &opt=defaultOptions(), const gsBoundaryConditions< T > *bc=NULL)
Constructor.
Definition: gsGenericAssembler.h:48
void initialize(const gsPde< T > &pde, const gsStdVectorRef< gsMultiBasis< T > > &bases, const gsOptionList &opt=defaultOptions())
Intitialize function for, sets data fields using the pde, a vector of multi-basis and assembler optio...
Definition: gsAssembler.h:317
gsSparseMatrix< T >::fullView fullMatrix()
Returns an expression of the "full" assembled sparse matrix.
Definition: gsGenericAssembler.h:166
const gsSparseMatrix< T > & assembleNitsche(const boundary_condition< T > &bc, bool refresh=true)
Assemble Nitsche terms for weakly imposing Dirichlet conditions.
Definition: gsGenericAssembler.hpp:160
Definition: gsDirichletValues.h:23
const gsSparseMatrix< T > & assembleMass(const index_t patchIndex=-1, bool refresh=true)
Mass assembly routine.
Definition: gsGenericAssembler.hpp:37
geometryMap getMap(const gsFunctionSet< T > &g)
Registers g as an isogeometric geometry map and return a handle to it.
Definition: gsExprAssembler.h:161
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition: gsMultiPatch.h:33
const gsPde< T > & pde() const
Return the Pde.
Definition: gsAssembler.h:598
space getSpace(const gsFunctionSet< T > &mp, index_t dim=1, index_t id=0)
Definition: gsExprAssembler.h:166
gsSparseSystem< T > m_system
Global sparse linear system.
Definition: gsAssembler.h:290
Class that defines a boundary condition for a side of a patch for some unknown variable of a PDE...
Definition: gsBoundaryConditions.h:106
std::vector< gsMatrix< T > > m_ddof
Definition: gsAssembler.h:295
Assembles mass and stiffness matrices and right-hand sides on a given domain.
Definition: gsGenericAssembler.h:32
void refresh()
Refreshes the sparse system (deletes assembled matrices and vectors)
Definition: gsGenericAssembler.h:79
Class containing a set of boundary conditions.
Definition: gsBoundaryConditions.h:341
EIGEN_STRONG_INLINE meas_expr< T > meas(const gsGeometryMap< T > &G)
The measure of a geometry map.
Definition: gsExpressions.h:4555
Struct which represents an interface between two patches.
Definition: gsBoundary.h:649
const gsSparseMatrix< T > & assembleDG(const boundaryInterface &iFace, bool refresh=true)
Assemble dG interface terms.
Definition: gsGenericAssembler.hpp:116
Class which holds a list of parameters/options, and provides easy access to them. ...
Definition: gsOptionList.h:32
The assembler class provides generic routines for volume and boundary integrals that are used for for...
Definition: gsAssembler.h:265
void setIntegrationElements(const gsMultiBasis< T > &mesh)
Sets the domain of integration.
Definition: gsExprAssembler.h:136
const gsSparseMatrix< T > & assembleMass2()
Mass assembly routine.
Definition: gsGenericAssembler.h:108
void initSystem(const index_t numRhs=1)
Initializes the sparse system (sparse matrix and rhs)
Definition: gsExprAssembler.h:290
Generic expressions matrix assembly.
Describes a Laplace equation.