#include <SymmTensor.hpp>

Inheritance diagram for Opm::SymmTensor< T >:
Inheritance graph

Public Types

using field_type = T
 

Public Member Functions

 SymmTensor ()=default
 
 SymmTensor (std::initializer_list< T > value)
 
void operator+= (const T data)
 
void operator+= (const SymmTensor< T > &data)
 
void operator*= (const T data)
 
SymmTensor< T > & operator= (const T value)
 
void reset ()
 
trace () const
 
traction (const Dune::FieldVector< T, 3 > &normal) const
 
const T & operator[] (const VoigtIndex idx) const
 
T & operator[] (const VoigtIndex idx)
 
constexpr std::size_t size () const
 

Static Public Attributes

static constexpr auto indices
 
static constexpr auto unique_indices
 
static constexpr auto diag_indices
 

Protected Attributes

std::array< T, 6 > data_ {}
 

Member Typedef Documentation

◆ field_type

template<class T >
using Opm::SymmTensor< T >::field_type = T

Constructor & Destructor Documentation

◆ SymmTensor() [1/2]

template<class T >
Opm::SymmTensor< T >::SymmTensor ( )
default

◆ SymmTensor() [2/2]

template<class T >
Opm::SymmTensor< T >::SymmTensor ( std::initializer_list< T >  value)
inline

Member Function Documentation

◆ operator*=()

template<class T >
void Opm::SymmTensor< T >::operator*= ( const T  data)

◆ operator+=() [1/2]

template<class T >
void Opm::SymmTensor< T >::operator+= ( const SymmTensor< T > &  data)

◆ operator+=() [2/2]

template<class T >
void Opm::SymmTensor< T >::operator+= ( const T  data)

◆ operator=()

template<class T >
SymmTensor< T > & Opm::SymmTensor< T >::operator= ( const T  value)

◆ operator[]() [1/2]

template<class T >
T & Opm::VoigtContainer< T >::operator[] ( const VoigtIndex  idx)
inlineinherited

◆ operator[]() [2/2]

template<class T >
const T & Opm::VoigtContainer< T >::operator[] ( const VoigtIndex  idx) const
inlineinherited

◆ reset()

template<class T >
void Opm::SymmTensor< T >::reset ( )

◆ size()

template<class T >
constexpr std::size_t Opm::VoigtContainer< T >::size ( ) const
inlineconstexprinherited

◆ trace()

template<class T >
T Opm::SymmTensor< T >::trace ( ) const

◆ traction()

template<class T >
T Opm::SymmTensor< T >::traction ( const Dune::FieldVector< T, 3 > &  normal) const

Member Data Documentation

◆ data_

template<class T >
std::array<T, 6> Opm::VoigtContainer< T >::data_ {}
protectedinherited

◆ diag_indices

template<class T >
constexpr auto Opm::VoigtContainer< T >::diag_indices
staticconstexprinherited

◆ indices

◆ unique_indices

template<class T >
constexpr auto Opm::VoigtContainer< T >::unique_indices
staticconstexprinherited

The documentation for this class was generated from the following file: