BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_MaxwellBoundaryConditionFactory.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_MAXWELLBOUNDARYCONDITIONFACTORY_HPP
13
#define BELFEM_CL_MAXWELLBOUNDARYCONDITIONFACTORY_HPP
14
15
16
#include "
cl_Map.hpp
"
17
18
#include "
cl_FEM_DofManager.hpp
"
19
#include "
cl_FEM_PhysicalBoundaryCondition.hpp
"
20
#include "
cl_IWG_Maxwell.hpp
"
21
#include "
cl_SourceFunction.hpp
"
22
#include "
stringtools.hpp
"
23
#include "
typedefs.hpp
"
24
25
namespace
belfem
26
{
27
namespace
fem
28
{
35
class
MaxwellBoundaryConditionFactory
36
{
37
const
uint
mNumDimensions ;
38
Cell < PhysicalBoundaryCondition * > mPhysicalBoundaryConditions ;
//the boundary conditions are actually owned by the Kernel
39
44
Map< string, uint >
mGlobalNameCount ;
45
Map< string, uint >
mGlobalNameSeen ;
46
47
48
public
:
49
50
MaxwellBoundaryConditionFactory
(
const
input::Section
* aSection,
const
uint
aNumberOfDimensions ) ;
51
52
~MaxwellBoundaryConditionFactory
() = default ;
53
54
//-------------------------------------------------------------------------------
55
56
Cell < PhysicalBoundaryCondition * > &
57
boundary_conditions
() ;
58
59
//-------------------------------------------------------------------------------
60
61
Cell < PhysicalBoundaryCondition * >
62
current_boundary_conditions
() ;
63
64
//-------------------------------------------------------------------------------
65
66
Cell < PhysicalBoundaryCondition * >
67
voltage_boundary_conditions
() ;
68
69
//-------------------------------------------------------------------------------
70
71
void
72
set_fields
(
DofManager
* aField) ;
73
74
//-------------------------------------------------------------------------------
75
76
} ;
77
}
78
}
79
80
#endif
//BELFEM_CL_MAXWELLBOUNDARYCONDITIONFACTORY_HPP
cl_FEM_DofManager.hpp
cl_FEM_PhysicalBoundaryCondition.hpp
cl_IWG_Maxwell.hpp
cl_Map.hpp
cl_SourceFunction.hpp
belfem::Map< string, uint >
belfem::fem::DofManager
this class creates the DOFs based on the passed equation object.
Definition
cl_FEM_DofManager.hpp:55
belfem::fem::MaxwellBoundaryConditionFactory::current_boundary_conditions
Cell< PhysicalBoundaryCondition * > current_boundary_conditions()
Definition
cl_MaxwellBoundaryConditionFactory.cpp:597
belfem::fem::MaxwellBoundaryConditionFactory::boundary_conditions
Cell< PhysicalBoundaryCondition * > & boundary_conditions()
Definition
cl_MaxwellBoundaryConditionFactory.cpp:589
belfem::fem::MaxwellBoundaryConditionFactory::voltage_boundary_conditions
Cell< PhysicalBoundaryCondition * > voltage_boundary_conditions()
Definition
cl_MaxwellBoundaryConditionFactory.cpp:614
belfem::fem::MaxwellBoundaryConditionFactory::MaxwellBoundaryConditionFactory
MaxwellBoundaryConditionFactory(const input::Section *aSection, const uint aNumberOfDimensions)
Definition
cl_MaxwellBoundaryConditionFactory.cpp:24
belfem::fem::MaxwellBoundaryConditionFactory::set_fields
void set_fields(DofManager *aField)
Definition
cl_MaxwellBoundaryConditionFactory.cpp:631
belfem::fem::MaxwellBoundaryConditionFactory::~MaxwellBoundaryConditionFactory
~MaxwellBoundaryConditionFactory()=default
belfem::input::Section
One hierarchical section of a configuration file.
Definition
cl_Input_Section.hpp:34
belfem::fem
Definition
cl_IFB_LINE3.hpp:21
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::uint
unsigned int uint
Definition
typedefs.hpp:30
stringtools.hpp
typedefs.hpp
src
fem
maxwell
cl_MaxwellBoundaryConditionFactory.hpp
Generated by
1.18.0