|
FrictionQPotFEM 0.23.3
|
Macros used in the library. More...
#include <algorithm>#include <string>#include <xtensor/xtensor.hpp>

Go to the source code of this file.
Classes | |
| struct | GMatTensor::allocate< RANK, T > |
| Helper to allocate 'output' which is of the same type of some 'input', but of a different rank. More... | |
Namespaces | |
| namespace | GMatTensor |
| Tensor products / operations. | |
| namespace | GMatTensor::array_type |
| Container type. | |
Macros | |
| #define | GMATTENSOR_ASSERT(expr) |
| All assertions are implementation as: More... | |
Typedefs | |
| template<typename T , size_t N> | |
| using | GMatTensor::array_type::tensor = xt::xtensor< T, N > |
| Fixed (static) rank array. More... | |
Macros used in the library.
Definition in file config.h.
| #define GMATTENSOR_ASSERT | ( | expr | ) |
All assertions are implementation as:
GMATTENSOR_ASSERT(...)
They can be enabled by:
#define GMATTENSOR_ENABLE_ASSERT
(before including GMatTensor). The advantage is that:
| std::runtime_error |