Excite_1_t Derived Type

type, public, extends(Excitation_t) :: Excite_1_t

Represents the orbital indices of a 1-order excitation The array is sorted like: [srcs, tgts]


Contents


Components

Type Visibility Attributes Name Initial
integer, public :: val(2,1) = UNKNOWN

Constructor

public interface Excite_1_t

Additional constructors for the excitation types from integers instead of an integer array.

The non trivial excitations are initialized by passing the respective integer arrays into the type. Alternatively one can use integer arguments to initialize. Omitted indices are set to UNKNOWN.

\code{.unparsed} Excite_t([1, 2]) == Excite_t(src=1, tgt=2) ! If the target should be UNKNOWN, just omit it Excite_t(src=1) \endcode

The signature is (src_1, tgt_1, src_2, tgt_2, ...). depending on the actual type.

  • private pure function from_integer_Excite_1_t(src, tgt) result(res)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in), optional :: src
    integer, intent(in), optional :: tgt

    Return Value type(Excite_1_t)