OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
DragtFinnMap.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: DragtFinnMap.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.3 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Template class: DragtFinnMap<N>
10 //
11 // ------------------------------------------------------------------------
12 // Class category: FixedAlgebra
13 // ------------------------------------------------------------------------
14 //
15 // $Date: 2001/11/15 08:52:26 $
16 // $Author: jsberg $
17 //
18 // ------------------------------------------------------------------------
20 
21 template <>
25 
26  M(0, 0) = - f_2[8];
27  M(0, 1) = - 2.0 * f_2[13];
28  M(0, 2) = - f_2[14];
29  M(0, 3) = - f_2[15];
30  M(0, 4) = - f_2[16];
31  M(0, 5) = - f_2[17];
32 
33  M(1, 0) = 2.0 * f_2[7];
34  M(1, 1) = f_2[8];
35  M(1, 2) = f_2[9];
36  M(1, 3) = f_2[10];
37  M(1, 4) = f_2[11];
38  M(1, 5) = f_2[12];
39 
40  M(2, 0) = - f_2[10];
41  M(2, 1) = - f_2[15];
42  M(2, 2) = - f_2[19];
43  M(2, 3) = - 2.0 * f_2[22];
44  M(2, 4) = - f_2[23];
45  M(2, 5) = - f_2[24];
46 
47  M(3, 0) = f_2[9];
48  M(3, 1) = f_2[14];
49  M(3, 2) = 2.0 * f_2[18];
50  M(3, 3) = f_2[19];
51  M(3, 4) = f_2[20];
52  M(3, 5) = f_2[21];
53 
54  M(4, 0) = - f_2[12];
55  M(4, 1) = - f_2[17];
56  M(4, 2) = - f_2[21];
57  M(4, 3) = - f_2[24];
58  M(4, 4) = - f_2[26];
59  M(4, 5) = - 2.0 * f_2[27];
60 
61  M(5, 0) = f_2[11];
62  M(5, 1) = f_2[16];
63  M(5, 2) = f_2[20];
64  M(5, 3) = f_2[23];
65  M(5, 4) = 2.0 * f_2[25];
66  M(5, 5) = f_2[26];
67 
68  return M;
69 }
static FMatrix< double, 2 *N, 2 *N > makeMatrix(const FLieGenerator< double, N > &f_2)
A representation for a homogeneous polynomial, used as a Lie generator.
Definition: DragtFinnMap.h:29