Skip to content

Commit

Permalink
export vtk from input
Browse files Browse the repository at this point in the history
  • Loading branch information
j-zimmermann committed Aug 28, 2024
1 parent 1f74f9c commit 0188cbb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ossdbs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def run_stim_sets(settings, geometry, conductivity, solver, frequency_domain_sig
", thus the setting was switched on"
)
# no vtk export
export_vtk = True
export_vtk = settings["ExportVTK"]
# no intermediate exports
export_frequency = None
# no VTA analysis
Expand Down Expand Up @@ -546,7 +546,12 @@ def run_stim_sets(settings, geometry, conductivity, solver, frequency_domain_sig
# write new contact settings
geometry.update_contact(
contact_idx,
{"Floating": floating, "Active": active, "Current[A]": current, "Voltage[V]": voltage},
{
"Floating": floating,
"Active": active,
"Current[A]": current,
"Voltage[V]": voltage,
},
)
volume_conductor = prepare_volume_conductor_model(
settings, geometry, conductivity, solver
Expand Down

0 comments on commit 0188cbb

Please sign in to comment.