10template <
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";
Class containing a set of boundary conditions.
Definition gsBoundaryConditions.h:342
uPtr clone()
Clone methode. Produceds a deep copy inside a uPtr.
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
gsMultiPatch< T > m_domain
Computational domain.
Definition gsPde.h:165
gsBoundaryConditions< T > m_boundary_conditions
Boundary conditions.
Definition gsPde.h:167
A stationary Stokes PDE.
Definition gsStokesPde.h:24
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
Base class of descriptions of a PDE problem.
The G+Smo namespace, containing all definitions for the library.