v0.16.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
MoFEM::GetFTensor0FromVecImpl< S, V > Struct Template Reference

#include "include/Templates.hpp"

Static Public Member Functions

static auto get (V &data)
 

Detailed Description

template<int S, class V>
struct MoFEM::GetFTensor0FromVecImpl< S, V >

Definition at line 140 of file Templates.hpp.

Member Function Documentation

◆ get()

template<int S, class V >
static auto MoFEM::GetFTensor0FromVecImpl< S, V >::get ( V &  data)
inlinestatic

Definition at line 141 of file Templates.hpp.

141 {
142 using T = std::remove_cv_t<std::remove_reference_t<decltype(data(0))>>;
143 return FTensor::Tensor0<FTensor::PackPtr<T *, S>>(data.data().data());
144 }

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