G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsLaplacePde.h
Go to the documentation of this file.
1
15#pragma once
16
17#include <gsPde/gsPde.h>
19
20namespace gismo
21{
22
33template<class T>
34class gsLaplacePde : public gsPde<T>
35{
36protected:
37 using gsPde<T>::m_domain;
38
39public:
40 gsLaplacePde( ) { }
41
43 {
45 this->m_unknownDim.setOnes(1);
46 }
47
49 const gsBoundaryConditions<T> & bc)
50 : gsPde<T>(domain,bc)
51 {
52 this->m_unknownDim.setOnes(1);
53 }
54
56 std::ostream &print(std::ostream &os) const
57 {
58 os<<"Laplace equation -\u0394u = 0\n";
59 return os;
60 }
61
62}; // class gsLaplacePde
63
64} // namespace gismo
Class containing a set of boundary conditions.
Definition gsBoundaryConditions.h:342
The Laplace equation.
Definition gsLaplacePde.h:35
std::ostream & print(std::ostream &os) const
Prints the object as a string.
Definition gsLaplacePde.h:56
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
Base class of descriptions of a PDE problem.
Provides declaration of a gsPiecewiseFunction class.
The G+Smo namespace, containing all definitions for the library.