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 friction_factor_central_spiral_init(cfg,c_pt)class(input_t),target,intent(in)::cfgtype(c_ptr),intent(out)::c_pttype(central_spiral_cfg_t),pointer::central_spiral_ptr! fortran pointerallocate(central_spiral_ptr)central_spiral_ptr%alpha=cfg%dbl('alpha',0.36_dp)central_spiral_ptr%beta=cfg%dbl('beta',0.038_dp)c_pt=c_loc(central_spiral_ptr)! translates fortran pointer to C pointerend subroutine friction_factor_central_spiral_init