Commit 2f9dc938 authored by Lena Myklebust's avatar Lena Myklebust Committed by Kristian Gregorius Hustad
Browse files

Move parameters from basic.par into runS1S2.py

parent 9620ae7b
# ionic setup
num_imp_regions = 1
imp_region[0].im = COURTEMANCHE
#electrical setup
mass_lumping = 1
bidomain = 0
spacedt = 1.
timedt = 10.
parab_solve = 1
num_gregions = 3
gregion[0].num_IDs = 1
gregion[0].ID[0] = 0
......@@ -73,8 +73,8 @@ def jobID(args):
def run_sim(args, job, subdirname, startstatef, s2time, angle, meshname, g_il, g_el):
cmd = tools.carp_cmd(os.path.join(EXAMPLE_DIR, 'basic.par'))
cmd += ['-meshname', meshname,
cmd = tools.carp_cmd()
cmd += ['-meshname', meshname,
'-dt', 25,
'-spacedt', 5,
'-experiment', 0,
......@@ -113,6 +113,16 @@ def run_sim(args, job, subdirname, startstatef, s2time, angle, meshname, g_il, g
'-lats[0].measurand', 0,
'-lats[0].mode', 0,
'-lats[0].threshold', -40,
'-num_imp_regions', 1,
'-imp_region[0].im', 'COURTEMANCHE',
'-mass_lumping',1,
'-bidomain',0,
'-spacedt',1.,
'-timedt',10.,
'-parab_solve',1,
'-num_gregions',3,
'-gregion[0].num_IDs',1,
'-gregion[0].ID[0]',0,
'-start_statef', startstatef]
job.carp(cmd)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment