BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_intpoints_gauss_pyra8.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_PYRA8_HPP
13#define BELFEM_FN_INTPOINTS_GAUSS_PYRA8_HPP
14
15#include "typedefs.hpp"
16#include "cl_Vector.hpp"
17#include "cl_Matrix.hpp"
18
19
20namespace belfem
21{
22 namespace integration
23 {
24// ----------------------------------------------------------------------------
25
35 inline void
37 Vector <real> & aWeights,
38 Matrix <real> & aPoints )
39 {
40 aPoints.set_size( 3, 8 );
41 aWeights.set_size( 8 );
42
43 aPoints( 0, 0 ) = -0.50661630334978724 ;
44 aPoints( 1, 0 ) = -0.50661630334978724 ;
45 aPoints( 2, 0 ) = 0.1225148226554415 ;
46 aWeights( 0 ) = 0.23254745125350801 ;
47
48 aPoints( 0, 1 ) = 0.50661630334978724 ;
49 aPoints( 1, 1 ) = -0.50661630334978724 ;
50 aPoints( 2, 1 ) = 0.1225148226554415 ;
51 aWeights( 1 ) = 0.23254745125350801 ;
52
53 aPoints( 0, 2 ) = -0.50661630334978724 ;
54 aPoints( 1, 2 ) = 0.50661630334978724 ;
55 aPoints( 2, 2 ) = 0.1225148226554415 ;
56 aWeights( 2 ) = 0.23254745125350801 ;
57
58 aPoints( 0, 3 ) = 0.50661630334978724 ;
59 aPoints( 1, 3 ) = 0.50661630334978724 ;
60 aPoints( 2, 3 ) = 0.1225148226554415 ;
61 aWeights( 3 ) = 0.23254745125350801 ;
62
63 aPoints( 0, 4 ) = -0.26318405556971358 ;
64 aPoints( 1, 4 ) = -0.26318405556971358 ;
65 aPoints( 2, 4 ) = 0.54415184401122529 ;
66 aWeights( 4 ) = 0.10078588207982532 ;
67
68 aPoints( 0, 5 ) = 0.26318405556971358 ;
69 aPoints( 1, 5 ) = -0.26318405556971358 ;
70 aPoints( 2, 5 ) = 0.54415184401122529 ;
71 aWeights( 5 ) = 0.10078588207982532 ;
72
73 aPoints( 0, 6 ) = -0.26318405556971358 ;
74 aPoints( 1, 6 ) = 0.26318405556971358 ;
75 aPoints( 2, 6 ) = 0.54415184401122529 ;
76 aWeights( 6 ) = 0.10078588207982532 ;
77
78 aPoints( 0, 7 ) = 0.26318405556971358 ;
79 aPoints( 1, 7 ) = 0.26318405556971358 ;
80 aPoints( 2, 7 ) = 0.54415184401122529 ;
81 aWeights( 7 ) = 0.10078588207982532 ;
82 }
83
84// ----------------------------------------------------------------------------
85 } /* namespace integration */
86} /* namespace belfem */
87
88#endif //BELFEM_FN_INTPOINTS_GAUSS_PYRA8_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_pyra8(Vector< real > &aWeights, Matrix< real > &aPoints)
Conical-product Gauss rule on the reference pyramid ( base [-1,1]^2 at zeta = 0, apex ( 0,...
Definition fn_intpoints_gauss_pyra8.hpp:36
USER GUIDES:
Definition cl_Capacitor.cpp:16