Provides the detection and check for boundary n-cells at the interface of two segments. More...
#include <vector>
#include "viennagrid/forwards.h"
#include "viennagrid/detail/element_iterators.hpp"
#include "viennagrid/detail/domain_iterators.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 | |
class | interface_key |
A key used for ViennaData in order to store interface information. More... | |
struct | interface_setter< dim > |
Helper struct for setting interface flag of boundary k-cells of a facet. More... | |
struct | interface_setter< -1 > |
Specialization that stops recursion below the vertex level. More... | |
Namespaces | |
namespace | viennagrid |
The main ViennaGrid namespace. Most functionality resides in this namespace. | |
Functions | |
template<typename SegmentType , typename KeyType > | |
void | detect_interface_impl (SegmentType const &seg1, SegmentType const &seg2, KeyType const &key, no_handling_tag) |
A guard that forces a compile time error if no facets are available (i.e. disabled). | |
template<typename SegmentType , typename KeyType > | |
void | detect_interface_impl (SegmentType const &seg1, SegmentType const &seg2, KeyType const &key, full_handling_tag) |
Implementation of interface facet detection with complexity O(N log(N)), where N is the number of facets in both segments. | |
template<typename SegmentType , typename KeyType > | |
void | detect_interface (SegmentType const &seg1, SegmentType const &seg2, KeyType const &key) |
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 ConfigType , typename ElementTag > | |
bool | is_interface (element_t< ConfigType, ElementTag > const &el, segment_t< ConfigType > const &seg1, segment_t< ConfigType > const &seg2) |
Returns true if the n-cell is located at the interface between two segments. |
Provides the detection and check for boundary n-cells at the interface of two segments.