openmc.openmoc_compatible.get_openmc_lattice

openmc.openmoc_compatible.get_openmc_lattice(openmoc_lattice)[source]

Return an OpenMC lattice corresponding to an OpenMOC lattice.

Parameters:openmoc_lattice (openmoc.Lattice) – OpenMOC lattice
Returns:openmc_lattice – Equivalent OpenMC lattice
Return type:openmc.RectLattice