deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Namespaces | Functions
notation.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/numbers.h>
#include <deal.II/base/symmetric_tensor.h>
#include <deal.II/base/tensor.h>
#include <deal.II/lac/full_matrix.h>
#include <deal.II/lac/vector.h>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  Physics
 
namespace  Physics::Notation
 
namespace  Physics::Notation::Kelvin
 A namespace with functions that assist in the conversion of vectors and tensors to and from a compressed format using Kelvin notation and weighting.
 

Functions

static ::ExceptionBasePhysics::Notation::Kelvin::ExcNotationExcFullMatrixToTensorRowSize2 (int arg1, int arg2, int arg3)
 
static ::ExceptionBasePhysics::Notation::Kelvin::ExcNotationExcFullMatrixToTensorRowSize3 (int arg1, int arg2, int arg3, int arg4)
 
static ::ExceptionBasePhysics::Notation::Kelvin::ExcNotationExcFullMatrixToTensorColSize2 (int arg1, int arg2, int arg3)
 
static ::ExceptionBasePhysics::Notation::Kelvin::ExcNotationExcFullMatrixToTensorColSize3 (int arg1, int arg2, int arg3, int arg4)
 
Forward operation: Tensor notation to Kelvin notation
template<typename Number >
Vector< Number > Physics::Notation::Kelvin::to_vector (const Number &s)
 
template<int dim, typename Number >
Vector< Number > Physics::Notation::Kelvin::to_vector (const Tensor< 0, dim, Number > &s)
 
template<int dim, typename Number >
Vector< Number > Physics::Notation::Kelvin::to_vector (const Tensor< 1, dim, Number > &v)
 
template<int dim, typename Number >
Vector< Number > Physics::Notation::Kelvin::to_vector (const Tensor< 2, dim, Number > &t)
 
template<int dim, typename Number >
Vector< Number > Physics::Notation::Kelvin::to_vector (const SymmetricTensor< 2, dim, Number > &st)
 
template<typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const Number &s)
 
template<int dim, typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const Tensor< 0, dim, Number > &s)
 
template<int dim, typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const Tensor< 1, dim, Number > &v)
 
template<int dim, typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const Tensor< 2, dim, Number > &t)
 
template<int dim, typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const SymmetricTensor< 2, dim, Number > &st)
 
template<int dim, typename SubTensor1 = Tensor<2, dim>, typename SubTensor2 = Tensor<1, dim>, typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const Tensor< 3, dim, Number > &t)
 
template<int dim, typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const Tensor< 4, dim, Number > &t)
 
template<int dim, typename Number >
FullMatrix< Number > Physics::Notation::Kelvin::to_matrix (const SymmetricTensor< 4, dim, Number > &st)
 
Reverse operation: Kelvin notation to tensor notation
template<typename Number >
void Physics::Notation::Kelvin::to_tensor (const Vector< Number > &vec, Number &s)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const Vector< Number > &vec, Tensor< 0, dim, Number > &s)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const Vector< Number > &vec, Tensor< 1, dim, Number > &v)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const Vector< Number > &vec, Tensor< 2, dim, Number > &t)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const Vector< Number > &vec, SymmetricTensor< 2, dim, Number > &st)
 
template<typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, Number &s)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, Tensor< 0, dim, Number > &s)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, Tensor< 1, dim, Number > &v)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, Tensor< 2, dim, Number > &t)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, SymmetricTensor< 2, dim, Number > &st)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, Tensor< 3, dim, Number > &t)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, Tensor< 4, dim, Number > &t)
 
template<int dim, typename Number >
void Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &mtrx, SymmetricTensor< 4, dim, Number > &st)
 
template<typename TensorType , typename Number >
TensorType Physics::Notation::Kelvin::to_tensor (const Vector< Number > &vec)
 
template<typename TensorType , typename Number >
TensorType Physics::Notation::Kelvin::to_tensor (const FullMatrix< Number > &vec)