Introduction¶
‘tmech’ is a C++ library for the numerical study of the physics of continuous materials using higher-oder tensors.
tmech provides
an extensible expression system enabling lazy evaluation.
tmech is a high quality tensor algebra library for the C++ language, aiming towards a good balance between speed and ease of use.
Integer and floating point numbers are fully supported, complex numbers are supported only for basic arithmetic operations.
Provides high-level syntax and functionality for easy use.
Can be used for solid mechanics, fluid mechanics, …
isotropic tensor functions.
compile-time differentiation of scalar and tensorial expressions
many more…
tmech requires a modern C++ compiler supporting C++17. The following C++ compilers are supported:
On Unix platforms, gcc 5 or a recent version of Clang
On Windows platforms not tested
Licensing¶
This software is licensed under the Apache License, Version 2.0. See the LICENSE file for details.
QUICK REFERENCE TMECH
- Basic arithmetic
- Basis rearrangement
- Outer product
- Inner product
- Invers of a tensor
- Volumetric and deviatoric parts
- Symmetric and skew-symmetric parts
- Isotropic tensor functions
- Positive-negative decomposition
- Eigen-decomposition
- Sign decomposition
- Polar decomposition
- Exponential map
- Numerical differentiation
- Compare Operators
- Adapting pointers of raw memory
- Converting to Voigt’s notation
API REFERENCE TMECH