Calculate the MLUPS or MFLUPS for the simulation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | minLevel | level range |
||
integer, | intent(in) | :: | maxLevel | level range |
||
integer, | intent(in) | :: | scaleFactor | global parameter |
||
integer(kind=long_k), | intent(in) | :: | nElems(minLevel:maxLevel) | array of nElems levelwise |
||
integer, | intent(in) | :: | iter | number of iterations on maxLevel number of iteration on iLevel = iter / scaleFactor**(maxLevel-iLevel) |
||
real(kind=rk), | intent(in) | :: | time | time consumed for running iter iterations |
resulting mlups
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iLevel | ||||
integer(kind=long_k), | private | :: | cellUpdates |