예제 #1
0
 def dirichlet(self, u):
     return [(u, Boundary())]
예제 #2
0
 def dirichlet(self, u):
     return [(lambda x: u(x) - self.exact_sol(x), Boundary())]
예제 #3
0
 def dirichlet(self, u):
     return [(lambda x: u(x) - 0.0, Boundary())]