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

#include <include/Templates.hpp>

Static Public Member Functions

static auto get (ublas::vector< T, A > &data)
 

Detailed Description

template<int S, class T, class A>
struct MoFEM::GetFTensor0FromVecImpl< S, T, A >

Definition at line 112 of file Templates.hpp.

Member Function Documentation

◆ get()

template<int S, class T , class A >
static auto MoFEM::GetFTensor0FromVecImpl< S, T, A >::get ( ublas::vector< T, A > &  data)
inlinestatic

Definition at line 113 of file Templates.hpp.

113  {
114  return FTensor::Tensor0<FTensor::PackPtr<T *, S>>(&*data.data().begin());
115  }

The documentation for this struct was generated from the following file:
FTensor::Tensor0
Definition: Tensor0.hpp:16