ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::materials::checker Class Reference

Simple checker class for checking whether a certain material is of a given type (conductor, semiconductor, insulator). More...

#include <all.hpp>

Public Member Functions

 checker (material_category_id category)
 
bool operator() (long material_id) const
 

Detailed Description

Simple checker class for checking whether a certain material is of a given type (conductor, semiconductor, insulator).

Uses a runtime dispatch, since this checker is not considered to be performance critical, yet provides the benefit of smaller compilation times.

Definition at line 183 of file all.hpp.

Constructor & Destructor Documentation

◆ checker()

viennashe::materials::checker::checker ( material_category_id  category)
inline

Definition at line 186 of file all.hpp.

Member Function Documentation

◆ operator()()

bool viennashe::materials::checker::operator() ( long  material_id) const
inline

Definition at line 188 of file all.hpp.


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