Data Structures | Namespaces | Functions

/export/development/ViennaGrid/release/ViennaGrid-1.0.0/viennagrid/algorithm/boundary.hpp File Reference

Provides the detection and check for boundary n-cells. More...

#include <vector>
#include "viennagrid/forwards.h"
#include "viennagrid/domain.hpp"
#include "viennagrid/detail/element_iterators.hpp"
#include "viennagrid/detail/domain_iterators.hpp"

Go to the source code of this file.

Data Structures

class  boundary_key< T >
 A key type for storing boundary information on n-cells, segments and domains. More...
class  boundary_key< element_t< ConfigType, ElementTag > >
 Specialization for n-cells. More...
class  boundary_key< segment_t< ConfigType > >
 Specialization for segments. More...
class  boundary_key< domain_t< ConfigType > >
 Specialization for domains. More...
struct  key_dispatch< viennagrid::boundary_key< viennagrid::domain_t< ConfigType > > >
struct  boundary_setter< dim >
 Helper struct for setting boundary flag of lower level elements of a facet. More...
struct  boundary_setter< -1 >
 Ends the recursion below the vertex level. More...

Namespaces

namespace  viennagrid
 

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


namespace  viennadata
 

Customizations of keys for ViennaData.


namespace  viennadata::config
 

Customizations of keys for ViennaData.


Functions

template<typename DomainSegmentType , typename KeyType >
void detect_boundary_impl (DomainSegmentType const &seg, KeyType const &key, no_handling_tag)
 Implementation of boundary detection for the case no facets are available. Issues a hopefully useful compiler error.
template<typename DomainSegmentType , typename KeyType >
void detect_boundary_impl (DomainSegmentType const &seg, KeyType const &key, full_handling_tag)
 Implementation of boundary detection. Should not be called by library users.
template<typename DomainSegmentType , typename KeyType >
void detect_boundary (DomainSegmentType const &segment, KeyType const &key)
 Public interface functions for boundary detection. No need to call it explicitly, since it is called by is_boundary().
template<typename ConfigType , typename ElementTag >
bool is_boundary (element_t< ConfigType, ElementTag > const &el, domain_t< ConfigType > const &domain)
 Returns true if a n-cell is located on the boundary of the domain.
template<typename ConfigType , typename ElementTag >
bool is_boundary (element_t< ConfigType, ElementTag > const &el, segment_t< ConfigType > const &segment)
 Returns true if a n-cell is located on the boundary of a segment.

Detailed Description

Provides the detection and check for boundary n-cells.