Skip to content

Commit

Permalink
Removed realistic physical defaults, replaced with None.
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-drews committed Jun 28, 2024
1 parent be55094 commit a388a2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/acom_music_box/music_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ def solve(self, path_to_output = None):
headers.append("ENV.temperature")
headers.append("ENV.pressure")

#music_box_logger.progress("solve0152 self.solver = {}".format(self.solver))

if (self.solver is None):
music_box_logger.progress("Warning: MusicBox object {} has no solver."
Expand Down
3 changes: 2 additions & 1 deletion src/acom_music_box/music_box_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class Conditions:
reactionRates (List[ReactionRate]): A list of reaction rates.
"""

def __init__(self, pressure=0.83, temperature=303.0, species_concentrations=None, reaction_rates=None):
def __init__(self, pressure=None, temperature=None, species_concentrations=None, reaction_rates=None):

"""
Initializes a new instance of the Conditions class.
Expand Down
3 changes: 2 additions & 1 deletion src/acom_music_box/music_box_model_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class BoxModelOptions:
simulationLength (float): Length of the simulation in hours.
"""

def __init__(self, chem_step_time=1.0, output_step_time=5.0, simulation_length=100.0, grid="box"):
def __init__(self, chem_step_time=None, output_step_time=None, simulation_length=None, grid="box"):

"""
Initializes a new instance of the BoxModelOptions class.
Expand Down

0 comments on commit a388a2b

Please sign in to comment.