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:

Generated at 2024-07-21T18:15:58Z by OpenModelicaOpenModelica 1.23.1 using GenerateDoc.mos