https://mooseframework.inl.gov
Classes | Namespaces | Functions
RankFourTensor.h File Reference

Go to the source code of this file.

Classes

class  libMesh::TensorValue< T >
 
class  libMesh::TypeTensor< T >
 
class  libMesh::VectorValue< T >
 
class  RankFourTensorTempl< T >
 RankFourTensorTempl is designed to handle any N-dimensional fourth order tensor, C. More...
 
struct  RankFourTensorTempl< T >::TwoTensorMultTraits< Tensor, Scalar >
 
struct  RankFourTensorTempl< T >::TwoTensorMultTraits< RankTwoTensorTempl, Scalar >
 
struct  RankFourTensorTempl< T >::TwoTensorMultTraits< TensorValue, Scalar >
 
struct  RankFourTensorTempl< T >::TwoTensorMultTraits< TypeTensor, Scalar >
 
struct  MetaPhysicL::RawType< RankFourTensorTempl< T > >
 

Namespaces

 libMesh
 The following methods are specializations for using the libMesh::Parallel::packed_range_* routines for std::strings.
 
 MathUtils
 
 MetaPhysicL
 We need to instantiate the following CompareTypes to tell the compiler that ADReal is a subtype of ChainedADReal.
 

Functions

template<typename T >
void MathUtils::mooseSetToZero (T &v)
 Helper function templates to set a variable to zero. More...
 
template<>
void MathUtils::mooseSetToZero< RankFourTensor > (RankFourTensor &v)
 Helper function template specialization to set an object to zero. More...
 
template<>
void MathUtils::mooseSetToZero< ADRankFourTensor > (ADRankFourTensor &v)
 
template<typename T1 , typename T2 >
auto operator* (const T1 &a, const RankFourTensorTempl< T2 > &b) -> typename std::enable_if< libMesh::ScalarTraits< T1 >::value, RankFourTensorTempl< decltype(T1() *T2())>>::type
 

Function Documentation

◆ operator*()

template<typename T1 , typename T2 >
auto operator* ( const T1 &  a,
const RankFourTensorTempl< T2 > &  b 
) -> typename std::enable_if<libMesh::ScalarTraits<T1>::value, RankFourTensorTempl<decltype(T1() * T2())>>::type
inline

Definition at line 562 of file RankFourTensor.h.

565 {
566  return b * a;
567 }