ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::util::vicinity_filter< DeviceType, ElementTagT, CheckerType > Class Template Reference

A filter returning true if any of the neighboring ncells of dimension 'dim' evaluate to true. More...

#include <filter.hpp>

Public Member Functions

 vicinity_filter (DeviceType const &d, CheckerType const &c)
 
template<typename NCellType >
viennashe::enable_if< detail::is_lesser< NCellType::tag::dim, ElementTagT::dim >::value, bool >::type operator() (NCellType const &cell) const
 
template<typename NCellType >
viennashe::enable_if<(NCellType::tag::dim >ElementTagT::dim), bool >::type operator() (NCellType const &cell) const
 

Detailed Description

template<typename DeviceType, typename ElementTagT, typename CheckerType>
class viennashe::util::vicinity_filter< DeviceType, ElementTagT, CheckerType >

A filter returning true if any of the neighboring ncells of dimension 'dim' evaluate to true.

Definition at line 143 of file filter.hpp.

Constructor & Destructor Documentation

◆ vicinity_filter()

template<typename DeviceType , typename ElementTagT , typename CheckerType >
viennashe::util::vicinity_filter< DeviceType, ElementTagT, CheckerType >::vicinity_filter ( DeviceType const &  d,
CheckerType const &  c 
)
inline

Definition at line 148 of file filter.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename DeviceType , typename ElementTagT , typename CheckerType >
template<typename NCellType >
viennashe::enable_if< detail::is_lesser< NCellType::tag::dim, ElementTagT::dim >::value, bool >::type viennashe::util::vicinity_filter< DeviceType, ElementTagT, CheckerType >::operator() ( NCellType const &  cell) const
inline

Definition at line 154 of file filter.hpp.

◆ operator()() [2/2]

template<typename DeviceType , typename ElementTagT , typename CheckerType >
template<typename NCellType >
viennashe::enable_if<(NCellType::tag::dim >ElementTagT::dim), bool >::type viennashe::util::vicinity_filter< DeviceType, ElementTagT, CheckerType >::operator() ( NCellType const &  cell) const
inline

Definition at line 175 of file filter.hpp.


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