BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
en_DomainType.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 EN_DOMAINTYPE_HPP
13#define EN_DOMAINTYPE_HPP
14
15#include "typedefs.hpp"
16
17namespace belfem
18{
19 enum class DomainType
20 {
21 Default = 0, // default setting for blocks and sidesets
22
23 // the domain types for Coil, Air, Ferro and Conductor must not be changed
24 // they control the order in which master and slave priority is given for facets
25 // must not be bigger than 255
26
27 Air = 1, // Maxwell Specific
28 Buffer = 2, // Maxwell Specific
29 Ferro = 3, // Maxwell Specific
30 Coil = 4, // Maxwell Specific
31 Conductor = 5, // Maxwell Specific
32 LeftCoating = 6, // Maxwell Specific
33 RightCoating = 7, // Maxwell Specific
34 Cut = 8, // Maxwell Specific
35
36 ThinShell = 9, // Maxwell Specific
37
38 Symmetry = 10, // Maxwell Specific
39 AntiSymmetry = 11, // Maxwell Specific
40 Periodic = 12, // Maxwell Specific
41
42 AirSymmetry = 13, // Maxwell Specific
43 AirAntiSymmetry = 14, // Maxwell Specific
44 AirPeriodic = 15, // Maxwell Specific
45
46 BufferSymmetry = 16, // Maxwell Specific
47 BufferAntiSymmetry = 17, // Maxwell Specific
48 BufferPeriodic = 18, // Maxwell Specific
49
50 ConductorSymmetry = 19, // Maxwell Specific
51 ConductorAntiSymmetry = 20, // Maxwell Specific
52 ConductorPeriodic = 21, // Maxwell Specific
53
54 FerroSymmetry = 22, // Maxwell Specific
55 FerroAntiSymmetry = 23, // Maxwell Specific
56 FerroPeriodic = 24, // Maxwell Specific
57
58 InterfaceCondAir = 25, // Maxwell Specific
59 InterfaceCondFerro = 26, // Maxwell Specific
60 InterfaceFerroAir = 27, // Maxwell Specific
61
62 InterfaceAirCoil = 28, // Maxwell Specific
63 InterfaceFerroCoil = 29, // Maxwell Specific
66 BackgroundField = 32, // Maxwell Specific
67
68 Terminal = 33, // Maxwell Specific
69
70 Curve = 34, // for alpha BC on wetted surface
71
72 Inactive = 35, // Maxwell Specific
73 GeometryOnly = 36,
74 Ghost = 37, // Maxwell Specific
75 EnrichedInterface = 38, // Maxwell Specific
76
77 Dirichlet = 39, // for dot T BC on wetted surface
78 Neumann = 40, // for dot Q BC on wetted surface
79 ThermalAlpha = 41, // for alpha BC on wetted surface
80 UNDEFINED = 42
81 };
82
83 string
84 to_string( const DomainType aDomainType ) ;
85
87 domain_type( const string & aString );
88}
89#endif //EN_DOMAINTYPE_HPP
USER GUIDES:
Definition cl_Capacitor.cpp:16
DomainType domain_type(const string &aString)
Definition en_DomainType.cpp:103
@ Default
Definition cl_Logger.hpp:35
DomainType
Definition en_DomainType.hpp:20
@ Symmetry
Definition en_DomainType.hpp:38
@ BackgroundField
Definition en_DomainType.hpp:66
@ RightCoating
Definition en_DomainType.hpp:33
@ Curve
Definition en_DomainType.hpp:70
@ BufferPeriodic
Definition en_DomainType.hpp:48
@ Ghost
Definition en_DomainType.hpp:74
@ FerroSymmetry
Definition en_DomainType.hpp:54
@ AntiSymmetry
Definition en_DomainType.hpp:39
@ Terminal
Definition en_DomainType.hpp:68
@ FerroAntiSymmetry
Definition en_DomainType.hpp:55
@ InterfaceCondFerro
Definition en_DomainType.hpp:59
@ InterfaceFerroCoil
Definition en_DomainType.hpp:63
@ ThinShell
Definition en_DomainType.hpp:36
@ Buffer
Definition en_DomainType.hpp:28
@ InterfaceAirCoil
Definition en_DomainType.hpp:62
@ LeftCoating
Definition en_DomainType.hpp:32
@ InterfaceCondAir
Definition en_DomainType.hpp:58
@ FerroPeriodic
Definition en_DomainType.hpp:56
@ ConductorSymmetry
Definition en_DomainType.hpp:50
@ Coil
Definition en_DomainType.hpp:30
@ InterfaceTsConnector
Definition en_DomainType.hpp:65
@ EnrichedInterface
Definition en_DomainType.hpp:75
@ AirSymmetry
Definition en_DomainType.hpp:42
@ AirAntiSymmetry
Definition en_DomainType.hpp:43
@ Periodic
Definition en_DomainType.hpp:40
@ ThermalAlpha
Definition en_DomainType.hpp:79
@ InterfaceTsCond
Definition en_DomainType.hpp:64
@ BufferSymmetry
Definition en_DomainType.hpp:46
@ BufferAntiSymmetry
Definition en_DomainType.hpp:47
@ InterfaceFerroAir
Definition en_DomainType.hpp:60
@ ConductorAntiSymmetry
Definition en_DomainType.hpp:51
@ AirPeriodic
Definition en_DomainType.hpp:44
@ ConductorPeriodic
Definition en_DomainType.hpp:52
string to_string(const DomainType aDomainType)
Definition en_DomainType.cpp:21