Rheolef  7.1
an efficient C++ finite element environment
field_basic< T, M >::iterator

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef vec< T, M >::size_type size_type
 
typedef T value_type
 
typedef Treference
 
typedef Tpointer
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 iterator ()
 
 iterator (iter_t blk_dis_iub_iter, data_t u, data_t b, size_type first_iu, size_type first_ib)
 
 iterator (iter_t blk_dis_iub_iter, size_type blk_dis_iub_incr, data_t u, data_t b, size_type first_iu, size_type first_ib)
 
void set_increment (size_type incr)
 
reference operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator+= (difference_type n)
 
iterator operator+ (difference_type n) const
 
reference operator[] (size_type n) const
 
bool operator== (const iterator &j) const
 
bool operator!= (const iterator &j) const
 

Public Attributes

iter_t _blk_dis_iub_iter
 
size_type _blk_dis_iub_incr
 
data_t _u
 
data_t _b
 
size_type _first_iu
 
size_type _first_ib
 

Protected Types

typedef vec< T, M >::iterator data_t
 
typedef disarray< space_pair_type, M >::const_iterator iter_t
 

Detailed Description

template<class T, class M = rheo_default_memory_model>
class rheolef::field_basic< T, M >::iterator

Definition at line 427 of file field.h.

Member Typedef Documentation

◆ data_t

typedef vec<T,M>::iterator data_t
protected

Definition at line 429 of file field.h.

◆ iter_t

Definition at line 430 of file field.h.

◆ iterator_category

typedef std::forward_iterator_tag iterator_category

Definition at line 435 of file field.h.

◆ size_type

typedef vec<T,M>::size_type size_type

Definition at line 436 of file field.h.

◆ value_type

typedef T value_type

Definition at line 437 of file field.h.

◆ reference

typedef T& reference

Definition at line 438 of file field.h.

◆ pointer

typedef T* pointer

Definition at line 439 of file field.h.

◆ difference_type

typedef std::ptrdiff_t difference_type

Definition at line 440 of file field.h.

Constructor & Destructor Documentation

◆ iterator() [1/3]

iterator ( )

Definition at line 444 of file field.h.

◆ iterator() [2/3]

iterator ( iter_t  blk_dis_iub_iter,
data_t  u,
data_t  b,
size_type  first_iu,
size_type  first_ib 
)

Definition at line 452 of file field.h.

◆ iterator() [3/3]

iterator ( iter_t  blk_dis_iub_iter,
size_type  blk_dis_iub_incr,
data_t  u,
data_t  b,
size_type  first_iu,
size_type  first_ib 
)

Definition at line 460 of file field.h.

Member Function Documentation

◆ set_increment()

void set_increment ( size_type  incr)

Definition at line 469 of file field.h.

◆ operator*()

reference operator* ( ) const

Definition at line 473 of file field.h.

◆ operator++() [1/2]

iterator& operator++ ( )

Definition at line 479 of file field.h.

◆ operator++() [2/2]

iterator operator++ ( int  )

Definition at line 480 of file field.h.

◆ operator+=()

iterator& operator+= ( difference_type  n)

Definition at line 481 of file field.h.

◆ operator+()

iterator operator+ ( difference_type  n) const

Definition at line 482 of file field.h.

◆ operator[]()

reference operator[] ( size_type  n) const

Definition at line 483 of file field.h.

◆ operator==()

bool operator== ( const iterator j) const

Definition at line 487 of file field.h.

◆ operator!=()

bool operator!= ( const iterator j) const

Definition at line 488 of file field.h.

Member Data Documentation

◆ _blk_dis_iub_iter

iter_t _blk_dis_iub_iter

Definition at line 492 of file field.h.

◆ _blk_dis_iub_incr

size_type _blk_dis_iub_incr

Definition at line 493 of file field.h.

◆ _u

data_t _u

Definition at line 494 of file field.h.

◆ _b

data_t _b

Definition at line 495 of file field.h.

◆ _first_iu

size_type _first_iu

Definition at line 496 of file field.h.

◆ _first_ib

size_type _first_ib

Definition at line 496 of file field.h.


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