ViennaGrid  1.0.1
Public Types | Public Member Functions
domain_layers< Config, dim, is_cell, STOR > Class Template Reference

Class holding all n-cells of a particular topological dimension n. Uses recursive inheritance similar to n-cells themselves. More...

#include <domain_layers.hpp>

Public Types

typedef Config config_type

Public Member Functions

element_typepush_back (element_type &elem, ElementOrientationType *orientation)
 Adds a n-cell to the domain.
container_type * container (dimension_tag< dim >)
const container_type * container (dimension_tag< dim >) const

Detailed Description

template<typename Config, long dim, bool is_cell = false, typename STOR = typename viennagrid::result_of::bndcell_handling<Config, domain_t<Config>, dim>::type>
class viennagrid::detail::domain_layers< Config, dim, is_cell, STOR >

Class holding all n-cells of a particular topological dimension n. Uses recursive inheritance similar to n-cells themselves.

Template Parameters:
ConfigConfiguration class
dimTopological dimension n of the layer
is_cellHelper flag for resolving ambiguities at cell level
STORThe storage scheme used for this layer

Member Typedef Documentation

typedef Config config_type

Member Function Documentation

container_type* container ( dimension_tag< dim >  ) [inline]
const container_type* container ( dimension_tag< dim >  ) const [inline]
element_type* push_back ( element_type elem,
ElementOrientationType orientation 
) [inline]

Adds a n-cell to the domain.

Parameters:
elemThe n-cell to be added
orientationPointer to a permutation array

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