@@ -17,32 +17,32 @@ module oracle_interface
1717
1818 abstract interface
1919
20- function subtract_interface (this , rhs ) result(difference)
21- ! ! result has components corresponding to subtracting rhs's components fron this object's components
20+ function subtract_interface (self , rhs ) result(difference)
21+ ! ! result has components corresponding to subtracting rhs's components fron self object's components
2222 import oracle_t
2323 implicit none
24- class(oracle_t), intent (in ) :: this , rhs
24+ class(oracle_t), intent (in ) :: self , rhs
2525 class(oracle_t), allocatable :: difference
2626 end function
2727
28- pure function norm_interface (this ) result(norm_of_this )
29- ! ! result is a norm of the array formed by concatenating the real components of this object
28+ pure function norm_interface (self ) result(norm_of_self )
29+ ! ! result is a norm of the array formed by concatenating the real components of self object
3030 import oracle_t
3131 implicit none
32- class(oracle_t), intent (in ) :: this
33- real norm_of_this
32+ class(oracle_t), intent (in ) :: self
33+ real norm_of_self
3434 end function
3535
3636 end interface
3737
3838 interface
3939
40- module function within_tolerance (this , reference , tolerance ) result(in_tolerance)
41- ! ! template method with true result iff the difference in state vectors (this - reference) has a norm within tolerance
40+ module function within_tolerance (self , reference , tolerance ) result(in_tolerance)
41+ ! ! template method with true result iff the difference in state vectors (self - reference) has a norm within tolerance
4242 ! ! (impure because of internal call to 'subtract' binding)
43- ! ! The existence of this procedure eliminates the need to rewrite similar code for every oracle child type.
43+ ! ! The existence of self procedure eliminates the need to rewrite similar code for every oracle child type.
4444 implicit none
45- class(oracle_t), intent (in ) :: this , reference
45+ class(oracle_t), intent (in ) :: self , reference
4646 real , intent (in ) :: tolerance
4747 logical in_tolerance
4848 end function
0 commit comments