BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
fn_intpoints_gauss_tri1.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_TRI1_HPP
13
#define BELFEM_FN_INTPOINTS_GAUSS_TRI1_HPP
14
15
#include "
typedefs.hpp
"
16
#include "
cl_Vector.hpp
"
17
#include "
cl_Matrix.hpp
"
18
19
namespace
belfem
20
{
21
namespace
integration
22
{
23
// ----------------------------------------------------------------------------
24
25
inline
void
26
gauss_tri1
(
27
Vector <real> & aWeights,
28
Matrix <real> & aPoints )
29
{
30
aPoints.
set_size
( 3, 1, 1.0 / 3.0 );
31
aWeights.
set_size
( 1, 0.5 );
32
}
33
34
// ----------------------------------------------------------------------------
35
}
/* namespace integration */
36
}
/* namespace belfem */
37
38
#endif
//BELFEM_FN_INTPOINTS_GAUSS_TRI1_HPP
cl_Matrix.hpp
cl_Vector.hpp
belfem::Matrix::set_size
void set_size(const size_t aNumRows, const size_t aNumCols)
Definition
cl_AR_Matrix.hpp:186
belfem::Vector::set_size
void set_size(const size_t aNumRows)
change the size of the vector
Definition
cl_AR_Vector.hpp:237
belfem::integration
Definition
fn_intpoints.cpp:576
belfem::integration::gauss_tri1
void gauss_tri1(Vector< real > &aWeights, Matrix< real > &aPoints)
Definition
fn_intpoints_gauss_tri1.hpp:26
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
typedefs.hpp
src
numerics
integration
fn_intpoints_gauss_tri1.hpp
Generated by
1.18.0