ESPUTR
calculation of sputtering yields
Functions/Subroutines | Variables
esputr_test Module Reference

Functions/Subroutines

logical elemental function, public ispassed (expected, calculated)
 
subroutine, public printfailed (expected, calculated, passed)
 Print pairs of values (expected(i),calculated(i)) for which passed(i)=.false. More...
 

Variables

real(kind=esputr_dp), parameter, public esputr_tol = 2e-7
 Maximum relative error, parameter which is used to compare two values. More...
 

Function/Subroutine Documentation

logical elemental function, public esputr_test::ispassed ( real(kind=esputr_dp), intent(in)  expected,
real(kind=esputr_dp), intent(in)  calculated 
)
Returns
true if expected and calculated are same withing defined relative tolerance (ESPUTR_TOL)

Definition at line 39 of file esputr_test.f90.

References esputr_tol.

Referenced by esputr1993_test::esputr1993_test_compare(), esputr1993_test::esputr1993_test_eth(), esputr1993_test::esputr1993_test_th(), esputr2001_test::esputr2001_test_eth(), esputr2001_test::esputr2001_test_extrapolate_angular(), esputr2001_test::esputr2001_test_n(), and esputr2001_test::esputr2001_test_theta().

Here is the caller graph for this function:

subroutine, public esputr_test::printfailed ( real(kind=esputr_dp), dimension(:), intent(in)  expected,
real(kind=esputr_dp), dimension(:), intent(in)  calculated,
logical, dimension(size(expected)), intent(in)  passed 
)

Print pairs of values (expected(i),calculated(i)) for which passed(i)=.false.

This function is used to print the pairs which did not pass the check

Definition at line 51 of file esputr_test.f90.

Referenced by esputr1993_test::esputr1993_test_compare(), and esputr2001_test::esputr2001_test_n().

Here is the caller graph for this function:

Variable Documentation

real(kind=esputr_dp), parameter, public esputr_test::esputr_tol = 2e-7

Maximum relative error, parameter which is used to compare two values.

Definition at line 32 of file esputr_test.f90.

Referenced by ispassed().