Namespaces | Functions
Marmot::ContinuumMechanics::TensorUtility Namespace Reference

Namespaces

 IndexNotation
 

Functions

constexpr int d (int a, int b)
 
template<int x, int y, typename T , typename = std::enable_if< !std::is_const< std::remove_reference< T > >::value >>
auto as (T &t)
 
template<int x, int y, typename T , typename = void>
auto as (const T &t)
 
template<typename Derived , typename = std::enable_if< !std::is_const< std::remove_reference< Derived > >::value >>
auto flatten (Derived &t)
 
template<typename Derived , typename = void>
auto flatten (const Derived &t)
 
Eigen::Matrix3d dyadicProduct (const Eigen::Vector3d &vector1, const Eigen::Vector3d &vector2)
 

Function Documentation

◆ d()

constexpr int Marmot::ContinuumMechanics::TensorUtility::d ( int  a,
int  b 
)
constexpr

◆ as() [1/2]

template<int x, int y, typename T , typename = std::enable_if< !std::is_const< std::remove_reference< T > >::value >>
auto Marmot::ContinuumMechanics::TensorUtility::as ( T &  t)

◆ as() [2/2]

template<int x, int y, typename T , typename = void>
auto Marmot::ContinuumMechanics::TensorUtility::as ( const T &  t)

◆ flatten() [1/2]

template<typename Derived , typename = std::enable_if< !std::is_const< std::remove_reference< Derived > >::value >>
auto Marmot::ContinuumMechanics::TensorUtility::flatten ( Derived &  t)

◆ flatten() [2/2]

template<typename Derived , typename = void>
auto Marmot::ContinuumMechanics::TensorUtility::flatten ( const Derived &  t)

◆ dyadicProduct()

Eigen::Matrix3d Marmot::ContinuumMechanics::TensorUtility::dyadicProduct ( const Eigen::Vector3d &  vector1,
const Eigen::Vector3d &  vector2 
)