antioch-0.4.0
xml_parser_instantiation_macro.h
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 
27 #ifndef ANTIOCH_XML_PARSER_INSTANTIATION_MACRO_H
28 #define ANTIOCH_XML_PARSER_INSTANTIATION_MACRO_H
29 
30 #define ANTIOCH_XML_PARSER_TYPE_INSTANTIATE(type) \
31  template void XMLParser<type>::read_thermodynamic_data_root<NASAThermoMixture<type,NASA7CurveFit<type> > >(NASAThermoMixture<type,NASA7CurveFit<type> >& ); \
32  template void XMLParser<type>::read_thermodynamic_data_root<NASAThermoMixture<type,NASA9CurveFit<type> > >(NASAThermoMixture<type,NASA9CurveFit<type> >& ); \
33  template void XMLParser<type>::read_thermodynamic_data_root<NASAThermoMixture<type,CEACurveFit<type> > >(NASAThermoMixture<type,CEACurveFit<type> >& ); \
34  template void XMLParser<type>::read_thermodynamic_data_root<CEAThermodynamics<type> >(CEAThermodynamics<type>& )
35 
36 #define ANTIOCH_XML_PARSER_INSTANTIATE() \
37  ANTIOCH_XML_PARSER_TYPE_INSTANTIATE(float); \
38  ANTIOCH_XML_PARSER_TYPE_INSTANTIATE(double); \
39  ANTIOCH_XML_PARSER_TYPE_INSTANTIATE(long double)
40 
41 #endif // ANTIOCH_XML_PARSER_INSTANTIATION_MACRO_H

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