Differentiation

At ξ1 cell faces:

δξ1q|i+12={Negative wall:q|12+q|1,Positive wall:q|N1+q|N1+12,Otherwise:q|i+q|i+1.

At ξ1 cell centers:

δξ1q|i=q|i12+q|i+12.

At ξ2 cell faces:

δξ2q|j+12=q|j+q|j+1.

At ξ2 cell centers:

δξ2q|j=q|j12+q|j+12.

At ξ3 cell faces:

δξ3q|k+12=q|k+q|k+1.

At ξ3 cell centers:

δξ3q|k=q|k12+q|k+12.