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

Provides the detection and check for boundary n-cells at the interface of two segments. More...

#include <vector>
#include "viennagrid/forwards.hpp"
#include "viennagrid/algorithm/norm.hpp"
#include "viennagrid/algorithm/centroid.hpp"
#include "viennagrid/algorithm/boundary.hpp"

Go to the source code of this file.

Data Structures

struct  detect_interface_impl< false >
struct  detect_interface_impl< true >
class  interface_setter_functor< SegmentationT >
 For internal use only. More...

Namespaces

namespace  viennagrid
 

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


namespace  viennagrid::detail
 

Namespace for implementation details. Not intended to be used directly by a library user.


Functions

template<typename SegmentationT , typename AccessorT >
void detect_interface (segment_handle< SegmentationT > &seg0, segment_handle< SegmentationT > &seg1, AccessorT accessor)
 For internal use only.
template<typename SegmentationT >
void detect_interface (segment_handle< SegmentationT > &seg0, segment_handle< SegmentationT > &seg1)
 Public interface function for the detection of interface n-cells between two segments. No need to call this function explicitly, since it is called by is_interface()
template<typename ElementT , typename AccessorT >
bool is_interface (AccessorT const accessor, ElementT const &el)
 For internal use only.
template<typename SegmentationT , typename ElementT >
bool is_interface (segment_handle< SegmentationT > const &seg0, segment_handle< SegmentationT > const &seg1, ElementT const &element)
 Returns true if the n-cell is located at the interface between two segments.
template<typename SegmentationT >
void transfer_interface_information (segment_handle< SegmentationT > &seg0, segment_handle< SegmentationT > &seg1)
 For internal use only.

Detailed Description

Provides the detection and check for boundary n-cells at the interface of two segments.