sailfish.solvers.cbdgam_2d

Energy-conserving solver for the binary accretion problem in 2D.

Functions

initial_condition(setup, mesh, time)

Generate a 2D array of primitive data from a mesh and a setup.

Classes

Options(pressure_floor, density_floor, ...)

Patch(time, primitive, mesh, index_range, ...)

Holds the array buffer state for the solution on a subset of the solution domain.

Solver([setup, mesh, time, solution, ...])

Adapter class to drive the cbdgam_2d C extension module.