BELFEM
0.9.3
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_ThermalBoundaryConditionFactory.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_THERMALBOUNDARYCONDITIONFACTORY_HPP
13
#define BELFEM_CL_THERMALBOUNDARYCONDITIONFACTORY_HPP
14
15
#include "
cl_Map.hpp
"
16
#include "
cl_FEM_PhysicalBoundaryCondition.hpp
"
17
#include "
cl_SourceFunction.hpp
"
18
#include "
stringtools.hpp
"
19
#include "
typedefs.hpp
"
20
21
namespace
belfem
22
{
23
namespace
fem
24
{
31
class
ThermalBoundaryConditionFactory
32
{
35
Map< string, uint >
mGlobalNameCount ;
36
Map< string, uint >
mGlobalNameSeen ;
37
38
39
Cell < PhysicalBoundaryCondition * > mPhysicalBoundaryConditions ;
//the boundary conditions are actually owned by the Kernel
40
41
// the body of the input-section constructor; the constructor
42
// frees the conditions if it throws
43
void
44
create_conditions(
const
input::Section
* aSection ) ;
45
46
public
:
47
48
ThermalBoundaryConditionFactory
() ;
49
50
ThermalBoundaryConditionFactory
(
const
input::Section
* aSection ) ;
51
52
~ThermalBoundaryConditionFactory
() = default ;
53
54
//-------------------------------------------------------------------------------
55
56
Cell < PhysicalBoundaryCondition * > &
57
boundary_conditions
() ;
58
59
//-------------------------------------------------------------------------------
60
61
void
62
set_fields
(
DofManager
* aField) ;
63
64
//-------------------------------------------------------------------------------
65
66
} ;
67
}
68
}
69
70
#endif
//BELFEM_CL_THERMALBOUNDARYCONDITIONFACTORY_HPP
cl_FEM_PhysicalBoundaryCondition.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::ThermalBoundaryConditionFactory::~ThermalBoundaryConditionFactory
~ThermalBoundaryConditionFactory()=default
belfem::fem::ThermalBoundaryConditionFactory::ThermalBoundaryConditionFactory
ThermalBoundaryConditionFactory()
Definition
cl_ThermalBoundaryConditionFactory.cpp:25
belfem::fem::ThermalBoundaryConditionFactory::set_fields
void set_fields(DofManager *aField)
Definition
cl_ThermalBoundaryConditionFactory.cpp:408
belfem::fem::ThermalBoundaryConditionFactory::boundary_conditions
Cell< PhysicalBoundaryCondition * > & boundary_conditions()
Definition
cl_ThermalBoundaryConditionFactory.cpp:400
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
stringtools.hpp
typedefs.hpp
src
fem
thermal
cl_ThermalBoundaryConditionFactory.hpp
Generated by
1.18.0