ViennaGrid - The Vienna Grid Library  2.1.0
Data Structures | Namespaces | Functions
viennagrid/element/element_view.hpp File Reference

Provides routines for extracting the sub-elements of an element (e.g. all edges of a triangle) More...

#include "viennagrid/element/element.hpp"
#include "viennagrid/mesh/mesh.hpp"

Go to the source code of this file.

Data Structures

struct  const_element_view< something, element_type_or_tag, view_container_tag >
 Returns a const view type for the provided element type or tag and the given container type selected for the view. More...
struct  element_view< something, element_type_or_tag, view_container_tag >
 Returns a (non-const) view type for the provided element type or tag and the given container type selected for the view. More...

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces.


namespace  viennagrid::result_of
 

The metafunction layer. Provides type generators that derive the respective type from the mesh configuration.


Functions

template<typename element_type_or_tag , typename something >
result_of::element_view
< something,
element_type_or_tag >::type 
element_view (something &s)
 Returns an empty view object derived from the respective element.
template<typename element_type_or_tag , typename something , typename functor >
result_of::element_view
< something,
element_type_or_tag >::type 
element_view (something &s, functor f)
 Returns a view object derived from the respective mesh or segment. Whenever the provided filter functor evaluates to true for an element, it is added to the view. Non-const version.
template<typename element_type_or_tag , typename something , typename functor >
result_of::const_element_view
< something,
element_type_or_tag >::type 
element_view (something const &s, functor f)
 Returns a view object derived from the respective mesh or segment. Whenever the provided filter functor evaluates to true for an element, it is added to the view. Const version.

Detailed Description

Provides routines for extracting the sub-elements of an element (e.g. all edges of a triangle)