Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
real function trilinear_interp(x,y,z,x0,y0,z0,x1,y1,z1,corners)real,intent(in)::x,y,z,x0,y0,z0,x1,y1,z1,corners(8)real::xd,yd,zdxd=(x-x0)/(x1-x0)yd=(y-y0)/(y1-y0)zd=(z-z0)/(z1-z0)! check all positivetrilinear_interp=corners(1)*(1-xd)*(1-yd)*(1-zd)+&! c000corners(2)*(xd)*(1-yd)*(1-zd)+&! c100corners(3)*(1-xd)*(yd)*(1-zd)+&! c010corners(4)*(xd)*(yd)*(1-zd)+&! c110corners(5)*(1-xd)*(1-yd)*(zd)+&! c001corners(6)*(xd)*(1-yd)*(zd)+&! c101corners(7)*(1-xd)*(yd)*(zd)+&! c011corners(8)*(xd)*(yd)*(zd)! c111end function trilinear_interp