BELFEM 0.9.3
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
cl_IWG_MaxwellThermal.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_CL_IWG_MAXWELLTHERMAL_HPP
13#define BELFEM_CL_IWG_MAXWELLTHERMAL_HPP
14
16
17namespace belfem
18{
19 namespace fem
20 {
28 {
29
30 // link to function; set per group by link_to_group(). Never
31 // called while nullptr: link_to_group() guards the assembled
32 // case with an always-active error
33 void
34 ( *mFunMKF )
35 ( Calculator * aCalc, TimestepMatrices * aMatrices) = nullptr;
36
37//------------------------------------------------------------------------------
38 public:
39//------------------------------------------------------------------------------
40
41 IWG_MaxwellThermal( ModelDimensionality aModelDimensionality,
43 const IwgMode aMode=IwgMode::Iterative );
44
45 ~IWG_MaxwellThermal() override = default ;
46
47 void
48 link_to_group( Group * aGroup ) override;
49
50 void
52
53//------------------------------------------------------------------------------
54 protected:
55//------------------------------------------------------------------------------
56
57 void
58 compute_mkf( Element * aElement ) override;
59
60//------------------------------------------------------------------------------
61
62 };
63 }
64}
65
66#endif //BELFEM_CL_IWG_MAXWELLTHERMAL_HPP
Definition cl_FEM_Calculator.hpp:596
Definition cl_FEM_Element.hpp:41
Definition cl_FEM_Group.hpp:45
~IWG_MaxwellThermal() override=default
void link_to_group(Group *aGroup) override
The IWG borrows the group, its calculator and the pointers reachable from them.
Definition cl_IWG_MaxwellThermal.cpp:65
IWG_MaxwellThermal(ModelDimensionality aModelDimensionality, const IwgType aType=IwgType::MaxwellThermal, const IwgMode aMode=IwgMode::Iterative)
Definition cl_IWG_MaxwellThermal.cpp:21
void compute_mkf(Element *aElement) override
Definition cl_IWG_MaxwellThermal.cpp:42
void create_custom_vectors_and_matrices(Calculator *aCalc) override
Definition cl_IWG_MaxwellThermal.cpp:126
IWG_TransientHeatConduction(const ModelDimensionality aModelDimensionality, const IwgType aType=IwgType::TransientHeatConduction, const IwgMode aMode=IwgMode::Iterative)
Definition cl_IWG_TransientHeatConduction.cpp:22
Container for element-level DENSE matrices in transient nonlinear FEM.
Definition cl_TimestepMatrices.hpp:71
Definition cl_IFB_LINE3.hpp:21
USER GUIDES:
Definition cl_Capacitor.cpp:16
IwgMode
Definition en_IWGs.hpp:81
@ Iterative
Definition en_IWGs.hpp:83
IwgType
Definition en_IWGs.hpp:64
@ MaxwellThermal
Definition en_IWGs.hpp:74
ModelDimensionality
Definition en_IWGs.hpp:20