[go: up one dir, main page]

Menu

[r5]: / openthermo / input.hpp  Maximize  Restore  History

Download this file

53 lines (46 with data), 2.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*************************************************************************************
* *
* ***** OpenThermo ***** *
* Calculation of thermodynamic functions from molecular data *
* Copyright 2008 Konstantin Tokarev <annulen@users.sourceforge.net> *
* and others *
* *
*************************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License. See COPYING for *
* more details *
* *
*************************************************************************************
* Module name : input.hpp *
* Author : Tokarev. K *
* Last modification : 2008/08/02 *
* Description : Header for input.cpp *
* *
*************************************************************************************/
#ifndef INPUT_HPP
#define INPUT_HPP
#include "thermo.h" // Build options
#include <cstring> // for strcmp(char*, char*), strlen(char*), strncpy(char*, char*, int)
#include <cstdio> // for sprintf
#include <fstream>
#include <iostream>
#include "molecule.hpp"
#include <string>
#ifndef STRSTREAM
#include <sstream>
#else
#include <strstrea.h>
#endif
#include "pes.hpp"
#include "xml.hpp"
using namespace std;
#ifndef SILENT
bool GetFileName (string & FileName);
#endif
bool ReadMolData(Molecule * Mol, XMLInputFile & Input);
//bool ReadRot(Molecule * Mol, XMLNode & Rotors, char * LogName);
//bool ReadFreq(Molecule * Mol, int & Range, XMLNode & Freq, ofstream & fout);
bool ReadP(XMLInputFile & i, double & p);
bool ReadT(XMLInputFile & i, double & TStart, double & dT, double & TStop);
#endif /* INPUT_HPP */