MADNESS  version 0.9
Classes | Namespaces | Macros
tensorexcept.h File Reference

Declares and implements TensorException. More...

#include <iosfwd>
#include <exception>
#include <madness/tensor/basetensor.h>
Include dependency graph for tensorexcept.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  madness::TensorException
 Tensor is intended to throw only TensorExceptions. More...
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 

Macros

#define TENSOR_STRINGIZE(X)   #X
 
#define TENSOR_EXCEPTION_AT(F, L)   TENSOR_STRINGIZE(F) "(" TENSOR_STRINGIZE(L) ")"
 
#define TENSOR_EXCEPTION(msg, value, t)
 
#define TENSOR_ASSERT(condition, msg, value, t)
 

Detailed Description

Declares and implements TensorException.

Macro Definition Documentation

#define TENSOR_ASSERT (   condition,
  msg,
  value,
 
)
#define TENSOR_EXCEPTION (   msg,
  value,
 
)
Value:
throw ::madness::TensorException("TENSOR EXCEPTION: " TENSOR_EXCEPTION_AT( __FILE__, __LINE__ ) ": " msg , \
0,value,t,__LINE__,__FUNCTION__,__FILE__)
#define TENSOR_EXCEPTION_AT(F, L)
Definition: tensorexcept.h:124

Referenced by transform3d().

#define TENSOR_EXCEPTION_AT (   F,
  L 
)    TENSOR_STRINGIZE(F) "(" TENSOR_STRINGIZE(L) ")"
#define TENSOR_STRINGIZE (   X)    #X