46 m_diff(diff), m_conv(conv), m_reac(reac), m_rhs(rhs)
57 : m_diff(diff), m_conv(conv), m_reac(reac), m_rhs(rhs)
75 const gsFunction<T>* convection()
const {
return m_conv; }
76 const gsFunction<T>* reaction()
const {
return m_reac; }
77 const gsFunction<T>* rhs()
const {
return m_rhs; }
79 std::ostream &
print(std::ostream &os)
const
81 os <<
"Convection-diffusion-reaction equation, with:\n";
82 if (m_diff) os <<
" Diffusion term: " << *m_diff <<
"\n";
83 if (m_conv) os <<
" Convection term: " << *m_conv <<
"\n";
84 if (m_reac) os <<
" Reaction term: " << *m_reac <<
"\n";
85 if (m_rhs) os <<
" Source function: " << *m_rhs <<
"\n";
gsMultiPatch< T > & domain()
Returns a reference to the Pde domain.
Definition: gsPde.h:66
virtual bool isSymmetric() const
Definition: gsConvDiffRePde.h:72
Abstract class representing a PDE (partial differential equation).
Definition: gsPde.h:43
A function from a n-dimensional domain to an m-dimensional image.
Definition: gsFunction.h:59
std::ostream & print(std::ostream &os) const
Print a short description of the PDE.
Definition: gsConvDiffRePde.h:79
Base class of descriptions of a PDE problem.
A convection-diffusion-reaction PDE, including source term on the right-hand side.
Definition: gsConvDiffRePde.h:35
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition: gsMultiPatch.h:33
Class containing a set of boundary conditions.
Definition: gsBoundaryConditions.h:341
gsVector< unsigned > m_unknownDim
Description of the unknown fields: for each one the target dimension.
Definition: gsPde.h:162