allclose_rank3 Function

public function allclose_rank3(a, b, rel_tol, abs_tol)

Checks if two rank-3 floating point arrays of type double are close within tolerance.

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(in), dimension(:,:,:) :: a

(m,n,p) array

real(kind=rp), intent(in), dimension(:,:,:) :: b

(m,n,p) array

real(kind=rp), intent(in), optional :: rel_tol

Relative tolerance; default 1e-10

real(kind=rp), intent(in), optional :: abs_tol

Absolute tolerance; default 0.0

Return Value logical