Russell Tensor - Tensor analysis, calculus, and functions for continuum mechanics
This crate is part of Russell - Rust Scientific Library
Contents
Introduction
This crate implements structures and functions to perform tensor analysis in continuum mechanics. We give focus to second and fourth order tensors expressed by their components placed in a vector or matrix. We also consider the Mandel basis.
Documentation:
Installation
At this moment, Russell works on Linux (Debian/Ubuntu; and maybe Arch). It has some limited functionality on macOS too. In the future, we plan to enable Russell on Windows; however, this will take time because some essential libraries are not easily available on Windows.
TLDR (Debian/Ubuntu/Linux)
First:
Then:
Details
This crate depends on russell_lab, which, in turn, depends on an efficient BLAS library such as OpenBLAS and Intel MKL.
The root README file presents the steps to install the required dependencies.
Setting Cargo.toml
👆 Check the crate version and update your Cargo.toml accordingly:
[]
= "*"
Or, considering the optional features (see more about these here):
[]
= { = "*", = ["intel_mkl"] }
Examples
Allocating Second Order Tensors
use ;