This module calculates spatial derivatives (first and second spatial derivatives in X, Y, Z directions like ddx, ddy, ddz, etc.)
using high-order compact finite difference schemes. It also calculates chemical reaction rates,
positive/negative component extraction, and threshold operations, incorporating memory cache
efficiency (cache blocking) and transpose optimization operations (tp2).
Functions
Computes the chemical reaction rate based on the progress variable c.
Read more…
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64)
|
|
|
|
:: |
c |
The progress variable (0.0 to 1.0).
|
Return Value
real(kind=real64)
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64)
|
|
|
|
:: |
c |
|
|
real(kind=real64)
|
|
|
|
:: |
minc |
|
|
real(kind=real64)
|
|
|
|
:: |
maxc |
|
Return Value
real(kind=real64)
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64)
|
|
|
|
:: |
c |
|
Return Value
real(kind=real64)
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64)
|
|
|
|
:: |
c |
|
Return Value
real(kind=real64)
Subroutines
Initializes the workspace arrays and matrices.
Read more…
Arguments
None
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(1,nxp)
|
:: |
dst |
|
|
real(kind=real64),
|
intent(in), |
|
dimension(1,nxp)
|
:: |
src |
|
Computes the first-order derivative in the X-direction.
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(nxp,nyp,nzp)
|
:: |
dst |
3D output derivative field (nxp, nyp, nzp).
|
|
real(kind=real64),
|
intent(in), |
|
dimension(nxp,nyp,nzp)
|
:: |
src |
3D input scalar field (nxp, nyp, nzp).
|
Computes the first-order derivative in the Y-direction.
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(nxp,nyp,nzp)
|
:: |
dst |
3D output derivative field (nxp, nyp, nzp).
|
|
real(kind=real64),
|
intent(in), |
|
dimension(nxp,nyp,nzp)
|
:: |
src |
3D input scalar field (nxp, nyp, nzp).
|
Computes the first-order derivative in the Z-direction.
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(nxp,nyp,nzp)
|
:: |
dst |
3D output derivative field (nxp, nyp, nzp).
|
|
real(kind=real64),
|
intent(in), |
|
dimension(nxp,nyp,nzp)
|
:: |
src |
3D input scalar field (nxp, nyp, nzp).
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(nxp)
|
:: |
dst |
|
|
real(kind=real64),
|
intent(in), |
|
dimension(nxp)
|
:: |
src |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(nxp,nyp,nzp)
|
:: |
dst |
|
|
real(kind=real64),
|
intent(in), |
|
dimension(nxp,nyp,nzp)
|
:: |
src |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(nxp,nyp,nzp)
|
:: |
dst |
|
|
real(kind=real64),
|
intent(in), |
|
dimension(nxp,nyp,nzp)
|
:: |
src |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out), |
|
dimension(nxp,nyp,nzp)
|
:: |
dst |
|
|
real(kind=real64),
|
intent(in), |
|
dimension(nxp,nyp,nzp)
|
:: |
src |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out) |
|
|
:: |
a(nb,nx) |
|
|
real(kind=real64),
|
intent(in) |
|
|
:: |
b(nx,nb) |
|
|
integer,
|
intent(in) |
|
|
:: |
nx |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=real64),
|
intent(out) |
|
|
:: |
a(n1,n2) |
|
|
real(kind=real64),
|
intent(in) |
|
|
:: |
b(n2,n1) |
|
|
integer,
|
intent(in) |
|
|
:: |
n1 |
|
|
integer,
|
intent(in) |
|
|
:: |
n2 |
|