Boundary condition
#
homemade_conslaws.BoundaryCondition
— Type.
BoundaryCondition
Describes the boundary conditions for a conservation law. It is passed to the grid, determining how to handle the boundaries.
Dispatch functions
It is done by implementing for_each_boundary_cell
for subtypes of BoundaryCondition
.
Implementations
Neumann boundary condition
#
homemade_conslaws.NeumannBC
— Type.
NeumannBC
First-order approximation of the Neumann boundary condition.
Periodic boundary condition
#
homemade_conslaws.PeriodicBC
— Type.
PeriodicBC
Implements a periodic boundary condition by wrapping the domain.
Wall boundary condition
#
homemade_conslaws.WallBC
— Type.
WallBC
Implements a wall boundary condition, in the sense that the water height is reflected and momentum is reflected and negating, simulating an opposite and equal wave.
Multiple walls boundary condition
#
homemade_conslaws.WallsBC
— Type.
WallsBC{Float <: AbstractFloat}
Simulates walls starting and stopping at cell interfaces. Equivalent to WallBC
when no walls are given.