Introduction

‘tmech’ is a C++ library for the numerical study of the physics of continuous materials using higher-order 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 7+ or a recent version of Clang

  • On Windows, MSVC (Visual Studio 2022); all three platforms are exercised in CI

Licensing

This software is licensed under the BSD 3-Clause License. See the LICENSE file for details.

API REFERENCE SYMDIFF