Contains information required to compute gradient like position of six direct neigbors in the state array and coeff for the gradient operation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private, | allocatable | :: | neighPos(:,:,:) | Stores position of 6 direct face neighbors in the state array for each element Size: nSize, stencil%nDims, 2 last index refers to left and right side 1 is left/negative side and 2 is right/positive side |
||
real(kind=rk), | private, | allocatable | :: | FDcoeff(:,:) | coeff to calculate 1st order derivative use forward difference for element with boundary (coeff = 1.0) and central difference for inner fluid element (coeff=0.5) size: nSize, stencil%nDims |