40 "Sparse system is not initialized, call initialize() or refresh()");
43 m_system.reserve(m_bases[0], m_options, this->pde().numRhs());
46 Base::computeDirichletDofs();
48 if (0 == this->numDofs())
50 gsWarn <<
" No internal DOFs. Computed Dirichlet boundary only.\n" <<
"\n";
55 Base::template push<gsVisitorCDR<T> >();
58 Base::template push<gsVisitorNeumann<T> >(m_pde_ptr->bc().neumannSides());
61 if (m_options.getInt(
"DirichletStrategy") == dirichlet::nitsche)
65 else if (m_options.getInt(
"DirichletStrategy") == dirichlet::penalize)
66 Base::penalizeDirichletDofs();
70 if (m_options.getInt(
"InterfaceStrategy") == iFace::dg)
71 gsWarn <<
"DG option is ignored.\n";
static gsOptionList defaultOptions()
Returns the list of default options for assembly.
Definition gsAssembler.hpp:30
void assemble()
Main assemble routine, to be implemented in derived classes.
Definition gsCDRAssembler.hpp:37
static gsOptionList defaultOptions()
Returns the list of default options for assembly.
Definition gsCDRAssembler.hpp:29
Class which holds a list of parameters/options, and provides easy access to them.
Definition gsOptionList.h:33
void update(const gsOptionList &other, updateType type=ignoreIfUnknown)
Updates the object using the data from other.
Definition gsOptionList.cpp:253
Visitor for adding the terms associated to weak (Nitsche-type) imposition of the Dirichlet boundary c...
Definition gsVisitorNitsche.h:55
Provides assembler and solver options.
#define gsWarn
Definition gsDebug.h:50
#define GISMO_ASSERT(cond, message)
Definition gsDebug.h:89
Visitor for the convection-diffusion-reaction equation.
Visitor for adding the interface conditions for the interior penalty methods of the Poisson problem.
Neumann conditions visitor for elliptic problems.
Weak (Nitsche-type) imposition of the Dirichlet boundary conditions.
Poisson equation element visitor.
The G+Smo namespace, containing all definitions for the library.