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.
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.
Variables
Type
Visibility
Attributes
Name
Initial
character(len=2),
private
::
sym
Source Code
pure function element_symbol_to_number(symbol)result(atomic_number)!! Convert element symbol to atomic number!! Covers the complete periodic table (elements 1-118)character(len=*),intent(in)::symbolinteger::atomic_numbercharacter(len=2)::sym! Normalize: uppercase first letter, lowercase secondsym=adjustl(symbol)if(len_trim(sym)>=1)sym(1:1)=to_upper(sym(1:1))if(len_trim(sym)>=2)sym(2:2)=to_lower(sym(2:2))! Search for symbol in tableatomic_number=findloc(element_symbols,sym,dim=1)end function element_symbol_to_number