A convenience wrapper for accessing the distribution function coefficients over the device. Even-order coefficients can be obtained from vertices, odd-order coefficients from edges. More...
#include <df_wrappers.hpp>
Public Types | |
typedef viennashe::config::dispersion_relation_type | dispersion_relation_type |
typedef SHEQuantityT | she_quantity_type |
Public Member Functions | |
she_df_wrapper (viennashe::config const &conf, SHEQuantityT const &quan) | |
Constructs the wrapper. More... | |
double | operator() (CellType const &cell, double kinetic_energy, std::size_t l, long m, std::size_t index_H_guess=0) const |
Returns an even-order SHE coefficient for the respective carrier on a vertex: More... | |
double | operator() (FacetType const &facet, double kinetic_energy, std::size_t l, long m, std::size_t index_H_guess=0) const |
Returns an even-order SHE coefficient for the respective carrier on an edge: More... | |
template<typename FoldVectorType > | |
void | fill (CellType const &cell, double kin_energy, std::size_t index_H_guess, FoldVectorType &vec) const |
Batch-evaluation: Returns the expansion coefficents computed at the particular vertex for the particular kinetic energy. More... | |
template<typename FoldVectorType > | |
void | fill (FacetType const &facet, double kin_energy, std::size_t index_H_guess, FoldVectorType &vec) const |
Batch-evaluation: Returns the expansion coefficents computed at the particular edge for the particular kinetic energy. More... | |
viennashe::config const & | config () const |
SHEQuantityT const & | quan () const |
dispersion_relation_type const & | dispersion_relation () const |
A convenience wrapper for accessing the distribution function coefficients over the device. Even-order coefficients can be obtained from vertices, odd-order coefficients from edges.
DeviceType | The device type on which to evaluate the distribution function |
VectorType | Vector type used for the SHE result vector. |
Definition at line 107 of file df_wrappers.hpp.
typedef viennashe::config::dispersion_relation_type viennashe::she::she_df_wrapper< DeviceType, SHEQuantityT >::dispersion_relation_type |
Definition at line 120 of file df_wrappers.hpp.
typedef SHEQuantityT viennashe::she::she_df_wrapper< DeviceType, SHEQuantityT >::she_quantity_type |
Definition at line 121 of file df_wrappers.hpp.
|
inline |
Constructs the wrapper.
quan | The SHE quantities |
conf | The simulator configuration |
Definition at line 129 of file df_wrappers.hpp.
|
inline |
Definition at line 218 of file df_wrappers.hpp.
|
inline |
Definition at line 221 of file df_wrappers.hpp.
|
inline |
Batch-evaluation: Returns the expansion coefficents computed at the particular vertex for the particular kinetic energy.
Definition at line 183 of file df_wrappers.hpp.
|
inline |
Batch-evaluation: Returns the expansion coefficents computed at the particular edge for the particular kinetic energy.
Definition at line 202 of file df_wrappers.hpp.
|
inline |
Returns an even-order SHE coefficient for the respective carrier on a vertex:
cell | The cell from which the SHE coefficient should be returned |
kinetic_energy | Kinetic energy |
l | Major (leading) spherical harmonics index |
m | Minor spherical harmonics index |
index_H_guess | The total energy index for starting the search for the best total energy index available. Allows to speed-up evaluation considerably. |
Definition at line 143 of file df_wrappers.hpp.
|
inline |
Returns an even-order SHE coefficient for the respective carrier on an edge:
facet | The facet from which the SHE coefficient should be returned |
kinetic_energy | Kinetic energy |
l | Major (leading) spherical harmonics index |
m | Minor spherical harmonics index |
index_H_guess | Initial guess for the lookup of index_H (optimization purposes...) |
Definition at line 166 of file df_wrappers.hpp.
|
inline |
Definition at line 219 of file df_wrappers.hpp.