seams_topo Derived Type

type, public :: seams_topo

Topological fingerprint.


Finalization Procedures

final :: topo_final

  • private subroutine topo_final(self)

    Release this owner’s reference to the fingerprint.

    Arguments

    Type IntentOptional Attributes Name
    type(seams_topo), intent(inout) :: self

Type-Bound Procedures

procedure, public :: key => topo_key

  • interface

    private module subroutine topo_key(self, key, stat, errmsg)

    Arguments

    Type IntentOptional Attributes Name
    class(seams_topo), intent(in) :: self
    character(len=:), intent(out), allocatable :: key
    integer(kind=seams_int), intent(out), optional :: stat
    character(len=:), intent(out), optional, allocatable :: errmsg

procedure, public :: atom_key => topo_atom_key

  • interface

    private module subroutine topo_atom_key(self, index, key, stat, errmsg)

    index is 1-based.

    Arguments

    Type IntentOptional Attributes Name
    class(seams_topo), intent(in) :: self
    integer(kind=seams_int), intent(in) :: index
    character(len=:), intent(out), allocatable :: key
    integer(kind=seams_int), intent(out), optional :: stat
    character(len=:), intent(out), optional, allocatable :: errmsg

procedure, public :: rings => topo_rings

  • interface

    private module subroutine topo_rings(self, counts, stat, errmsg)

    Arguments

    Type IntentOptional Attributes Name
    class(seams_topo), intent(in) :: self
    integer(kind=seams_int), intent(out), allocatable :: counts(:)
    integer(kind=seams_int), intent(out), optional :: stat
    character(len=:), intent(out), optional, allocatable :: errmsg

procedure, public :: close => topo_close

  • private subroutine topo_close(self)

    Release this owner’s reference to the fingerprint.

    Arguments

    Type IntentOptional Attributes Name
    class(seams_topo), intent(inout) :: self

Source Code

  type, public :: seams_topo
    private
    type(handle_box), pointer :: box => null()
  contains
    procedure, public :: key => topo_key
    procedure, public :: atom_key => topo_atom_key
    procedure, public :: rings => topo_rings
    procedure, public :: close => topo_close
    final :: topo_final
  end type seams_topo