MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
sc::TensorIndexRangeIterator< NDIM > Class Template Reference

TensorIndexRangeIterator is a direct product of shell ranges for each center. More...

#include <chemistry/qc/basis/tbint_batch.h>

Inheritance diagram for sc::TensorIndexRangeIterator< NDIM >:
sc::IndexRangeIterator< NDIM > sc::RefCount

Public Types

typedef IndexRangeIterator< NDIM >::IntTuple IntTuple
 
- Public Types inherited from sc::IndexRangeIterator< NDIM >
typedef detail::tuple< NDIM, unsigned int > IntTuple
 

Public Member Functions

 TensorIndexRangeIterator (const IntTuple &start, const IntTuple &fence)
 Constructs a [start, fence) IndexRangeIterator.
 
void init ()
 initialize the iterator
 
bool in_range () const
 returns false if there are no more
 
void next ()
 update current
 
const IntTuplecurrent () const
 current shell set
 
- Public Member Functions inherited from sc::IndexRangeIterator< NDIM >
- Public Member Functions inherited from sc::RefCount
size_t identifier () const
 Return the unique identifier for this object that can be compared for different objects of different types.
 
int lock_ptr () const
 Lock this object.
 
int unlock_ptr () const
 Unlock this object.
 
void use_locks (bool inVal)
 start and stop using locks on this object
 
refcount_t nreference () const
 Return the reference count.
 
refcount_t reference ()
 Increment the reference count and return the new count.
 
refcount_t dereference ()
 Decrement the reference count and return the new count.
 
int managed () const
 Return 1 if the object is managed. Otherwise return 0.
 

Additional Inherited Members

- Protected Member Functions inherited from sc::RefCount
 RefCount (const RefCount &)
 
RefCountoperator= (const RefCount &)
 

Detailed Description

template<int NDIM>
class sc::TensorIndexRangeIterator< NDIM >

TensorIndexRangeIterator is a direct product of shell ranges for each center.

Member Function Documentation

◆ current()

template<int NDIM>
const IntTuple & sc::TensorIndexRangeIterator< NDIM >::current ( ) const
inlinevirtual

current shell set

Implements sc::IndexRangeIterator< NDIM >.

◆ in_range()

template<int NDIM>
bool sc::TensorIndexRangeIterator< NDIM >::in_range ( ) const
inlinevirtual

returns false if there are no more

Implements sc::IndexRangeIterator< NDIM >.

◆ init()

template<int NDIM>
void sc::TensorIndexRangeIterator< NDIM >::init ( )
inlinevirtual

initialize the iterator

Implements sc::IndexRangeIterator< NDIM >.

References sc::TensorIndexRangeIterator< NDIM >::next().

◆ next()

template<int NDIM>
void sc::TensorIndexRangeIterator< NDIM >::next ( )
inlinevirtual

The documentation for this class was generated from the following file:

Generated at Wed Sep 25 2024 02:45:36 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.