10 template <
class T>
class gsFunction;
44 m_force = force ? force->
clone().release() : NULL;
45 m_source = source ? source->clone().release() : NULL;
65 T viscosity()
const {
return m_viscosity; }
69 std::ostream &
print(std::ostream &os)
const
71 os<<
"Stokes's equation:\n"
72 <<
"-\u0394u-\u2207p = f,\n"
76 os<<
"Force function f= "<< *m_force <<
".\n";
78 os<<
"Source function g= "<< *m_source <<
".\n";
gsMultiPatch< T > & domain()
Returns a reference to the Pde domain.
Definition: gsPde.h:66
A stationary Stokes PDE.
Definition: gsStokesPde.h:23
Abstract class representing a PDE (partial differential equation).
Definition: gsPde.h:43
gsBoundaryConditions< T > m_boundary_conditions
Boundary conditions.
Definition: gsPde.h:167
A function from a n-dimensional domain to an m-dimensional image.
Definition: gsFunction.h:59
Base class of descriptions of a PDE problem.
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition: gsMultiPatch.h:33
uPtr clone()
Clone methode. Produceds a deep copy inside a uPtr.
Class containing a set of boundary conditions.
Definition: gsBoundaryConditions.h:341
gsMultiPatch< T > m_domain
Computational domain.
Definition: gsPde.h:165
std::ostream & print(std::ostream &os) const
Prints the object as a string.
Definition: gsStokesPde.h:69
bool check()
Consistency check.
Definition: gsStokesPde.h:82
gsVector< unsigned > m_unknownDim
Description of the unknown fields: for each one the target dimension.
Definition: gsPde.h:162