Intrepid2
|
A singleton class for a DynRankView containing exactly one zero entry. (Technically, the entry is DataScalar(), the default value for the scalar type.) This allows View-wrapping classes to return a reference to zero, even when that zero is not explicitly stored in the wrapped views. More...
#include <Intrepid2_Data.hpp>
Static Public Member Functions | |
static ScalarView< DataScalar, DeviceType > | zeroView () |
A singleton class for a DynRankView containing exactly one zero entry. (Technically, the entry is DataScalar(), the default value for the scalar type.) This allows View-wrapping classes to return a reference to zero, even when that zero is not explicitly stored in the wrapped views.
This is used by Intrepid2::Data for its getEntry() and getWritableEntry() methods.
Definition at line 42 of file Intrepid2_Data.hpp.