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 nusselt_pipe_init(cfg,c_pt)class(input_t),target,intent(in)::cfgtype(c_ptr),intent(out)::c_pttype(pipe_cfg_t),pointer::pipe_ptr! fortran pointerallocate(pipe_ptr)pipe_ptr%a=cfg%dbl('a',0.023_dp)pipe_ptr%b=cfg%dbl('b',0.8_dp)pipe_ptr%c=cfg%dbl('c',0.4_dp)c_pt=c_loc(pipe_ptr)! translates fortran pointer to C pointerend subroutine nusselt_pipe_init