GMatElastoPlasticQPot 0.18.3
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
7#ifndef GMATELASTOPLASTICQPOT_CONFIG_H
8#define GMATELASTOPLASTICQPOT_CONFIG_H
9
27#ifdef GMATELASTOPLASTICQPOT_ENABLE_ASSERT
28#define GMATELASTOPLASTICQPOT_ASSERT(expr) GMATTENSOR_ASSERT_IMPL(expr, __FILE__, __LINE__)
29#else
30#define GMATELASTOPLASTICQPOT_ASSERT(expr)
31#endif
32
36namespace GMatElastoPlasticQPot {
37
44namespace array_type {
45
46#ifdef GMATELASTOPLASTICQPOT_USE_XTENSOR_PYTHON
47
51template <typename T, size_t N>
52using tensor = xt::pytensor<T, N>;
53
54#else
55
59template <typename T, size_t N>
60using tensor = xt::xtensor<T, N>;
61
62#endif
63
64} // namespace array_type
65
66} // namespace GMatElastoPlasticQPot
67
68#endif
xt::xtensor< T, N > tensor
Fixed (static) rank array.
Definition: config.h:60
Material model based on a sequence of parabolic potentials.
Definition: Cartesian2d.h:28