Skip to content

Commit

Permalink
Address linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjarrett committed Feb 6, 2025
1 parent da76576 commit 9345777
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion armi/reactor/tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,18 @@


class CompositionDependentExpander(materials.Material):
"""Dummy material that has a composition-dependent thermal expansion coefficient."""

def linearExpansionPercent(self, Tk: float = None, Tc: float = None) -> float:
"""
Dummy material that has a composition-dependent thermal expansion coefficient
Composition-dependent linear expansion coefficient.
Parameters
----------
Tk : float, optional
Temperature in Kelvin.
Tc : float, optional
Temperature in Celsius.
"""
alpha = 1.0e-5
beta = 1.0e-5 * self.parent.getMassFrac("C")
Expand Down

0 comments on commit 9345777

Please sign in to comment.