#include <grid-function-vector.h>
Inheritance diagram for grid_function_vector:
Public Types | |
typedef vector< T > | table_type |
typedef table_type::size_type | size_type |
typedef element_traits< E > | et |
typedef E | element_type |
typedef et::ElementIterator | ElementIterator |
typedef et::handle_type | element_handle |
typedef et::grid_type | grid_type |
typedef E const & | argument_type |
typedef T const & | result_type |
typedef grid_function_vector< E, T > | gfc2dv |
typedef table_type::iterator | iter |
typedef table_type::const_iterator | const_iter |
typedef iter | iterator |
typedef const_iter | const_iterator |
typedef T | value_type |
Public Methods | |
grid_function_vector () | |
grid_function_vector (const grid_type &gg) | |
grid_function_vector (const grid_type &gg, const T &t) | |
grid_function_vector (const gfc2dv &rs) | |
gfc2dv & | operator= (const gfc2dv &rs) |
void | set_grid (const grid_type &gg) |
void | rebind (const grid_type &gg) |
void | resize (size_type n) |
const grid_type & | TheGrid () const |
ElementIterator | FirstElement () const |
const T & | operator() (const E &e) const |
T & | operator[] (const E &e) |
const T & | operator[] (const E &e) const |
const T & | operator() (const element_handle &e) const |
T & | operator[] (const element_handle &e) |
unsigned | size () const |
iter | begin () |
iter | end () |
const_iter | begin () const |
const_iter | end () const |
Protected Attributes | |
grid_type const * | g |
table_type | table |
This can be used if elements of type E are numbered consecutively.
Example:
class MyVertex; // vertex_handle is consecutive integer template<class T> class grid_function<MyVertex, T> : public grid_function_vector<MyVertex,T> { // repeat constructors };
Definition at line 39 of file grid-function-vector.h.