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

#include "include/Templates.hpp"

Public Member Functions

 GetFTensor2FromArrayImpl ()=delete
 

Static Public Member Functions

static auto get (M &data, const size_t rr, const size_t cc)
 

Detailed Description

template<int S, class M>
struct MoFEM::GetFTensor2FromArrayImpl< 3, 3, S, M >

Definition at line 686 of file Templates.hpp.

Constructor & Destructor Documentation

◆ GetFTensor2FromArrayImpl()

template<int S, class M >
MoFEM::GetFTensor2FromArrayImpl< 3, 3, S, M >::GetFTensor2FromArrayImpl ( )
delete

Member Function Documentation

◆ get()

template<int S, class M >
static auto MoFEM::GetFTensor2FromArrayImpl< 3, 3, S, M >::get ( M data,
const size_t  rr,
const size_t  cc 
)
inlinestatic

Definition at line 688 of file Templates.hpp.

688 {
689 using T = std::remove_cv_t<std::remove_reference_t<decltype(data(0, 0))>>;
691 &data(rr + 0, cc + 0), &data(rr + 0, cc + 1), &data(rr + 0, cc + 2),
692 &data(rr + 1, cc + 0), &data(rr + 1, cc + 1), &data(rr + 1, cc + 2),
693 &data(rr + 2, cc + 0), &data(rr + 2, cc + 1), &data(rr + 2, cc + 2)};
694 }

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