Skip to content

Commit

Permalink
standard workflow debugging 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Atharva Arya committed Dec 27, 2024
1 parent ad6958a commit 3530f11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tardis/workflows/simple_tardis_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ def solve_plasma(self, estimated_radfield_properties):
ValueError
If the plasma solver radiative rates type is unknown
"""
print("\n=== entering solve_plasma ===")
print(f"self.simulation_state.t_radiative = {self.simulation_state.t_radiative}")
print(f"self.simulation_state.dilution_factor = {self.simulation_state.dilution_factor}")
radiation_field = DilutePlanckianRadiationField(
temperature=self.simulation_state.t_radiative,
dilution_factor=self.simulation_state.dilution_factor,
Expand Down Expand Up @@ -327,6 +330,7 @@ def solve_plasma(self, estimated_radfield_properties):
)

self.plasma_solver.update(**update_properties)
print("\n=== exiting solve_plasma ===")

def solve_opacity(self):
"""Solves the opacity state and any associated objects
Expand Down

0 comments on commit 3530f11

Please sign in to comment.