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";
Class containing a set of boundary conditions.
Definition gsBoundaryConditions.h:342
A convection-diffusion-reaction PDE, including source term on the right-hand side.
Definition gsConvDiffRePde.h:36
virtual bool isSymmetric() const
Definition gsConvDiffRePde.h:72
std::ostream & print(std::ostream &os) const
Print a short description of the PDE.
Definition gsConvDiffRePde.h:79
A function from a n-dimensional domain to an m-dimensional image.
Definition gsFunction.h:60
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition gsMultiPatch.h:100
Abstract class representing a PDE (partial differential equation).
Definition gsPde.h:44
gsMultiPatch< T > & domain()
Returns a reference to the Pde domain.
Definition gsPde.h:66
gsVector< unsigned > m_unknownDim
Description of the unknown fields: for each one the target dimension.
Definition gsPde.h:162
Base class of descriptions of a PDE problem.
The G+Smo namespace, containing all definitions for the library.