openmc.openmoc_compatible.get_openmoc_lattice

openmc.openmoc_compatible.get_openmoc_lattice(openmc_lattice)[source]

Return an OpenMOC lattice corresponding to an OpenMOC lattice.

Parameters:

openmc_lattice (openmc.RectLattice) – OpenMC lattice

Returns:

openmoc_lattice – Equivalent OpenMOC lattice

Return type:

openmoc.Lattice