v0.14.0
Public Member Functions | Static Public Member Functions | List of all members
MoFEM::GetFTensor1FromArray< 4, S > Struct Template Reference

#include <include/Templates.hpp>

Public Member Functions

 GetFTensor1FromArray ()=delete
 

Static Public Member Functions

template<typename V >
static auto get (V &data)
 

Detailed Description

template<int S>
struct MoFEM::GetFTensor1FromArray< 4, S >

Definition at line 1138 of file Templates.hpp.

Constructor & Destructor Documentation

◆ GetFTensor1FromArray()

template<int S>
MoFEM::GetFTensor1FromArray< 4, S >::GetFTensor1FromArray ( )
delete

Member Function Documentation

◆ get()

template<int S>
template<typename V >
static auto MoFEM::GetFTensor1FromArray< 4, S >::get ( V &  data)
inlinestatic

Definition at line 1140 of file Templates.hpp.

1140  {
1141  using T = typename std::remove_reference<decltype(data[0])>::type;
1142  return FTensor::Tensor1<FTensor::PackPtr<T *, S>, 4>{&data[0], &data[1],
1143  &data[2], &data[3]};
1144  }

The documentation for this struct was generated from the following file:
FTensor::Tensor1
Definition: Tensor1_value.hpp:8
convert.type
type
Definition: convert.py:64