BELFEM 0.9.0
Berkeley Lab Finite Element Framework
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"
20
21namespace 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
72 const string & aLabelA,
73 const string & aLabelB );
74
75//------------------------------------------------------------------------------
76 private:
77//------------------------------------------------------------------------------
78
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
Ascii(const string &aPath, const enum FileMode &aMode)
Definition cl_Ascii.cpp:25
uint entry_exists(RefGas *aRefgas)
Definition cl_GT_InputTransport.cpp:65
void read_data(RefGas *aRefgas)
Definition cl_GT_InputTransport.cpp:92
InputTransport(const string &aPath)
Default Constructor.
Definition cl_GT_InputTransport.cpp:23
bool interaction_parameter_exists(const string &aLabelA, const string &aLabelB)
Definition cl_GT_InputTransport.cpp:136
A single chemical species with its caloric and transport properties.
Definition cl_GT_RefGas.hpp:76
One temperature interval of the transport description of a species.
Definition cl_GT_TransportPoly.hpp:62
Definition cl_Gas.hpp:33
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30
double real
Definition typedefs.hpp:36