www.mooseframework.org
Public Types | Static Public Member Functions | List of all members
MetaPhysicL::RawType< RankFourTensorTempl< T > > Struct Template Reference

#include <RankFourTensor.h>

Public Types

typedef RankFourTensorTempl< typename RawType< T >::value_typevalue_type
 

Static Public Member Functions

static value_type value (const RankFourTensorTempl< T > &in)
 

Detailed Description

template<typename T>
struct MetaPhysicL::RawType< RankFourTensorTempl< T > >

Definition at line 511 of file RankFourTensor.h.

Member Typedef Documentation

◆ value_type

template<typename T >
typedef RankFourTensorTempl<typename RawType<T>::value_type> MetaPhysicL::RawType< RankFourTensorTempl< T > >::value_type

Definition at line 513 of file RankFourTensor.h.

Member Function Documentation

◆ value()

template<typename T >
static value_type MetaPhysicL::RawType< RankFourTensorTempl< T > >::value ( const RankFourTensorTempl< T > &  in)
inlinestatic

Definition at line 515 of file RankFourTensor.h.

516  {
517  constexpr auto N = RankFourTensorTempl<T>::N;
518  value_type ret;
519  for (auto i : make_range(N))
520  for (auto j : make_range(N))
521  for (auto k : make_range(N))
522  for (auto l : make_range(N))
523  ret(i, j, k, l) = raw_value(in(i, j, k, l));
524 
525  return ret;
526  }
RankFourTensorTempl is designed to handle any N-dimensional fourth order tensor, C.
auto raw_value(const Eigen::Map< T > &in)
Definition: ADReal.h:73
IntRange< T > make_range(T beg, T end)
RankFourTensorTempl< typename RawType< T >::value_type > value_type

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