sailfish.solvers.srhd_1d.Patch

class sailfish.solvers.srhd_1d.Patch(setup, time, conserved, mesh, index_range, fix_i0, fix_i1, lib, xp, execution_context)[source]

Bases: object

Buffers for the solution on a subset of the solution domain.

This class also takes care of generating initial conditions if needed, and issuing calls to the solver kernel functions.

__init__(setup, time, conserved, mesh, index_range, fix_i0, fix_i1, lib, xp, execution_context)[source]

Methods

__init__(setup, time, conserved, mesh, ...)

advance_rk(rk_param, dt)

maximum_wavespeed()

new_iteration()

recompute_primitive()

Attributes

conserved

primitive

scale_factor