Data Structures | Namespaces | Functions

/export/development/ViennaGrid/release/ViennaGrid-1.0.0/viennagrid/detail/segment_iterators.hpp File Reference

Provides the iterators and ranges for segments. More...

#include <vector>
#include <list>
#include <map>
#include <stack>
#include "viennagrid/forwards.h"
#include "viennagrid/detail/domain_iterators.hpp"
#include "viennagrid/detail/element_iterators.hpp"
#include "viennagrid/segment.hpp"

Go to the source code of this file.

Data Structures

class  on_segment_iterator< IteratorType, ElementType >
 Iterator for non-const iteration over n-cells of a segment. More...
class  const_on_segment_iterator< IteratorType, ElementType >
 Iterator for const iteration over n-cells of a segment. More...
struct  segment_iterators< Config, cell_level, cell_level >
 Segment iterator type retrieval for cells. More...
class  ncell_range< segment_t< config_type >, dim, false >
 Main range class (non-const). Specialization for use with iteration or access to k-cells of a segment. More...
class  const_ncell_range< segment_t< config_type >, dim, false >
 Main const-range class. Specialization for use with const iteration or const access to k-cells of a segment. More...

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most functionality resides in this namespace.


Functions

template<long dim, typename DomainConfig >
ncell_range< segment_t
< DomainConfig >, dim > 
ncells (segment_t< DomainConfig > &d)
 Main function for range retrieval. Specialization for iteration over n-cells of a segment.
template<typename DomainConfig >
ncell_proxy< segment_t
< DomainConfig > > 
ncells (segment_t< DomainConfig > &d)
 Main function for range retrieval. Specialization for iteration over n-cells of a segment. Returns only a proxy that must be assigned to a range object.
template<long dim, typename DomainConfig >
const_ncell_range< segment_t
< DomainConfig >, dim > 
ncells (segment_t< DomainConfig > const &d)
 Main function for range retrieval. Specialization for iteration over n-cells of a segment.
template<typename DomainConfig >
const_ncell_proxy< segment_t
< DomainConfig > > 
ncells (segment_t< DomainConfig > const &d)
 Main function for const-range retrieval. Specialization for iteration over n-cells of a segment. Returns only a proxy that must be assigned to a range object.

Detailed Description

Provides the iterators and ranges for segments.