BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_intpoints_gauss_quad12.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_QUAD12_HPP
13#define BELFEM_FN_INTPOINTS_GAUSS_QUAD12_HPP
14
15
16#include "typedefs.hpp"
17#include "cl_Vector.hpp"
18#include "cl_Matrix.hpp"
19
20namespace belfem
21{
22 namespace integration
23 {
24//----------------------------------------------------------------------------
25
26 // doi.org/10.1090/S0025-5718-1958-0102176-6
27 inline void
29 Vector <real> & aWeights,
30 Matrix <real> & aPoints )
31 {
32 aPoints.set_size( 2, 12 ) ;
33 aWeights.set_size( 12 ) ;
34
35 aPoints( 0, 0 ) = 0.9258200997725514 ;
36 aPoints( 1, 0 ) = 0.0000000000000000 ;
37
38 aPoints( 0, 1 ) = -0.9258200997725514 ;
39 aPoints( 1, 1 ) = 0.0000000000000000 ;
40
41 aPoints( 0, 2 ) = 0.0000000000000000 ;
42 aPoints( 1, 2 ) = 0.9258200997725514 ;
43
44 aPoints( 0, 3 ) = 0.0000000000000000 ;
45 aPoints( 1, 3 ) = -0.9258200997725514 ;
46
47 aPoints( 0, 4 ) = 0.3805544332083157 ;
48 aPoints( 1, 4 ) = 0.3805544332083157 ;
49
50 aPoints( 0, 5 ) = 0.3805544332083157 ;
51 aPoints( 1, 5 ) = -0.3805544332083157 ;
52
53 aPoints( 0, 6 ) = -0.3805544332083157 ;
54 aPoints( 1, 6 ) = 0.3805544332083157 ;
55
56 aPoints( 0, 7 ) = -0.3805544332083157 ;
57 aPoints( 1, 7 ) = -0.3805544332083157 ;
58
59 aPoints( 0, 8 ) = 0.8059797829185987 ;
60 aPoints( 1, 8 ) = 0.8059797829185987 ;
61
62 aPoints( 0, 9 ) = 0.8059797829185987 ;
63 aPoints( 1, 9 ) = -0.8059797829185987 ;
64
65 aPoints( 0, 10 ) = -0.8059797829185987 ;
66 aPoints( 1, 10 ) = 0.8059797829185987 ;
67
68 aPoints( 0, 11 ) = -0.8059797829185987 ;
69 aPoints( 1, 11 ) = -0.8059797829185987 ;
70
71 aWeights( 0 ) = 0.2419753086419753 ;
72 aWeights( 1 ) = 0.2419753086419753 ;
73 aWeights( 2 ) = 0.2419753086419753 ;
74 aWeights( 3 ) = 0.2419753086419753 ;
75 aWeights( 4 ) = 0.5205929166673945 ;
76 aWeights( 5 ) = 0.5205929166673945 ;
77 aWeights( 6 ) = 0.5205929166673945 ;
78 aWeights( 7 ) = 0.5205929166673945 ;
79 aWeights( 8 ) = 0.2374317746906302 ;
80 aWeights( 9 ) = 0.2374317746906302 ;
81 aWeights( 10 ) = 0.2374317746906302 ;
82 aWeights( 11 ) = 0.2374317746906302 ;
83 }
84
85//----------------------------------------------------------------------------
86 } /* namespace integration */
87} /* namespace belfem */
88
89#endif //BELFEM_FN_INTPOINTS_GAUSS_QUAD12_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_quad12(Vector< real > &aWeights, Matrix< real > &aPoints)
Definition fn_intpoints_gauss_quad12.hpp:28
USER GUIDES:
Definition cl_Capacitor.cpp:16