openmc.read_source_file

openmc.read_source_file(filename: str | PathLike) ParticleList[source]

Read a source file and return a list of source particles.

Added in version 0.15.0.

Parameters:

filename (str or path-like) – Path to source file to read

Return type:

openmc.ParticleList