openmc.read_source_file¶
- openmc.read_source_file(filename: Union[str, PathLike]) List[SourceParticle][source]¶
Read a source file and return a list of source particles.
New in version 0.15.0.
- Parameters
filename (str or path-like) – Path to source file to read
- Returns
Source particles read from file
- Return type
list of SourceParticle
See also