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

Fix up dirichlet conditions

parent 4078847c
No related branches found
No related tags found
No related merge requests found
......@@ -14,15 +14,15 @@ class neumannCondition:
class dirichletCondition:
def __call__(self, x):
return 0
# fst = 0.3e-3
# snd = 0.1e-3
# trd = 0.3e-3
# fst = 3e-5
# snd = 1e-5
# trd = 3e-5
# if x < 1.0/3:
# return fst * x
# return fst
# elif x < 2.0/3:
# return snd * (x - 1.0/3) + fst * 1.0/3
# return snd
# else:
# return trd * (x - 2.0/3) + (fst + snd) * 1.0/3
# return trd
Functions = {
'neumannCondition' : neumannCondition(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment