v0.8.3
Public Member Functions | List of all members
FTensor::Dg_constructor< T, 3, 3 > Class Template Reference

#include <src/ftensor/src/FTensor/Dg/Dg_constructor.hpp>

Public Member Functions

 Dg_constructor (T data[6][3], T d000, T d001, T d002, T d010, T d011, T d012, T d020, T d021, T d022, T d110, T d111, T d112, T d120, T d121, T d122, T d220, T d221, T d222)
 

Detailed Description

template<class T>
class FTensor::Dg_constructor< T, 3, 3 >

Definition at line 25 of file Dg_constructor.hpp.

Constructor & Destructor Documentation

◆ Dg_constructor()

template<class T >
FTensor::Dg_constructor< T, 3, 3 >::Dg_constructor ( data[6][3],
d000,
d001,
d002,
d010,
d011,
d012,
d020,
d021,
d022,
d110,
d111,
d112,
d120,
d121,
d122,
d220,
d221,
d222 
)

Definition at line 28 of file Dg_constructor.hpp.

31  {
32  data[0][0] = d000;
33  data[1][0] = d010;
34  data[2][0] = d020;
35  data[3][0] = d110;
36  data[4][0] = d120;
37  data[5][0] = d220;
38 
39  data[0][1] = d001;
40  data[1][1] = d011;
41  data[2][1] = d021;
42  data[3][1] = d111;
43  data[4][1] = d121;
44  data[5][1] = d221;
45 
46  data[0][2] = d002;
47  data[1][2] = d012;
48  data[2][2] = d022;
49  data[3][2] = d112;
50  data[4][2] = d122;
51  data[5][2] = d222;
52  }

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