ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT > Class Template Reference

A wrapper for the accessor in viennashe, in order for them to be suitable for viennagrid. More...

#include <add_to_writer.hpp>

Public Types

typedef ValueT value_type
 

Public Member Functions

 viennagrid_accessor_wrapper (AccessorT acc)
 
 viennagrid_accessor_wrapper (viennagrid_accessor_wrapper const &o)
 
template<typename ElementT >
value_type const & at (ElementT const &el) const
 
template<typename ElementT >
value_type const & operator() (ElementT const &el) const
 
template<typename ElementT >
value_type const * find (ElementT const &el) const
 

Detailed Description

template<typename AccessorT, typename ValueT = typename AccessorT::value_type>
class viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >

A wrapper for the accessor in viennashe, in order for them to be suitable for viennagrid.

Warning
The ViennaSHE accessors are held as copies!

Definition at line 46 of file add_to_writer.hpp.

Member Typedef Documentation

◆ value_type

template<typename AccessorT , typename ValueT = typename AccessorT::value_type>
typedef ValueT viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >::value_type

Definition at line 49 of file add_to_writer.hpp.

Constructor & Destructor Documentation

◆ viennagrid_accessor_wrapper() [1/2]

template<typename AccessorT , typename ValueT = typename AccessorT::value_type>
viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >::viennagrid_accessor_wrapper ( AccessorT  acc)
inline

Definition at line 51 of file add_to_writer.hpp.

◆ viennagrid_accessor_wrapper() [2/2]

template<typename AccessorT , typename ValueT = typename AccessorT::value_type>
viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >::viennagrid_accessor_wrapper ( viennagrid_accessor_wrapper< AccessorT, ValueT > const &  o)
inline

Definition at line 52 of file add_to_writer.hpp.

Member Function Documentation

◆ at()

template<typename AccessorT , typename ValueT = typename AccessorT::value_type>
template<typename ElementT >
value_type const & viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >::at ( ElementT const &  el) const
inline

Definition at line 55 of file add_to_writer.hpp.

◆ find()

template<typename AccessorT , typename ValueT = typename AccessorT::value_type>
template<typename ElementT >
value_type const * viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >::find ( ElementT const &  el) const
inline

Definition at line 71 of file add_to_writer.hpp.

◆ operator()()

template<typename AccessorT , typename ValueT = typename AccessorT::value_type>
template<typename ElementT >
value_type const & viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >::operator() ( ElementT const &  el) const
inline

Definition at line 63 of file add_to_writer.hpp.


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