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.
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.
Source Code
subroutine spherical_to_cartesian(vec_sph,vec_car)! angles in raddouble precision,intent(in)::vec_sph(1:3)double precision,intent(inout)::vec_car(1:3)vec_car(1)=vec_sph(1)*dsin(vec_sph(2))*dcos(vec_sph(3))vec_car(2)=vec_sph(1)*dsin(vec_sph(2))*dsin(vec_sph(3))vec_car(3)=vec_sph(1)*dcos(vec_sph(2))end subroutine spherical_to_cartesian