IFEM  90A354
Macros | Functions
Tensor.C File Reference

Representation of second-order tensors with some basic operations. More...

#include "Tensor.h"
#include "Vec3.h"
#include "LAPack.h"
#include <array>
#include <algorithm>
#include <cstring>
Include dependency graph for Tensor.C:

Macros

#define epsZ   1.0e-16
 Zero tolerance for the incremental rotations.
 

Functions

Vec3 operator* (const Tensor &T, const Vec3 &v)
 Multiplication between a Tensor and a point vector. More...
 
Vec3 operator* (const Vec3 &v, const Tensor &T)
 Multiplication between a point vector and transpose of a Tensor. More...
 
Tensor operator* (const Tensor &A, const Tensor &B)
 Multiplication between two Tensors. More...
 
Tensor operator* (Real a, const Tensor &T)
 Multiplication between a scalar and a tensor.
 
SymmTensor operator+ (const SymmTensor &T, Real a)
 Adding a scaled unit tensor to a symmetric tensor.
 
SymmTensor operator- (const SymmTensor &T, Real a)
 Subtracting a scaled unit tensor from a symmetric tensor.
 
SymmTensor operator* (Real a, const SymmTensor &T)
 Multiplication between a scalar and a symmetric tensor.
 
SymmTensor operator* (const SymmTensor &A, const SymmTensor &B)
 Multiplication between two symmetric tensors.
 

Detailed Description

Representation of second-order tensors with some basic operations.

Date
Dec 17 2008
Author
Knut Morten Okstad / SINTEF

Function Documentation

◆ operator*() [1/3]

Tensor operator* ( const Tensor A,
const Tensor B 
)

Multiplication between two Tensors.

Multiplication between two tensors.

◆ operator*() [2/3]

Vec3 operator* ( const Tensor T,
const Vec3 v 
)

Multiplication between a Tensor and a point vector.

Multiplication between a tensor and a point vector.

◆ operator*() [3/3]

Vec3 operator* ( const Vec3 v,
const Tensor T 
)

Multiplication between a point vector and transpose of a Tensor.

Multiplication between a point vector and transpose of a tensor.