v0.14.0
Public Member Functions | Static Public Member Functions | List of all members
MoFEM::GetFTensor1FromArray< 3, 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< 3, S >

Definition at line 1129 of file Templates.hpp.

Constructor & Destructor Documentation

◆ GetFTensor1FromArray()

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

Member Function Documentation

◆ get()

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

Definition at line 1131 of file Templates.hpp.

1131  {
1132  using T = typename std::remove_reference<decltype(data[0])>::type;
1133  return FTensor::Tensor1<FTensor::PackPtr<T *, S>, 3>{&data[0], &data[1],
1134  &data[2]};
1135  }

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