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

Definition at line 1113 of file Templates.hpp.

Constructor & Destructor Documentation

◆ GetFTensor1FromArray()

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

Member Function Documentation

◆ get()

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

Definition at line 1115 of file Templates.hpp.

1115  {
1116  using T = typename std::remove_reference<decltype(data[0])>::type;
1117  return FTensor::Tensor1<FTensor::PackPtr<T *, S>, 1>{&data[0]};
1118  }

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