Public Types | Public Member Functions

ncell_range< element_t< config_type, tag >, dim, false > Class Template Reference

The main non-const range object for iteration or direct access of boundary k-cells of a n-cell. More...

#include <element_iterators.hpp>

Public Types

typedef on_element_iterator
< element_type
iterator

Public Member Functions

 ncell_range ()
 ncell_range (ncell_proxy< host_type > const &p)
 ncell_range (host_type &e)
ncell_range & operator= (ncell_proxy< host_type > p)
iterator begin () const
iterator end () const
element_typeoperator[] (std::size_t index) const
 Provide direct random-access to boundary cells.
std::size_t size () const
 Returns the number of k-cells.

Detailed Description

template<typename config_type, typename tag, long dim>
class viennagrid::ncell_range< element_t< config_type, tag >, dim, false >

The main non-const range object for iteration or direct access of boundary k-cells of a n-cell.

Template Parameters:
config_type Configuration class
tag Tag identifying the n-cell
dim Topological dimension of the requested k-cells

Member Typedef Documentation


Constructor & Destructor Documentation

ncell_range (  )  [inline]
ncell_range ( ncell_proxy< host_type > const &  p  )  [inline]
ncell_range ( host_type e  )  [inline]

Member Function Documentation

iterator begin (  )  const [inline]
iterator end (  )  const [inline]
ncell_range& operator= ( ncell_proxy< host_type p  )  [inline]
element_type& operator[] ( std::size_t  index  )  const [inline]

Provide direct random-access to boundary cells.

std::size_t size (  )  const [inline]

Returns the number of k-cells.


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