CADETProcess.processModel.discretization.WenoParameters

Contents

CADETProcess.processModel.discretization.WenoParameters#

class CADETProcess.processModel.discretization.WenoParameters(boundary_model, weno_eps, weno_order)[source]#

Discretization parameters for the WENO scheme.

See also

Structure
Attributes:
boundary_modelSwitch, optional

Specifies the method for dealing with boundary cells. Valid values are: 0: Lower WENO order (stable) 1: Zero weights (unstable for small D_ax) 2: Zero weights for p != 0 (stable?) 3: Large ghost points Default is 0.

weno_epsUnsignedFloat, optional

A small positive number used to avoid division by zero in the WENO scheme. Default is 1e-10.

weno_orderUnsignedInteger, optional

Order of the WENO scheme. Valid values are: 1: Standard upwind scheme (order 1) 2: WENO 2 (order 3) 3: WENO 3 (order 5) Default is 3.

Methods

check_required_parameters()

Verify if all required parameters are set.