astronomix.time_stepping._utils#
Padding helpers for the time-integration loop.
Adds and removes the ghost-cell halo around a primitive state. Ghost cells hold
the boundary information the stencils read into, so the interior is padded
before integration (_pad) and the halo stripped off again before the state
is returned to the user (_unpad).