~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to nfem/geo_element/reference_element_declare.cc

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// file automaticaly generated by "cxx_reference_element.cc"
 
2
//
 
3
///
 
4
/// This file is part of Rheolef.
 
5
///
 
6
/// Copyright (C) 2000-2009 Pierre Saramito <Pierre.Saramito@imag.fr>
 
7
///
 
8
/// Rheolef is free software; you can redistribute it and/or modify
 
9
/// it under the terms of the GNU General Public License as published by
 
10
/// the Free Software Foundation; either version 2 of the License, or
 
11
/// (at your option) any later version.
 
12
///
 
13
/// Rheolef is distributed in the hope that it will be useful,
 
14
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
/// GNU General Public License for more details.
 
17
///
 
18
/// You should have received a copy of the GNU General Public License
 
19
/// along with Rheolef; if not, write to the Free Software
 
20
/// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
21
/// 
 
22
/// =========================================================================
 
23
const char
 
24
reference_element::_name [reference_element::max_variant] = {
 
25
        'p',
 
26
        'e',
 
27
        't',
 
28
        'q',
 
29
        'T',
 
30
        'P',
 
31
        'H'
 
32
};
 
33
const reference_element::size_type
 
34
reference_element::_dimension [reference_element::max_variant] = {
 
35
        0,
 
36
        1,
 
37
        2,
 
38
        2,
 
39
        3,
 
40
        3,
 
41
        3
 
42
};
 
43
const reference_element::size_type
 
44
reference_element::_first_variant_by_dimension [5] = {
 
45
        reference_element::p,
 
46
        reference_element::e,
 
47
        reference_element::t,
 
48
        reference_element::T,
 
49
        reference_element::max_variant
 
50
};
 
51
const reference_element::size_type
 
52
reference_element::_n_vertex [reference_element::max_variant] = {
 
53
        1,
 
54
        2,
 
55
        3,
 
56
        4,
 
57
        4,
 
58
        6,
 
59
        8
 
60
};
 
61
static const Float
 
62
hat_K_measure [reference_element::max_variant] = {
 
63
        1,
 
64
        1,
 
65
        0.5,
 
66
        4,
 
67
        0.166666666666667,
 
68
        1,
 
69
        8
 
70
};
 
71
const reference_element::size_type
 
72
geo_element_T_fac2edg_idx [4][3] = {
 
73
        {2,1,0},
 
74
        {3,5,2},
 
75
        {0,4,3},
 
76
        {1,5,4} };
 
77
 
 
78
const reference_element::size_type
 
79
geo_element_P_fac2edg_idx [5][4] = {
 
80
        {2,1,0},
 
81
        {6,7,8},
 
82
        {0,4,6,3},
 
83
        {1,5,7,4},
 
84
        {3,8,5,2} };
 
85
 
 
86
const reference_element::size_type
 
87
geo_element_H_fac2edg_idx [6][4] = {
 
88
        {3,2,1,0},
 
89
        {4,11,7,3},
 
90
        {0,5,8,4},
 
91
        {8,9,10,11},
 
92
        {1,6,9,5},
 
93
        {2,7,10,6} };
 
94
 
 
95
const int
 
96
geo_element_T_fac2edg_orient [4][3] = {
 
97
        {-1,-1,-1},
 
98
        {1,-1,1},
 
99
        {1,1,-1},
 
100
        {1,1,-1} };
 
101
 
 
102
const int
 
103
geo_element_P_fac2edg_orient [5][4] = {
 
104
        {-1,-1,-1},
 
105
        {1,1,1},
 
106
        {1,1,-1,-1},
 
107
        {1,1,-1,-1},
 
108
        {1,-1,-1,1} };
 
109
 
 
110
const int
 
111
geo_element_H_fac2edg_orient [6][4] = {
 
112
        {-1,-1,-1,-1},
 
113
        {1,-1,-1,1},
 
114
        {1,1,-1,-1},
 
115
        {1,1,1,1},
 
116
        {1,1,-1,-1},
 
117
        {1,1,-1,-1} };
 
118