Model of TotalGridFunction. More...
#include </home/guntram/tmp/GrAL/gral/base/include/Gral/Base/grid-function-hash.h>
Public Types | |
typedef total_grid_function_category | category |
typedef element_traits< E > | et1 |
typedef et1::ElementIterator | ElementIterator |
typedef base_gf::grid_type | grid_type |
typedef base_gf::reference | reference |
typedef base_gf::const_reference | const_reference |
Public Member Functions | |
grid_function_hash (const grid_type &gg) | |
grid_function_hash (const grid_type &gg, const T &t) | |
grid_function_hash (ref_ptr< grid_type const > gg) | |
grid_function_hash (ref_ptr< grid_type const > gg, const T &t) | |
ElementIterator | FirstElement () const |
ElementIterator | EndElement () const |
void | set_value (T const &t) |
void | init (ref_ptr< grid_type const > gg, const T &t) |
void | init (const grid_type &gg, const T &t) |
const_reference | operator() (const E &e) const |
Read-only access. | |
reference | operator[] (const E &e) |
Write access. |
Model of TotalGridFunction.
Definition at line 184 of file grid-function-hash.h.
void GrAL::grid_function_hash< E, T >::set_value | ( | T const & | t | ) | [inline] |
Set all value to t
.
Definition at line 222 of file grid-function-hash.h.
reference GrAL::grid_function_hash< E, T >::operator[] | ( | const E & | e | ) | [inline] |
Write access.
!defined(e)
, a new entry is created! Use operator() for read-only access. Definition at line 251 of file grid-function-hash.h.