parse_molecule_fragments Subroutine

subroutine parse_molecule_fragments(unit, mol, error)

Parse %fragments section for a molecule

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: unit
type(molecule_t), intent(inout) :: mol
type(error_t), intent(out) :: error

Calls

proc~~parse_molecule_fragments~~CallsGraph proc~parse_molecule_fragments parse_molecule_fragments interface~parse_fragments_generic parse_fragments_generic proc~parse_molecule_fragments->interface~parse_fragments_generic proc~parse_fragments_generic parse_fragments_generic interface~parse_fragments_generic->proc~parse_fragments_generic proc~error_add_context error_t%error_add_context proc~parse_fragments_generic->proc~error_add_context proc~error_has_error error_t%error_has_error proc~parse_fragments_generic->proc~error_has_error proc~error_set error_t%error_set proc~parse_fragments_generic->proc~error_set proc~parse_fragment parse_fragment proc~parse_fragments_generic->proc~parse_fragment proc~skip_to_end skip_to_end proc~parse_fragments_generic->proc~skip_to_end proc~strip_comment strip_comment proc~parse_fragments_generic->proc~strip_comment proc~parse_fragment->proc~error_add_context proc~parse_fragment->proc~error_has_error proc~parse_fragment->proc~error_set proc~parse_fragment->proc~strip_comment proc~parse_indices_line parse_indices_line proc~parse_fragment->proc~parse_indices_line proc~skip_to_end->proc~error_set proc~skip_to_end->proc~strip_comment proc~parse_indices_line->proc~error_set

Called by

proc~~parse_molecule_fragments~~CalledByGraph proc~parse_molecule_fragments parse_molecule_fragments proc~parse_single_molecule parse_single_molecule proc~parse_single_molecule->proc~parse_molecule_fragments proc~parse_molecules_section parse_molecules_section proc~parse_molecules_section->proc~parse_single_molecule interface~parse_molecules_section parse_molecules_section interface~parse_molecules_section->proc~parse_molecules_section proc~read_mqc_file read_mqc_file proc~read_mqc_file->interface~parse_molecules_section program~main main program~main->proc~read_mqc_file

Source Code

   subroutine parse_molecule_fragments(unit, mol, error)
      !! Parse %fragments section for a molecule
      integer, intent(in) :: unit
      type(molecule_t), intent(inout) :: mol
      type(error_t), intent(out) :: error

      call parse_fragments_generic(unit, mol%nfrag, mol%fragments, error)

   end subroutine parse_molecule_fragments