BELFEM
0.9.3
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
// the body of the input-section constructor; the constructor
48
// frees the conditions if it throws
49
void
50
create_conditions(
const
input::Section
* aSection ) ;
51
52
53
public
:
54
55
MaxwellBoundaryConditionFactory
(
const
input::Section
* aSection,
const
uint
aNumberOfDimensions ) ;
56
57
~MaxwellBoundaryConditionFactory
() = default ;
58
59
//-------------------------------------------------------------------------------
60
61
Cell < PhysicalBoundaryCondition * > &
62
boundary_conditions
() ;
63
64
//-------------------------------------------------------------------------------
65
66
Cell < PhysicalBoundaryCondition * >
67
current_boundary_conditions
() ;
68
69
//-------------------------------------------------------------------------------
70
71
Cell < PhysicalBoundaryCondition * >
72
voltage_boundary_conditions
() ;
73
74
//-------------------------------------------------------------------------------
75
76
void
77
set_fields
(
DofManager
* aField) ;
78
79
//-------------------------------------------------------------------------------
80
81
} ;
82
}
83
}
84
85
#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
Main workhorse: DOF management, assembly coordination and the solver interface.
Definition
cl_FEM_DofManager.hpp:52
belfem::fem::MaxwellBoundaryConditionFactory::current_boundary_conditions
Cell< PhysicalBoundaryCondition * > current_boundary_conditions()
Definition
cl_MaxwellBoundaryConditionFactory.cpp:609
belfem::fem::MaxwellBoundaryConditionFactory::boundary_conditions
Cell< PhysicalBoundaryCondition * > & boundary_conditions()
Definition
cl_MaxwellBoundaryConditionFactory.cpp:601
belfem::fem::MaxwellBoundaryConditionFactory::voltage_boundary_conditions
Cell< PhysicalBoundaryCondition * > voltage_boundary_conditions()
Definition
cl_MaxwellBoundaryConditionFactory.cpp:626
belfem::fem::MaxwellBoundaryConditionFactory::MaxwellBoundaryConditionFactory
MaxwellBoundaryConditionFactory(const input::Section *aSection, const uint aNumberOfDimensions)
Definition
cl_MaxwellBoundaryConditionFactory.cpp:25
belfem::fem::MaxwellBoundaryConditionFactory::set_fields
void set_fields(DofManager *aField)
Definition
cl_MaxwellBoundaryConditionFactory.cpp:643
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