45 type(type_t),
public :: wfs_type
46 integer,
public :: nst
47 logical,
public :: packed
51 procedure(nullify),
deferred :: nullify
52 procedure(pack),
deferred :: pack
53 procedure(unpack),
deferred :: unpack
54 procedure(write_info),
deferred :: write_info
55 procedure(set_zero),
deferred :: set_zero
56 procedure, non_overridable :: are_packed
57 procedure, non_overridable :: get_type
63 class(states_abst_t),
intent(inout) :: st
68 class(states_abst_t),
intent(inout) :: st
74 class(states_abst_t),
intent(in) :: st
75 type(namespace_t),
intent(in) :: namespace
78 subroutine pack(st, copy)
80 class(states_abst_t),
intent(inout) :: st
81 logical,
optional,
intent(in) :: copy
84 subroutine unpack(st, copy)
86 class(states_abst_t),
intent(inout) :: st
87 logical,
optional,
intent(in) :: copy
95 class(states_abst_t),
intent(inout) :: st
106 class(states_abst_t),
intent(in) :: st
115 class(states_abst_t),
intent(in) :: st
123 logical pure function are_packed(st) result(packed)
124 class(states_abst_t),
intent(in) :: st
129 pure type(type_t) function get_type(st) result(res)
130 class(states_abst_t),
intent(in) :: st
subroutine, public states_set_complex(st)
pure logical function, public states_are_complex(st)
logical pure function are_packed(st)
pure logical function, public states_are_real(st)
pure type(type_t) function get_type(st)
type(type_t), public type_float
type(type_t), public type_cmplx
abstract class for states