|
criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
|
Class that represents a rank 2 tensor. More...
#include <algorithm>#include <cassert>#include <cmath>#include <vector>#include "Types.H"#include "Vec3.H"#include "gsl/gsl_eigen.h"#include "gsl/gsl_matrix.h"#include "gsl/gsl_vector.h"Go to the source code of this file.
Classes | |
| class | criptic::RealTensor2 |
| Class that represents a rank 2 tensor. More... | |
| struct | criptic::TNBBasis |
| Structure to hold TNB basis data. More... | |
Namespaces | |
| namespace | criptic |
| The primary namespace for criptic objects. | |
Functions | |
| criptic::RealTensor2 | criptic::operator+ (const criptic::Real a, const criptic::RealTensor2 &t) |
| Add a scalar and a RealTensor2 elementwise. | |
| criptic::RealTensor2 | criptic::operator- (const criptic::Real a, const criptic::RealTensor2 &t) |
| Subtract a scalar from a RealTensor2 elementwise. | |
| criptic::RealTensor2 | criptic::operator* (const criptic::Real a, const criptic::RealTensor2 &t) |
| Multiply a scalar by a RealTensor2 elementwise. | |
| criptic::RealTensor2 | criptic::operator/ (const criptic::Real a, const criptic::RealTensor2 &t) |
| Divide a RealTensor2 by a scalar elementwise. | |
| criptic::RealTensor2 | criptic::outer (const criptic::RealVec &v1, const criptic::RealVec &v2) |
| Compute the outer product of two RealVec objects. | |
| TNBBasis | criptic::TNBVectors (const RealVec &v, const RealTensor2 &vGrad) |
| Compute tangent, normal, and binormal vectors. | |
Variables | |
| static const criptic::RealTensor2 | criptic::zeroTensor (0, 0, 0, 0, 0, 0, 0, 0, 0) |
| static const criptic::RealTensor2 | criptic::identityTensor (1, 0, 0, 0, 1, 0, 0, 0, 1) |
Class that represents a rank 2 tensor.
This class represents a tensor of rank 2 in 3-space, and provides basic tensor algebra operations.