f4enix.output.meshtal.mesh_parser.CUVMeshParser#
- class f4enix.output.meshtal.mesh_parser.CUVMeshParser(filename: str | Path)#
Bases:
ParserRead CUV formatted file.
Methods
__init__(filename)get_FMesh(tally[, norm, filter])Returns Fmesh object representing a CUV meshtally.
Return list of mesh stored in the CUV file.
- get_FMesh(tally: int, norm: str | None = None, filter: list[int] | None = None) Fmesh#
Returns Fmesh object representing a CUV meshtally.
- Parameters:
tally (int) – The mesh tally number to retrieve.
norm (str | None, optional) – Normalization option for CUV meshes.
filter (list[int] | None, optional) – List of cells with which voxels in CUV meshes are filtered.
- Returns:
An Fmesh object containing the mesh data.
- Return type:
- get_meshlist() tuple#
Return list of mesh stored in the CUV file.
- Returns:
A tuple containing the tally numbers of the meshes.
- Return type:
tuple