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

Definition at line 1092 of file Templates.hpp.

Constructor & Destructor Documentation

◆ GetFTensor1FromArray()

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

Member Function Documentation

◆ get()

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

Definition at line 1094 of file Templates.hpp.

1094 {
1095 using T = typename std::remove_reference<decltype(data[0])>::type;
1096 return FTensor::Tensor1<FTensor::PackPtr<T *, S>, 2>{&data[0], &data[1]};
1097 }
const double T

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