FrictionQPotSpringBlock v0.22.7
|
Go to the source code of this file.
Namespaces | |
namespace | FrictionQPotSpringBlock |
Tensor products / operations. | |
namespace | FrictionQPotSpringBlock::array_type |
Container type. | |
Macros | |
#define | FRICTIONQPOTSPRINGBLOCK_REQUIRE(expr) FRICTIONQPOTSPRINGBLOCK_ASSERT_IMPL(expr, __FILE__, __LINE__) |
Assertions that cannot be disabled. | |
#define | FRICTIONQPOTSPRINGBLOCK_ASSERT(expr) |
All assertions are implementation as: | |
#define | FRICTIONQPOTSPRINGBLOCK_DEBUG(expr) |
Some costly assertions, that are there mostly for debugging, are implemented as: | |
#define | FRICTIONQPOTSPRINGBLOCK_WARNING(message) FRICTIONQPOTSPRINGBLOCK_WARNING_IMPL(message, __FILE__, __LINE__) |
All warnings are implemented as:: | |
#define | FRICTIONQPOTSPRINGBLOCK_WARNING_PYTHON(message) |
All warnings specific to the Python API are implemented as: | |
#define | FRICTIONQPOTSPRINGBLOCK_VERSION "@PROJECT_VERSION@" |
Current version. | |
Typedefs | |
template<typename T , size_t N> | |
using | FrictionQPotSpringBlock::array_type::tensor = xt::xtensor<T, N> |
Fixed (static) rank array. | |
template<typename T > | |
using | FrictionQPotSpringBlock::array_type::array = xt::xarray<T> |
Arbitrary rank array. | |
using | FrictionQPotSpringBlock::size_type = ptrdiff_t |
Type using for size and shapes of arrays. | |
Functions | |
std::string | FrictionQPotSpringBlock::detail::unquote (const std::string &arg) |
Remove quotes from a string. | |
std::string | FrictionQPotSpringBlock::version () |
Return version string, e.g. | |
Definition in file config.h.
#define FRICTIONQPOTSPRINGBLOCK_ASSERT | ( | expr | ) |
All assertions are implementation as:
FRICTIONQPOTSPRINGBLOCK_ASSERT(...)
They can be enabled by:
#define FRICTIONQPOTSPRINGBLOCK_ENABLE_ASSERT
(before including FrictionQPotSpringBlock). The advantage is that:
std::runtime_error |
#define FRICTIONQPOTSPRINGBLOCK_DEBUG | ( | expr | ) |
Some costly assertions, that are there mostly for debugging, are implemented as:
FRICTIONQPOTSPRINGBLOCK_DEBUG(...)
They can be enabled by:
#define FRICTIONQPOTSPRINGBLOCK_ENABLE_DEBUG
(before including FrictionQPotSpringBlock). See also FRICTIONQPOTSPRINGBLOCK_ASSERT.
std::runtime_error |
#define FRICTIONQPOTSPRINGBLOCK_REQUIRE | ( | expr | ) | FRICTIONQPOTSPRINGBLOCK_ASSERT_IMPL(expr, __FILE__, __LINE__) |
#define FRICTIONQPOTSPRINGBLOCK_VERSION "@PROJECT_VERSION@" |
Current version.
Either:
python -c "from setuptools_scm import get_version; print(get_version())"
-DFRICTIONQPOTSPRINGBLOCK_VERSION="`python -c "from setuptools_scm import get_version;print(get_version())"`"
From the root of this project. This is what ``setup.py`` does.Note that both
CMakeLists.txt
and setup.py
will construct the version using setuptools_scm
. Tip: use the environment variable SETUPTOOLS_SCM_PRETEND_VERSION
to overwrite the automatic version. #define FRICTIONQPOTSPRINGBLOCK_WARNING | ( | message | ) | FRICTIONQPOTSPRINGBLOCK_WARNING_IMPL(message, __FILE__, __LINE__) |
#define FRICTIONQPOTSPRINGBLOCK_WARNING_PYTHON | ( | message | ) |