Russell Tensor - Tensor analysis, calculus, and functions for continuum mechanics
This crate is part of Russell - Rust Scientific Library
Contents
Introduction
This library implements structures and functions for tensor analysis and calculus. The library focuses on applications in engineering and Continuum Mechanics. The essential functionality for the targeted applications includes second-order and fourth-order tensors, scalar "invariants," and derivatives.
This library implements derivatives for scalar functions with respect to tensors, tensor functions with respect to tensors, and others. A convenient basis representation known as Mandel basis (similar to Voigt notation) is considered by this library internally. The user may also use the Mandel basis to perform simpler matrix-vector operations directly.
Documentation
Installation
This crate depends on some non-rust high-performance libraries. See the main README file for the steps to install these dependencies.
Setting Cargo.toml
👆 Check the crate version and update your Cargo.toml accordingly:
[]
= "*"
Optional features
The following (Rust) features are available:
intel_mkl: Use Intel MKL instead of OpenBLAS
Note that the main README file presents the steps to compile the required libraries according to each feature.
🌟 Examples
This section illustrates how to use russell_tensor. See also:
Allocating Second Order Tensors
use ;
For developers
- This crate is pure Rust with no C dependencies
- Run the examples with
cargo run --example <name>