bte.utils.rescon#

Module Contents#

Functions#

linear_reconstruction_MinMod(fL, f, fR)

linear_reconstruction using MinMod limiter

linear_reconstruction_VanLeer(fL, f, fR)

linear_reconstruction using VanLeer limiter

bte.utils.rescon.linear_reconstruction_MinMod(fL, f, fR)[source]#

linear_reconstruction using MinMod limiter

Parameters:
  • fL (torch.Tensor) – left cell

  • f (torch.Tensor) – cell

  • fR (torch.Tensor) – right cell

Returns:

leftRec, rightRec

Return type:

torch.Tensor

bte.utils.rescon.linear_reconstruction_VanLeer(fL, f, fR)[source]#

linear_reconstruction using VanLeer limiter

Parameters:
  • fL (torch.Tensor) – left cell

  • f (torch.Tensor) – cell

  • fR (torch.Tensor) – right cell

Returns:

leftRec, rightRec

Return type:

torch.Tensor