BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
cl_GT_InputAlpha.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_INPUTALPHA_HPP
13#define BELFEM_CL_GT_INPUTALPHA_HPP
14
15#include "typedefs.hpp"
16#include "cl_Map.hpp"
17#include "cl_Ascii.hpp"
18#include "cl_GT_GasData.hpp"
19
20namespace belfem
21{
22 namespace gastables
23 {
24//------------------------------------------------------------------------------
25 // reads the alpha coefficients for a cubic gas
45 class InputAlpha : public Ascii
46 {
47 // map to line in buffer
48 Map <string, uint> mMap;
49
50//----------------------------------------------------------------------------
51 public:
52//----------------------------------------------------------------------------
53
54 InputAlpha( const string & aPath );
55
56//----------------------------------------------------------------------------
57
58 ~InputAlpha() = default;
59
60//----------------------------------------------------------------------------
61
62 bool
63 entry_exists( GasData * aData );
64
65//----------------------------------------------------------------------------
66
67 void
68 read_data( GasData * aData );
69
70//----------------------------------------------------------------------------
71 };
72//------------------------------------------------------------------------------
73 } /* namespace gastables */
74} /* namespace belfem */
75
76#endif //BELFEM_CL_GT_INPUTALPHA_HPP
Ascii(const string &aPath, const enum FileMode &aMode)
Definition cl_Ascii.cpp:25
The per species property record: the scalar data that describe a gas but do not depend on the state.
Definition cl_GT_GasData.hpp:58
InputAlpha(const string &aPath)
Definition cl_GT_InputAlpha.cpp:23
bool entry_exists(GasData *aData)
Definition cl_GT_InputAlpha.cpp:52
void read_data(GasData *aData)
Definition cl_GT_InputAlpha.cpp:60
Definition cl_Gas.hpp:33
USER GUIDES:
Definition cl_Capacitor.cpp:16