ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType > Struct Template Reference

An accessor to the electric field on vertices and edges. Potential requiered. More...

#include <electric_field.hpp>

Public Types

typedef viennagrid::result_of::facet< MeshType >::type FacetType
 
typedef viennagrid::result_of::cell< MeshType >::type CellType
 
typedef std::vector< double > value_type
 

Public Member Functions

 electric_field_wrapper (DeviceType const &device, PotentialAccessorType const &potential)
 
double operator() (FacetType const &facet) const
 
value_type operator() (CellType const &cell) const
 

Detailed Description

template<typename DeviceType, typename PotentialAccessorType>
struct viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType >

An accessor to the electric field on vertices and edges. Potential requiered.

Definition at line 97 of file electric_field.hpp.

Member Typedef Documentation

◆ CellType

template<typename DeviceType , typename PotentialAccessorType >
typedef viennagrid::result_of::cell<MeshType>::type viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType >::CellType

Definition at line 107 of file electric_field.hpp.

◆ FacetType

template<typename DeviceType , typename PotentialAccessorType >
typedef viennagrid::result_of::facet<MeshType>::type viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType >::FacetType

Definition at line 106 of file electric_field.hpp.

◆ value_type

template<typename DeviceType , typename PotentialAccessorType >
typedef std::vector<double> viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType >::value_type

Definition at line 109 of file electric_field.hpp.

Constructor & Destructor Documentation

◆ electric_field_wrapper()

template<typename DeviceType , typename PotentialAccessorType >
viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType >::electric_field_wrapper ( DeviceType const &  device,
PotentialAccessorType const &  potential 
)
inline

Definition at line 111 of file electric_field.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename DeviceType , typename PotentialAccessorType >
value_type viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType >::operator() ( CellType const &  cell) const
inline

Definition at line 121 of file electric_field.hpp.

◆ operator()() [2/2]

template<typename DeviceType , typename PotentialAccessorType >
double viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType >::operator() ( FacetType const &  facet) const
inline

Definition at line 113 of file electric_field.hpp.


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