25 class gsBasePde :
public gsPde<T>
34 gsBasePde(
const gsMultiPatch<T> &domain,
35 const gsBoundaryConditions<T> &bc,
36 const gsPiecewiseFunction<T> &rhs)
37 : gsPde<T>(domain,bc), m_rhs(rhs)
45 virtual int numRhs()
const {
return 1; }
47 virtual std::ostream &print(std::ostream &os)
const {
return os; }
48 const gsFunction<T> * rhs()
const {
return &m_rhs.piece(0); }
49 virtual int numUnknowns()
const {
return m_rhs.targetDim();}
52 using gsPde<T>::m_unknownDim;
53 gsPiecewiseFunction<T> m_rhs;
Base class of descriptions of a PDE problem.
Provides declaration of a gsPiecewiseFunction class.
gsVector< unsigned > m_unknownDim
Description of the unknown fields: for each one the target dimension.
Definition: gsPde.h:162