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

Definition at line 675 of file Templates.hpp.

Constructor & Destructor Documentation

◆ GetFTensor2FromArrayImpl()

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

Member Function Documentation

◆ get()

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

Definition at line 677 of file Templates.hpp.

677 {
678 using T = std::remove_cv_t<std::remove_reference_t<decltype(data(0, 0))>>;
680 &data(rr + 0, cc + 0), &data(rr + 0, cc + 1),
681
682 &data(rr + 1, cc + 0), &data(rr + 1, cc + 1)};
683 }

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