template<class T>
class gismo::gsPde< T >
Abstract class representing a PDE (partial differential equation).
This is the base class for PDEs, like the Poisson equation, Stokes equation or convection diffusion equation. The instances of these classes contains the problem description:
- the domain,
- the boundary conditions,
- coefficients
- rhs functions
The description of the discretization: methods to impose conditions or discrete spaces must be provided separately.
|
| gsBoundaryConditions< T > & | boundaryConditions () |
| | Returns a reference to the Pde boundary conditions.
|
| |
|
GISMO_DEPRECATED short_t | dim () const |
| | returns the dimension of the domain
|
| |
| gsMultiPatch< T > & | domain () |
| | Returns a reference to the Pde domain.
|
| |
| GISMO_DEPRECATED int | fieldDim (index_t field_id=0) |
| | gives the dimension of the i-th field it returns 1 for scalar fields, 2 for 2d vectors field etc.
|
| |
|
| gsPde (const gsMultiPatch< T > &domain, const gsBoundaryConditions< T > &bc) |
| | Constructor without given exact solution.
|
| |
|
virtual int | numRhs () const |
| | gives the number of rhs functions of the PDEs
|
| |
|
int | numUnknowns () const |
| | Gives the number of unknown fields of the PDEs.
|
| |
|
virtual std::ostream & | print (std::ostream &os) const =0 |
| | Print a short description of the PDE.
|
| |
| virtual gsPde< T > * | restrictToPatch (unsigned) const |
| | restrictToPatch creats a new PDE object for a single patch np.
|
| |
|
const gsVector< unsigned > & | unknownDim () const |
| | Gives the vector of dimensions of the unknowns.
|
| |