A module contains generalized subroutine to copy variable in ghost cells
Copy 1 layer of interior cell to first ghost cell layer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(inout), | dimension(-2:dims%imx+2, -2:dims%jmx+2, -2:dims%kmx+2) | :: | var | Varible over which these operation has to be performed |
|
| character(len=*), | intent(in) | :: | type | Type of copy: flat, symmetry, anti-symmetry |
||
| character(len=*), | intent(in) | :: | face | Face over which boundary condition is being called |
||
| type(extent), | intent(in) | :: | dims |
Copy 3 layer of interior cell to three ghost cell layer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(inout), | dimension(-2:dims%imx+2, -2:dims%jmx+2, -2:dims%kmx+2) | :: | var | Varible over which these operation has to be performed |
|
| character(len=*), | intent(in) | :: | type | Type of copy: flat, symmetry, anti-symmetry |
||
| character(len=*), | intent(in) | :: | face | Face over which boundary condition is being called |
||
| type(boundarytype), | intent(in) | :: | bc | |||
| type(extent), | intent(in) | :: | dims |