BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
geometrytools.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_GEOMETRYTOOLS_HPP
13
#define BELFEM_GEOMETRYTOOLS_HPP
14
15
#include "
typedefs.hpp
"
16
#include "
cl_Element.hpp
"
17
#include "
cl_Matrix.hpp
"
18
19
namespace
belfem
20
{
21
//------------------------------------------------------------------------------
22
23
namespace
mesh
24
{
25
//------------------------------------------------------------------------------
26
27
void
28
collect_node_coords
(
29
Element
* aElement,
30
Matrix< real > & aNodeCoords,
31
const
uint
aNumberOfDimensions = 0,
32
const
bool
aCornerNodesOnly =
false
);
33
34
//------------------------------------------------------------------------------
35
36
void
37
collect_node_data
(
38
Element
* aElement,
39
const
Vector< real > & aFieldOnMesh ,
40
Vector< real > & aNodalField,
41
const
bool
aCornerNodesOnly =
false
);
42
43
//------------------------------------------------------------------------------
44
45
// Bronstein, Eq. 8.152c
46
real
47
compute_surface_increment
(
48
const
Matrix< real > & adNdXi,
49
const
Matrix< real > & aNodeCoords,
50
const
uint
aNumSpatialDimensions=0 );
51
52
//------------------------------------------------------------------------------
53
}
54
}
55
#endif
//BELFEM_GEOMETRYTOOLS_HPP
cl_Element.hpp
cl_Matrix.hpp
belfem::mesh::Element
Lagrange Element baseclass.
Definition
cl_Element.hpp:35
belfem::mesh
Definition
cl_EF_EdgeFunction.hpp:17
belfem::mesh::compute_surface_increment
real compute_surface_increment(const Matrix< real > &adNdXi, const Matrix< real > &aNodeCoords, const uint aNumSpatialDimensions)
Definition
geometrytools.cpp:94
belfem::mesh::collect_node_coords
void collect_node_coords(Element *aElement, Matrix< real > &aNodeCoords, const uint aNumberOfDimensions, const bool aCornerNodesOnly)
Definition
geometrytools.cpp:24
belfem::mesh::collect_node_data
void collect_node_data(Element *aElement, const Vector< real > &aFieldOnMesh, Vector< real > &aNodalField, const bool aCornerNodesOnly)
Definition
geometrytools.cpp:64
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::uint
unsigned int uint
Definition
typedefs.hpp:30
belfem::real
double real
Definition
typedefs.hpp:36
typedefs.hpp
src
mesh
geometrytools.hpp
Generated by
1.18.0