v0.14.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
MoFEM::GetFTensor4FromMatImpl< 3, 3, 3, 3, S, T, ublas::row_major, A > Struct Template Reference

#include <include/Templates.hpp>

Static Public Member Functions

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

Detailed Description

template<int S, class T, class A>
struct MoFEM::GetFTensor4FromMatImpl< 3, 3, 3, 3, S, T, ublas::row_major, A >

Definition at line 549 of file Templates.hpp.

Member Function Documentation

◆ get()

template<int S, class T , class A >
static auto MoFEM::GetFTensor4FromMatImpl< 3, 3, 3, 3, S, T, ublas::row_major, A >::get ( ublas::matrix< T, ublas::row_major, A > &  data)
inlinestatic

Definition at line 550 of file Templates.hpp.

550 {
551#ifndef NDEBUG
552 if (data.size1() != 81) {
553 cerr << data.size1() << endl;
555 "getFTensor4FromMat<3, 3, 3, 3>: wrong size of data matrix, number "
556 "of rows should be 81 but is " +
557 boost::lexical_cast<std::string>(data.size1()));
558 }
559#endif
561 &data(0, 0), &data(1, 0), &data(2, 0), &data(3, 0), &data(4, 0),
562 &data(5, 0), &data(6, 0), &data(7, 0), &data(8, 0), &data(9, 0),
563 &data(10, 0), &data(11, 0), &data(12, 0), &data(13, 0), &data(14, 0),
564 &data(15, 0), &data(16, 0), &data(17, 0), &data(18, 0), &data(19, 0),
565 &data(20, 0), &data(21, 0), &data(22, 0), &data(23, 0), &data(24, 0),
566 &data(25, 0), &data(26, 0), &data(27, 0), &data(28, 0), &data(29, 0),
567 &data(30, 0), &data(31, 0), &data(32, 0), &data(33, 0), &data(34, 0),
568 &data(35, 0), &data(36, 0), &data(37, 0), &data(38, 0), &data(39, 0),
569 &data(40, 0), &data(41, 0), &data(42, 0), &data(43, 0), &data(44, 0),
570 &data(45, 0), &data(46, 0), &data(47, 0), &data(48, 0), &data(49, 0),
571 &data(50, 0), &data(51, 0), &data(52, 0), &data(53, 0), &data(54, 0),
572 &data(55, 0), &data(56, 0), &data(57, 0), &data(58, 0), &data(59, 0),
573 &data(60, 0), &data(61, 0), &data(62, 0), &data(63, 0), &data(64, 0),
574 &data(65, 0), &data(66, 0), &data(67, 0), &data(68, 0), &data(69, 0),
575 &data(70, 0), &data(71, 0), &data(72, 0), &data(73, 0), &data(74, 0),
576 &data(75, 0), &data(76, 0), &data(77, 0), &data(78, 0), &data(79, 0),
577 &data(80, 0)};
578 }
#define THROW_MESSAGE(msg)
Throw MoFEM exception.
Definition: definitions.h:561

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