DOKK / manpages / debian 12 / libsc-doc / sc_MOPairIter.3.en
sc::MOPairIter(3) MPQC sc::MOPairIter(3)

sc::MOPairIter - MOPairIter gives the ordering of orbital pairs.

#include <pairiter.h>

Inherits sc::RefCount.

Inherited by sc::SpatialMOPairIter.


MOPairIter (const Ref< MOIndexSpace > &space_i, const Ref< MOIndexSpace > &space_j)
Initialize an iterator for the given MO spaces. virtual void start (const int first_ij=0)=0
Start the iteration. virtual void next ()=0
Move to the next pair. virtual operator int () const =0
Returns nonzero if the iterator currently hold valid data. int ni () const
Returns the number of functions in space i. int nj () const
Returns the number of functions in space j. int i () const
Returns index i. int j () const
Returns index j. int nij () const
Returns the number of pair combinations for this iterator. int ij () const
Returns the current iteration.


bool i_eq_j_
int ni_
int nj_
int i_
int j_
int nij_
int ij_

MOPairIter gives the ordering of orbital pairs.

Move to the next pair.

Implemented in sc::SpatialMOPairIter_eq, and sc::SpatialMOPairIter_neq.

Returns nonzero if the iterator currently hold valid data.

Implemented in sc::SpatialMOPairIter_eq, and sc::SpatialMOPairIter_neq.

Start the iteration.

Implemented in sc::SpatialMOPairIter_eq, and sc::SpatialMOPairIter_neq.

Generated automatically by Doxygen for MPQC from the source code.

Fri Dec 2 2022 Version 2.3.1