BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_intpoints_gauss_penta29.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California,
4 * through Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_FN_INTPOINTS_GAUSS_PENTA29_HPP
13#define BELFEM_FN_INTPOINTS_GAUSS_PENTA29_HPP
14
15#include "typedefs.hpp"
16#include "cl_Vector.hpp"
17#include "cl_Matrix.hpp"
18
19namespace belfem
20{
21 namespace integration
22 {
23// ----------------------------------------------------------------------------
24
25 // source: 10.1016/j.compfluid.2013.01.002
26 inline void
28 Vector< real > & aWeights,
29 Matrix< real > & aPoints )
30 {
31 aPoints.set_size( 3, 29 );
32
33 aPoints( 0, 0 ) = 0.05224358875943;
34 aPoints( 1, 0 ) = 0.89551282248113;
35 aPoints( 2, 0 ) = 0.00000000000000;
36
37 aPoints( 0, 1 ) = 0.05224358875943;
38 aPoints( 1, 1 ) = 0.05224358875943;
39 aPoints( 2, 1 ) = 0.00000000000000;
40
41 aPoints( 0, 2 ) = 0.89551282248113;
42 aPoints( 1, 2 ) = 0.05224358875943;
43 aPoints( 2, 2 ) = 0.00000000000000;
44
45 aPoints( 0, 3 ) = 0.53105987838328;
46 aPoints( 1, 3 ) = 0.19830486547356;
47 aPoints( 2, 3 ) = 0.00000000000000;
48
49 aPoints( 0, 4 ) = 0.27063525614316;
50 aPoints( 1, 4 ) = 0.19830486547356;
51 aPoints( 2, 4 ) = 0.00000000000000;
52
53 aPoints( 0, 5 ) = 0.19830486547356;
54 aPoints( 1, 5 ) = 0.27063525614316;
55 aPoints( 2, 5 ) = 0.00000000000000;
56
57 aPoints( 0, 6 ) = 0.19830486547356;
58 aPoints( 1, 6 ) = 0.53105987838328;
59 aPoints( 2, 6 ) = 0.00000000000000;
60
61 aPoints( 0, 7 ) = 0.27063525614316;
62 aPoints( 1, 7 ) = 0.53105987838328;
63 aPoints( 2, 7 ) = 0.00000000000000;
64
65 aPoints( 0, 8 ) = 0.53105987838328;
66 aPoints( 1, 8 ) = 0.27063525614316;
67 aPoints( 2, 8 ) = 0.00000000000000;
68
69 aPoints( 0, 9 ) = 0.33333333333333;
70 aPoints( 1, 9 ) = 0.33333333333333;
71 aPoints( 2, 9 ) = 0.93624151237170;
72
73 aPoints( 0, 10 ) = 0.33333333333333;
74 aPoints( 1, 10 ) = 0.33333333333333;
75 aPoints( 2, 10 ) = -0.93624151237170;
76
77 aPoints( 0, 11 ) = 0.07915005135038;
78 aPoints( 1, 11 ) = 0.84169989729923;
79 aPoints( 2, 11 ) = 0.94868114728325;
80
81 aPoints( 0, 12 ) = 0.07915005135038;
82 aPoints( 1, 12 ) = 0.84169989729923;
83 aPoints( 2, 12 ) = -0.94868114728325;
84
85 aPoints( 0, 13 ) = 0.07915005135038;
86 aPoints( 1, 13 ) = 0.07915005135038;
87 aPoints( 2, 13 ) = 0.94868114728325;
88
89 aPoints( 0, 14 ) = 0.07915005135038;
90 aPoints( 1, 14 ) = 0.07915005135038;
91 aPoints( 2, 14 ) = -0.94868114728325;
92
93 aPoints( 0, 15 ) = 0.84169989729923;
94 aPoints( 1, 15 ) = 0.07915005135038;
95 aPoints( 2, 15 ) = 0.94868114728325;
96
97 aPoints( 0, 16 ) = 0.84169989729923;
98 aPoints( 1, 16 ) = 0.07915005135038;
99 aPoints( 2, 16 ) = -0.94868114728325;
100
101 aPoints( 0, 17 ) = 0.63665550326981;
102 aPoints( 1, 17 ) = 0.05483129487330;
103 aPoints( 2, 17 ) = 0.60063805282056;
104
105 aPoints( 0, 18 ) = 0.63665550326981;
106 aPoints( 1, 18 ) = 0.05483129487330;
107 aPoints( 2, 18 ) = -0.60063805282056;
108
109 aPoints( 0, 19 ) = 0.30851320185688;
110 aPoints( 1, 19 ) = 0.05483129487330;
111 aPoints( 2, 19 ) = 0.60063805282056;
112
113 aPoints( 0, 20 ) = 0.30851320185688;
114 aPoints( 1, 20 ) = 0.05483129487330;
115 aPoints( 2, 20 ) = -0.60063805282056;
116
117 aPoints( 0, 21 ) = 0.05483129487330;
118 aPoints( 1, 21 ) = 0.30851320185688;
119 aPoints( 2, 21 ) = 0.60063805282056;
120
121 aPoints( 0, 22 ) = 0.05483129487330;
122 aPoints( 1, 22 ) = 0.30851320185688;
123 aPoints( 2, 22 ) = -0.60063805282056;
124
125 aPoints( 0, 23 ) = 0.05483129487330;
126 aPoints( 1, 23 ) = 0.63665550326981;
127 aPoints( 2, 23 ) = 0.60063805282056;
128
129 aPoints( 0, 24 ) = 0.05483129487330;
130 aPoints( 1, 24 ) = 0.63665550326981;
131 aPoints( 2, 24 ) = -0.60063805282056;
132
133 aPoints( 0, 25 ) = 0.30851320185688;
134 aPoints( 1, 25 ) = 0.63665550326981;
135 aPoints( 2, 25 ) = 0.60063805282056;
136
137 aPoints( 0, 26 ) = 0.30851320185688;
138 aPoints( 1, 26 ) = 0.63665550326981;
139 aPoints( 2, 26 ) = -0.60063805282056;
140
141 aPoints( 0, 27 ) = 0.63665550326981;
142 aPoints( 1, 27 ) = 0.30851320185688;
143 aPoints( 2, 27 ) = 0.60063805282056;
144
145 aPoints( 0, 28 ) = 0.63665550326981;
146 aPoints( 1, 28 ) = 0.30851320185688;
147 aPoints( 2, 28 ) = -0.60063805282056;
148
149 aWeights.set_size( 29 );
150 aWeights( 0 ) = 0.02719106241023;
151 aWeights( 1 ) = 0.02719106241023;
152 aWeights( 2 ) = 0.02719106241023;
153 aWeights( 3 ) = 0.04063604164122;
154 aWeights( 4 ) = 0.04063604164122;
155 aWeights( 5 ) = 0.04063604164122;
156 aWeights( 6 ) = 0.04063604164122;
157 aWeights( 7 ) = 0.04063604164122;
158 aWeights( 8 ) = 0.04063604164122;
159 aWeights( 9 ) = 0.05027514093751;
160 aWeights( 10 ) = 0.05027514093751;
161 aWeights( 11 ) = 0.01177441496235;
162 aWeights( 12 ) = 0.01177441496235;
163 aWeights( 13 ) = 0.01177441496235;
164 aWeights( 14 ) = 0.01177441496235;
165 aWeights( 15 ) = 0.01177441496235;
166 aWeights( 16 ) = 0.01177441496235;
167 aWeights( 17 ) = 0.04195114927274;
168 aWeights( 18 ) = 0.04195114927274;
169 aWeights( 19 ) = 0.04195114927274;
170 aWeights( 20 ) = 0.04195114927274;
171 aWeights( 21 ) = 0.04195114927274;
172 aWeights( 22 ) = 0.04195114927274;
173 aWeights( 23 ) = 0.04195114927274;
174 aWeights( 24 ) = 0.04195114927274;
175 aWeights( 25 ) = 0.04195114927274;
176 aWeights( 26 ) = 0.04195114927274;
177 aWeights( 27 ) = 0.04195114927274;
178 aWeights( 28 ) = 0.04195114927274;
179 }
180
181// ----------------------------------------------------------------------------
182 } /* namespace integration */
183} /* namespace belfem */
184
185#endif //BELFEM_FN_INTPOINTS_GAUSS_PENTA29_HPP
void set_size(const size_t aNumRows, const size_t aNumCols)
Definition cl_AR_Matrix.hpp:186
void set_size(const size_t aNumRows)
change the size of the vector
Definition cl_AR_Vector.hpp:237
Definition fn_intpoints.cpp:576
void gauss_penta29(Vector< real > &aWeights, Matrix< real > &aPoints)
Definition fn_intpoints_gauss_penta29.hpp:27
USER GUIDES:
Definition cl_Capacitor.cpp:16