Octopus
lattice_vectors_oct_m::lattice_iterator_t Interface Reference

The following class implements a lattice iterator. It allows one to loop over all cells that are within a certain range. At the moment this range is determined using a norm-1. More...

Detailed Description

The following class implements a lattice iterator. It allows one to loop over all cells that are within a certain range. At the moment this range is determined using a norm-1.

Definition at line 171 of file lattice_vectors.F90.

Public Attributes

integer, public n_cells = 0
 

Private Member Functions

procedure copy => lattice_iterator_copy
 
generic assignment => copy
 
procedure get => lattice_iterator_get
 
final lattice_iterator_finalize
 
type(lattice_iterator_t) function lattice_iterator_constructor (latt, range)
 

Private Attributes

integer, dimension(:,:), allocatable icell
 
type(lattice_vectors_t), pointer latt => NULL()
 

Member Function/Subroutine Documentation

◆ copy()

procedure lattice_vectors_oct_m::lattice_iterator_t::copy
private

Definition at line 177 of file lattice_vectors.F90.

◆ assignment()

generic lattice_vectors_oct_m::lattice_iterator_t::assignment
private

Definition at line 178 of file lattice_vectors.F90.

◆ get()

procedure lattice_vectors_oct_m::lattice_iterator_t::get
private

Definition at line 179 of file lattice_vectors.F90.

◆ lattice_iterator_finalize()

final lattice_vectors_oct_m::lattice_iterator_t::lattice_iterator_finalize
finalprivate

Definition at line 180 of file lattice_vectors.F90.

◆ lattice_iterator_constructor()

type(lattice_iterator_t) function lattice_vectors_oct_m::lattice_iterator_t::lattice_iterator_constructor ( type(lattice_vectors_t), intent(in), target  latt,
real(real64), intent(in)  range 
)
private

Definition at line 768 of file lattice_vectors.F90.

Member Data Documentation

◆ n_cells

integer, public lattice_vectors_oct_m::lattice_iterator_t::n_cells = 0

Definition at line 173 of file lattice_vectors.F90.

◆ icell

integer, dimension(:,:), allocatable lattice_vectors_oct_m::lattice_iterator_t::icell
private

Definition at line 174 of file lattice_vectors.F90.

◆ latt

type(lattice_vectors_t), pointer lattice_vectors_oct_m::lattice_iterator_t::latt => NULL()
private

Definition at line 175 of file lattice_vectors.F90.


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