BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_GT_InputTransport.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_GT_INPUTTRANSPORT_HPP
13
#define BELFEM_CL_GT_INPUTTRANSPORT_HPP
14
15
#include "
typedefs.hpp
"
16
#include "
cl_Map.hpp
"
17
#include "
cl_Ascii.hpp
"
18
#include "
cl_GT_RefGas.hpp
"
19
#include "
cl_GT_TransportPoly.hpp
"
20
21
namespace
belfem
22
{
23
namespace
gastables
24
{
25
//------------------------------------------------------------------------------
26
40
class
InputTransport
:
public
Ascii
41
{
42
Map <string, uint> mMap;
43
44
//------------------------------------------------------------------------------
45
public
:
46
//------------------------------------------------------------------------------
47
52
InputTransport
(
const
string
& aPath );
53
54
~InputTransport
() =
default
;
55
56
//------------------------------------------------------------------------------
57
58
void
59
read_data
(
RefGas
* aRefgas );
60
61
//------------------------------------------------------------------------------
62
63
uint
64
entry_exists
(
RefGas
* aRefgas );
65
66
//------------------------------------------------------------------------------
67
/*
68
* test if interaction parameter exists
69
*/
70
bool
71
interaction_parameter_exists
(
72
const
string
& aLabelA,
73
const
string
& aLabelB );
74
75
//------------------------------------------------------------------------------
76
private
:
77
//------------------------------------------------------------------------------
78
79
TransportPoly
*
80
read_polynomial(
uint
& aLineCount );
81
82
//------------------------------------------------------------------------------
83
84
real
85
word_to_real(
const
string
& aWord );
86
87
};
88
//------------------------------------------------------------------------------
89
}
/* namespace gastables */
90
}
/* namespace belfem */
91
#endif
//BELFEM_CL_GT_INPUTTRANSPORT_HPP
cl_Ascii.hpp
cl_GT_RefGas.hpp
cl_GT_TransportPoly.hpp
cl_Map.hpp
belfem::Ascii::Ascii
Ascii(const string &aPath, const enum FileMode &aMode)
Definition
cl_Ascii.cpp:25
belfem::gastables::InputTransport::entry_exists
uint entry_exists(RefGas *aRefgas)
Definition
cl_GT_InputTransport.cpp:65
belfem::gastables::InputTransport::read_data
void read_data(RefGas *aRefgas)
Definition
cl_GT_InputTransport.cpp:92
belfem::gastables::InputTransport::InputTransport
InputTransport(const string &aPath)
Default Constructor.
Definition
cl_GT_InputTransport.cpp:23
belfem::gastables::InputTransport::interaction_parameter_exists
bool interaction_parameter_exists(const string &aLabelA, const string &aLabelB)
Definition
cl_GT_InputTransport.cpp:136
belfem::gastables::InputTransport::~InputTransport
~InputTransport()=default
belfem::gastables::RefGas
A single chemical species with its caloric and transport properties.
Definition
cl_GT_RefGas.hpp:76
belfem::gastables::TransportPoly
One temperature interval of the transport description of a species.
Definition
cl_GT_TransportPoly.hpp:62
belfem::gastables
Definition
cl_Gas.hpp:33
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::uint
unsigned int uint
Definition
typedefs.hpp:30
belfem::real
double real
Definition
typedefs.hpp:36
typedefs.hpp
src
physics
gastables
cl_GT_InputTransport.hpp
Generated by
1.18.0