Skip to content

Commit

Permalink
removed kwdef from cryotank
Browse files Browse the repository at this point in the history
  • Loading branch information
ngomezve committed Apr 22, 2024
1 parent dc76625 commit 32f784b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/cryo_tank/mixture.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Structure with thermodynamic parameters for the vapor portion of a saturated mixture.
"""
@kwdef mutable struct SaturatedGas
mutable struct SaturatedGas
"""Species name"""
species::String
"""Saturated mixture temperature (K)"""
Expand All @@ -23,7 +23,7 @@ end
"""
Structure with thermodynamic parameters for the liquid portion of a saturated mixture.
"""
@kwdef mutable struct SaturatedLiquid
mutable struct SaturatedLiquid
"""Species name"""
species::String
"""Saturated mixture temperature (K)"""
Expand All @@ -45,7 +45,7 @@ end
"""
Structure with thermodynamic properties of a saturated mixture.
"""
@kwdef mutable struct SaturatedMixture
mutable struct SaturatedMixture
"""Saturated vapor properties"""
gas::SaturatedGas
"""Saturated liquid properties"""
Expand Down
4 changes: 2 additions & 2 deletions src/cryo_tank/pressure.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Structure with parameters for tank pressure calculation.
"""
@kwdef struct pressure_params
struct pressure_params
"""Initial mixture in the tank"""
mixture_init::SaturatedMixture
"""Tank volume (m^3)"""
Expand All @@ -19,7 +19,7 @@ end
"""
Structure with inputs for tank pressure calculation.
"""
@kwdef struct pressure_inputs
struct pressure_inputs
"""Heat rate as a function of time (W)"""
Q_calc::Function
"""Work rate as a function of time (W)"""
Expand Down

0 comments on commit 32f784b

Please sign in to comment.