Skip to content
Snippets Groups Projects
Commit f9ccad38 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Remove superfluous sharps

parent 936d3975
No related branches found
No related tags found
No related merge requests found
class neumannCondition: class neumannCondition:
def __call__(self, x): def __call__(self, x):
return 0 return 0
# fst = 3e3 fst = 3e3
# snd = 5e3 snd = 5e3
# trd = 3e3 trd = 3e3
# if x < 1.0/3: if x < 1.0/3:
# return fst * x return fst * x
# elif x < 2.0/3: elif x < 2.0/3:
# return snd * (x - 1.0/3) + fst * 1.0/3 return snd * (x - 1.0/3) + fst * 1.0/3
# else: else:
# return trd * (x - 2.0/3) + (fst + snd) * 1.0/3 return trd * (x - 2.0/3) + (fst + snd) * 1.0/3
class dirichletCondition: class dirichletCondition:
def __call__(self, x): def __call__(self, x):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment