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.14.1.
- 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