Initial and boundary conditions

A struct ib <: AbstractCondition defines the initial and boundary conditions of a simulation. It contains the values of conservative and primitive variables, and particle distribution functions at left and right (up and down) domain for both initial and boundary conditions. It is set this way to easily deal with discontinuous initial conditions.

KitBase.IBType
mutable struct IB{T} <: AbstractCondition

Initial & boundary conditions with no distribution function

Fields

  • fw

  • bc

  • p

source
KitBase.IB1FType
mutable struct IB1F{T} <: AbstractCondition

Initial & boundary conditions with 1 distribution function

Fields

  • fw

  • ff

  • bc

  • p

source
KitBase.IB2FType
mutable struct IB2F{T} <: AbstractCondition

Initial & boundary conditions with 2 distribution functions

Fields

  • fw

  • ff

  • bc

  • p

source
KitBase.IB3FType
mutable struct IB3F{T} <: AbstractCondition

Initial & boundary conditions with 3 distribution functions

Fields

  • fw

  • ff

  • fE

  • fB

  • fL

  • bc

  • p

source
KitBase.IB4FType
mutable struct IB4F{T} <: AbstractCondition

Initial & boundary conditions with 4 distribution functions

Fields

  • fw

  • ff

  • fE

  • fB

  • fL

  • bc

  • p

source