modelGhostCells

Extends from Icons.Method (Methods/functions icon).

Information

The model for defining the ghost cells. It can be observed that for a given jth cell, information from the neighbouring cells j-1 and j-2 (to the left) and j+1 and j+2 (to the right) are required for calculating the flux integrals.

Here is the equations that are used in this function:

Parameters

TypeNameDefaultDescription
IntegerNNumber of segments

Components

TypeNameDefaultDescription
Real[2*N]U
Real[2*(N + 4)]U_
Real[N + 4]p_
Real[N + 4]mdot_