Rheolef  7.1
an efficient C++ finite element environment
embankment_dg.icc
Go to the documentation of this file.
1 domain dirichlet_boundary (const geo& omega) {
22  switch (omega.dimension()) {
23  case 1: return omega["left"];
24  case 2: return omega["left"] + omega["bottom"];
25  default: return omega["left"] + omega["bottom"]
26  + omega["right"] + omega["back"];
27  }
28 }
see the geo page for the full documentation
domain dirichlet_boundary(const geo &omega)