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 add_color(self,color,ok)class(Trajectory),intent(inout)::selfreal(wp),intent(in)::color(:)!! [r, g, b] or [r, g, b, a] (0 to 1)logical,intent(out),optional::ok!! false if not addedif(present(ok))ok=.false.if(self%n_col>=self%n_times)return call grow_colors(self,self%n_col+1)self%n_col=self%n_col+1call to_float_rgba(self%col(:,self%n_col),color)self%revision_=self%revision_+1if(present(ok))ok=.true.end subroutine add_color