Skip to content

Commit decc181

Browse files
authored
Adapt svZeroDSolver to 46e08d6 (SimVascular#1047)
1 parent bb559fc commit decc181

File tree

1 file changed

+1
-2
lines changed
  • Python/site-packages/sv_rom_simulation

1 file changed

+1
-2
lines changed

Python/site-packages/sv_rom_simulation/io_0d.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,13 @@ def write_0d_solver_file(mesh, params, model):
8585
for i, j_branches in enumerate(mesh.seg_connectivity):
8686
# general junction properties
8787
junction = {'junction_name': 'J' + str(i),
88-
'junction_type': 'internal_junction',
88+
'junction_type': 'NORMAL_JUNCTION',
8989
'inlet_vessels': [int(j_branches[0])],
9090
'outlet_vessels': []}
9191
for j in j_branches[1:]:
9292
junction['outlet_vessels'] += [int(j)]
9393
# branching vessels
9494
if len(j_branches) > 2:
95-
junction['junction_type'] = 'NORMAL_JUNCTION'
9695
junction['tangents'] = mesh.junctions[i]['tangents']
9796
for n in ['areas', 'lengths']:
9897
junction[n] = [float(v) for v in mesh.junctions[i][n]]

0 commit comments

Comments
 (0)