bolt.lib.physical_system module

class bolt.lib.physical_system.physical_system(domain, boundary_conditions, params, initial_conditions, advection_term, source, moments)[source]

Bases: object

An instance of this class contains details of the physical system being evolved. User defines this class with the information about the physical system such as domain sizes, resolutions and parameters for the simulation. The initial conditions, the advections terms and the source/sink term also needs to be passed as functions by the user.