ViennaGrid - The Vienna Grid Library  2.1.0
Public Types | Public Member Functions | Static Public Member Functions
element< ElementTag, WrappedConfigType > Class Template Reference

The main element class in ViennaGrid, representing vertices, edges, triangles, etc. More...

#include <element.hpp>

Inheritance diagram for element< ElementTag, WrappedConfigType >:
id_handler< viennagrid::detail::result_of::make_id< viennagrid::element< ElementTag, WrappedConfigType >, config::result_of::query_element_id_tag< WrappedConfigType, ElementTag >::type >::type > element_extension< ElementTag >

Public Types

typedef
config::result_of::query_appendix_type
< WrappedConfigType,
ElementTag >::type 
appendix_type
typedef boundary_element_layer
< ElementTag,
bnd_cell_container_typelist
base
typedef
config::result_of::element_boundary_element_container_typelist
< WrappedConfigType,
ElementTag >::type 
bnd_cell_container_typelist
typedef
result_of::boundary_element_typelist
< bnd_cell_container_typelist >
::type 
boundary_cell_typelist
typedef
viennagrid::detail::result_of::const_id
< id_type >::type 
const_id_type
typedef
viennagrid::detail::id_handler
< typename
viennagrid::detail::result_of::make_id
< viennagrid::element
< ElementTag,
WrappedConfigType >, typename
config::result_of::query_element_id_tag
< WrappedConfigType,
ElementTag >::type >::type > 
id_handler_type
typedef
config::result_of::query_element_id_tag
< WrappedConfigType,
ElementTag >::type 
id_tag
typedef
viennagrid::detail::result_of::make_id
< viennagrid::element
< ElementTag,
WrappedConfigType >, id_tag >
::type 
id_type
typedef ElementTag tag
typedef
result_of::container_of_dimension_for_element
< bnd_cell_container_typelist, 0 >
::type::handle_type 
vertex_handle_type

Public Member Functions

appendix_typeappendix ()
appendix_type const & appendix () const
template<typename container_typelist >
 element (viennagrid::collection< container_typelist > &container_collection)
template<typename inserter_type >
void insert_callback (inserter_type &inserter, bool inserted)
void print_orientation ()
void set_vertex (const vertex_handle_type &vertex, unsigned int pos)

Static Public Member Functions

static void print_class ()

Detailed Description

template<typename ElementTag, typename WrappedConfigType>
class viennagrid::element< ElementTag, WrappedConfigType >

The main element class in ViennaGrid, representing vertices, edges, triangles, etc.

Template Parameters:
ElementTagThe element tag
WrappedConfigTypeThe element configuration type (a typemap wrapped inside a class in order to keep type name length under control)

Member Typedef Documentation

typedef config::result_of::query_appendix_type<WrappedConfigType, ElementTag>::type appendix_type
typedef boundary_element_layer<ElementTag, bnd_cell_container_typelist> base
typedef result_of::boundary_element_typelist<bnd_cell_container_typelist>::type boundary_cell_typelist
typedef viennagrid::detail::id_handler< typename viennagrid::detail::result_of::make_id< viennagrid::element< ElementTag, WrappedConfigType >, typename config::result_of::query_element_id_tag<WrappedConfigType, ElementTag>::type >::type > id_handler_type
typedef config::result_of::query_element_id_tag<WrappedConfigType, ElementTag>::type id_tag
typedef viennagrid::detail::result_of::make_id< viennagrid::element<ElementTag, WrappedConfigType>, id_tag>::type id_type
typedef ElementTag tag
typedef result_of::container_of_dimension_for_element< bnd_cell_container_typelist, 0>::type::handle_type vertex_handle_type

Constructor & Destructor Documentation

element ( viennagrid::collection< container_typelist > &  container_collection) [inline]

Member Function Documentation

appendix_type& appendix ( ) [inline]
appendix_type const& appendix ( ) const [inline]
void insert_callback ( inserter_type &  inserter,
bool  inserted 
) [inline]
static void print_class ( ) [inline, static]
void print_orientation ( ) [inline]
void set_vertex ( const vertex_handle_type vertex,
unsigned int  pos 
) [inline]

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