25class 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();}
53 gsPiecewiseFunction<T> m_rhs;
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.
Provides declaration of a gsPiecewiseFunction class.
The G+Smo namespace, containing all definitions for the library.