armi.matProps.constantFunction module

A constant function to a single float value in a material YAML file.

class armi.matProps.constantFunction.ConstantFunction(mat, prop)[source]

Bases: Function

A constant function, representing a float value.

Constructor for ConstantFunction object.

Parameters:
  • mat (Material) – Material object with which this ConstantFunction is associated

  • prop (Property) – Property that is represented by this ConstantFunction