openmc.read_source_file

openmc.read_source_file(filename: str | os.PathLike) ParticleList[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

Return type

openmc.ParticleList