Skip to content

Commit 1720489

Browse files
authored
Update create_absorption_variables.py
Include lossless option
1 parent c97e911 commit 1720489

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kwave/kWaveSimulation_helper/create_absorption_variables.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ def create_absorption_variables(kgrid: kWaveGrid, medium: kWaveMedium, equation_
1414
return create_absorbing_medium_variables(kgrid.k, medium)
1515
elif equation_of_state == "stokes":
1616
return create_stokes_medium_variables(medium)
17+
elif equation_of_state == "lossless":
18+
return None, None, None, None
1719
else:
1820
raise NotImplementedError
1921

0 commit comments

Comments
 (0)