v0.14.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
MoFEM::GetFTensor2SymmetricFromMatImpl< 2, S, T, L, A > Struct Template Reference

#include <include/Templates.hpp>

Static Public Member Functions

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

Detailed Description

template<int S, class T, class L, class A>
struct MoFEM::GetFTensor2SymmetricFromMatImpl< 2, S, T, L, A >

Definition at line 449 of file Templates.hpp.

Member Function Documentation

◆ get()

template<int S, class T , class L , class A >
static auto MoFEM::GetFTensor2SymmetricFromMatImpl< 2, S, T, L, A >::get ( ublas::matrix< T, L, A > &  data)
inlinestatic

Definition at line 450 of file Templates.hpp.

450 {
451#ifndef NDEBUG
452 if (data.size1() != 3)
454 "getFTensor2SymmetricFromMat<2>: wrong size of data matrix, numer "
455 "of rows should be 3 but is " +
456 boost::lexical_cast<std::string>(data.size1()));
457#endif
459 &data(0, 0), &data(1, 0), &data(2, 0));
460 }
#define THROW_MESSAGE(msg)
Throw MoFEM exception.
Definition: definitions.h:561

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