Homotopy

Homotopy

This page documents the functions that compute the dissipation function needed by homotopy methods

Calculate a first order accurate dissipation to use as a homotopy function

Inputs: mesh: a DG mesh sbp: an SBP operator eqn: an EulerData object opts: options dictionary

Inputs/Outputs: res: 3D array to store the homotopy function in

Note eqn.res is not modified by this function.

Aliasing restrictions: none

source

Calculate the maximum wave speed for a given state

Inputs: params: a ParamType qL: a vector of conservative variables at a node dir: a direction vector, length 2 in 2D and 3 in 3D

Outputs: lambda_max: the maximum wave speed

Aliasing restrictions: none

source

This function calls the appropriate homotopy function for the Euler module.

source