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: