50 namespace IterationPack {
56 ,
"IterQuantity::assert_has_storage_k(offset) : There is not storage available for "
57 <<
name() <<
" for the k" << std::showpos << offset <<
" iteration" );
64 ,
"IterQuantity::assert_updated_k(offset) : The interation quantity " <<
name()
65 <<
" has not been been updated for the k" << std::showpos << offset
66 <<
" iteration yet." );
void assert_updated_k(int offset) const
Assert updated_k(offset) == true (throw QuanityNotSet).
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
virtual const char * name() const =0
Return the name (zero terminated string) of this quantity.
void assert_has_storage_k(int offset) const
Assert has_storage_k(offset) == true (throw NoStorageAvailable).
Thrown when memory access is attempted when it has not yet been updated.
virtual bool has_storage_k(int offset) const =0
Determine if there is storage advailable for the k offset iteration quanity.
Thrown memory if attempted to be set that storage can not be allocated to.
virtual bool updated_k(int offset) const =0
Determine if the quanity for the k offset iteration has been accessed by a call to set_k() (see IterQ...