f4enix.input.materials#

This module is related to the parsing of a material section of a MCNP input

The information is organized as follows:

MatCardsList
Material
Submaterial
Element

Zaid

Functions

indent(elem[, level])

Indent an XML element and its children to make the XML structure more human-readable.

suppress_stdout()

Classes

Element(zaidList)

Generate an Element object starting from a list of zaids.

MatCardsList(materials)

Object representing the list of materials included in an MCNP input.

Material(zaids, elem, name[, submaterials, ...])

Object representing an MCNP material

SubMaterial(name, zaidList[, elemList, ...])

Generate a SubMaterial Object starting from a list of Zaid and eventually Elements list.

Zaid(fraction, element, isotope, library[, ...])

Object representing a Zaid