blockLaxWendroff

Extends from Icons.BlockIcon.

Information

Implements the Lax-Wendroff flux. By using this flux, the average update rule becomes:

Release Notes:

    Parameters

    TypeNameDefaultDescription
    IntegernworldModel1.n
    IntegergclworldModel1.gcl
    IntegergcrworldModel1.gcr
    Realdeltax1/n
    RealdeltatworldModel1.deltat

    Connectors

    TypeNameDefaultDescription
    Modelica.Blocks.Interfaces.RealInput[worldModel1.n + worldModel1.gcr + worldModel1.gcr]u
    Modelica.Blocks.Interfaces.RealInputu1
    Modelica.Blocks.Interfaces.RealOutput[worldModel1.n + 1]y

    Components

    TypeNameDefaultDescription
    PDE.World.worldModelworldModel1