Skip to content

Commit

Permalink
Applying black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Jan 22, 2024
1 parent f2d0084 commit d3ce96d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions armi/materials/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def setMaterialNamespaceOrder(order):
:implements: R_ARMI_MAT_NAMESPACE
An ARMI application will need materials. Materials can be imported from
any code the application has access to, like plugin packages. This leads to
the situation where one ARMI application will want to import multiple
collections of materials. To handle this, ARMI keeps a list of material
any code the application has access to, like plugin packages. This leads to
the situation where one ARMI application will want to import multiple
collections of materials. To handle this, ARMI keeps a list of material
namespaces. This is an ordered list of importable packages that ARMI
can search for a particular material by name.
Expand Down Expand Up @@ -147,14 +147,14 @@ def resolveMaterialClassByName(name: str, namespaceOrder: List[str] = None):
:implements: R_ARMI_MAT_ORDER
During the runtime of an ARMI application, but particularly during the
construction of the reactor in memory, materials will be requested from the
materials plugin by name. At that point, this code is called to search for that
material name. The search goes through the ordered list of Python
namespaces provided to search for the name. The first time an instance of
that material is found, it is returned. In this way, the first items in the material
construction of the reactor in memory, materials will be requested from the
materials plugin by name. At that point, this code is called to search for that
material name. The search goes through the ordered list of Python
namespaces provided to search for the name. The first time an instance of
that material is found, it is returned. In this way, the first items in the material
namespace list take precedence.
When a material name is passed to this function, it may be either a simple
When a material name is passed to this function, it may be either a simple
name like the string ``"UO2"`` or it may be much more specific, like
``armi.materials.uraniumOxide:UO2``.
Expand Down
2 changes: 1 addition & 1 deletion armi/materials/material.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def linearExpansion(self, Tk=None, Tc=None):
:implements: R_ARMI_MAT_FLUID
ARMI does not model thermal expansion of fluids. The ``Fluid`` superclass
therefore sets the thermal expansion coefficient to zero. All fluids
therefore sets the thermal expansion coefficient to zero. All fluids
subclassing the ``Fluid`` material will inherit this method which sets the
linear expansion coefficient to zero at all temperatures.
"""
Expand Down

0 comments on commit d3ce96d

Please sign in to comment.