antioch-0.4.0
cea_mixture_ascii_parsing.C
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // Antioch - A Gas Dynamics Thermochemistry Library
5 //
6 // Copyright (C) 2014-2016 Paul T. Bauman, Benjamin S. Kirk,
7 // Sylvain Plessis, Roy H. Stonger
8 //
9 // Copyright (C) 2013 The PECOS Development Team
10 //
11 // This library is free software; you can redistribute it and/or
12 // modify it under the terms of the Version 2.1 GNU Lesser General
13 // Public License as published by the Free Software Foundation.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public
21 // License along with this library; if not, write to the Free Software
22 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
23 // Boston, MA 02110-1301 USA
24 //
25 //-----------------------------------------------------------------------el-
26 
28 
29 // Antioch
30 #include "antioch/cea_mixture.h"
31 #include "antioch/ascii_parser.h"
34 
35 namespace Antioch
36 {
37  template<class NumericType>
39  {
42  }
43 
44  template<class NumericType>
45  void read_cea_mixture_data_ascii( CEAThermoMixture<NumericType>& thermo, const std::string &filename )
46  {
48  read_cea_mixture_data( thermo, filename, ASCII, true );
49  }
50 
51  template<class NumericType>
52  void read_cea_mixture_data_ascii( CEAThermodynamics<NumericType>& thermo, const std::string &filename )
53  {
55  ASCIIParser<NumericType> parser(filename);
56  parser.read_thermodynamic_data(thermo);
57  }
58 
59  // Instantiate
61 
62 } // end namespace Antioch
void read_cea_mixture_data(CEAThermoMixture< NumericType > &thermo, const std::string &filename, ParsingType type, bool verbose=true)
void read_cea_mixture_data_ascii_default(CEAThermoMixture< NumericType > &thermo)
static const std::string & thermo_data()
#define antioch_deprecated()
The parameters are reduced parameters.
void read_cea_mixture_data_ascii(CEAThermoMixture< NumericType > &thermo, const std::string &filename)
void read_thermodynamic_data(NASAThermoMixture< NumericType, NASA7CurveFit< NumericType > > &)
reads the thermo, NASA generalist, no templates for virtual
Definition: ascii_parser.h:126
ANTIOCH_CEA_MIXTURE_DATA_ASCII_PARSING_INSTANTIATE()

Generated on Thu Jul 7 2016 11:09:45 for antioch-0.4.0 by  doxygen 1.8.8