Ejemplo n.º 1
0
 def dirichlet(self, u):
     return [(u, Boundary())]
Ejemplo n.º 2
0
 def dirichlet(self, u):
     return [(lambda x: u(x) - self.exact_sol(x), Boundary())]
Ejemplo n.º 3
0
 def dirichlet(self, u):
     return [(lambda x: u(x) - 0.0, Boundary())]