1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
module Exemple
interface coordminmax
module procedure coordminmax2V
module procedure coordminmax6S
end interface
contains
function coordminmax2V(Pt1,Pt2)
real(8), intent(in) :: Pt1(3),pt2(3)
...
end function
function coordminmax6S(X1,Y1,Z1,X2,Y2,Z2) result (R)
real(8), intent(in) :: X1,Y1,Z1,X2,Y2,Z2
type ??? :: R
R = coordminmax2V([X1,Y1,Z1],[X2,Y2,Z2])
end function
end module
program
use Exemple
R1 = coordminmax(PtX,PtY)
R2 = coordminmax(a,b,c,d,e,f)
... |
Partager