Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openCARP
experiments
Commits
2f9dc938
Commit
2f9dc938
authored
Sep 22, 2021
by
Lena Myklebust
Committed by
Kristian Gregorius Hustad
Sep 22, 2021
Browse files
Move parameters from basic.par into runS1S2.py
parent
9620ae7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
tutorials/02_EP_tissue/X_fibre_orientation_reentry/basic.par
deleted
100644 → 0
View file @
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
tutorials/02_EP_tissue/X_fibre_orientation_reentry/runS1S2.py
View file @
2f9dc938
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment