BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
cl_Maxwell_TMatrix.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 CL_MAXWELL_TMATRIX_HPP
13#define CL_MAXWELL_TMATRIX_HPP
14#include "cl_FEM_SideSet.hpp"
15#include "cl_FEM_Calculator.hpp"
16
17namespace belfem
18{
19 namespace fem
20 {
21 namespace maxwell
22 {
23 class TMatrix
24 {
25 SideSet * mGroup ;
26 Calculator * mCalc ;
27
28 Matrix< real > mNabla ;
29 Matrix< uint > mIndexLookup ;
30 Matrix< uint > mFacetLookup ;
31
32 Matrix< real > mResult10 ;
33 Vector< real > mResult6 ;
34 Vector< real > mE1 ;
35 Vector< real > mE2 ;
36 public:
37
38 TMatrix( Mesh * aMesh );
39
40 ~TMatrix();
41
42 const Vector< real > &
43 process( mesh::Facet * aFacet );
44
45 private:
46
47 void
48 compute_nabla( const uint aIndex );
49
50 void
51 compute_nedelec_function( const uint aI, const uint aJ, const uint aK, const uint aIndex );
52
53 };
54 }
55 }
56}
57#endif //CL_MAXWELL_TMATRIX_HPP
Top-level container for all mesh entities.
Definition cl_Mesh.hpp:60
Definition cl_FEM_Calculator.hpp:600
Definition cl_FEM_SideSet.hpp:60
const Vector< real > & process(mesh::Facet *aFacet)
Definition cl_Maxwell_TMatrix.cpp:44
TMatrix(Mesh *aMesh)
Definition cl_Maxwell_TMatrix.cpp:19
Definition cl_Facet.hpp:24
Definition cl_EF_PENTA6TS.hpp:23
Definition cl_IFB_LINE3.hpp:21
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30