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
integer,
private
::
nshells
Source Code
pure subroutine parse_element_basis(basis_string,element_name,atom_basis,error)!! Parse basis set for a specific element from a GAMESS formatted basis stringcharacter(len=*),intent(in)::basis_stringcharacter(len=*),intent(in)::element_nametype(atomic_basis_type),intent(out)::atom_basistype(error_t),intent(out)::errorinteger::nshells! Pass 1: Find the element and count its shellscall count_shells_for_element(basis_string,element_name,nshells,error)if(error%has_error())then call error%add_context("mqc_basis_reader:parse_element_basis")return end if if(nshells==0)then call error%set(ERROR_PARSE,"Element "//trim(element_name)//" not found in basis file")return end if! ! Allocate shellsatom_basis%element=trim(element_name)call atom_basis%allocate_shells(nshells)! ! Pass 2: Parse and fill shell datacall fill_element_basis(basis_string,element_name,atom_basis,error)end subroutine parse_element_basis