Maps a C-array to an element based accessor. Uses element.id() as an index to the C-array.
More...
#include <viennashe_all.hpp>
|
| array_to_accessor (double *vals) |
|
template<typename ElementT > |
double | operator() (ElementT const &elem) const |
|
template<typename ElementT > |
double | get_value (ElementT const &elem) const |
|
template<typename ElementT > |
double | at (ElementT const &elem) const |
|
Maps a C-array to an element based accessor. Uses element.id() as an index to the C-array.
Definition at line 95 of file viennashe_all.hpp.
◆ array_to_accessor()
libviennashe::array_to_accessor::array_to_accessor |
( |
double * |
vals | ) |
|
|
inline |
◆ at()
template<typename ElementT >
double libviennashe::array_to_accessor::at |
( |
ElementT const & |
elem | ) |
const |
|
inline |
◆ get_value()
template<typename ElementT >
double libviennashe::array_to_accessor::get_value |
( |
ElementT const & |
elem | ) |
const |
|
inline |
◆ operator()()
template<typename ElementT >
double libviennashe::array_to_accessor::operator() |
( |
ElementT const & |
elem | ) |
const |
|
inline |
The documentation for this class was generated from the following file: