Psi4
psi4-dec.h
Go to the documentation of this file.
1 /*
2  * @BEGIN LICENSE
3  *
4  * Psi4: an open-source quantum chemistry software package
5  *
6  * Copyright (c) 2007-2017 The Psi4 Developers.
7  *
8  * The copyrights for code used from other parties are included in
9  * the corresponding files.
10  *
11  * This file is part of Psi4.
12  *
13  * Psi4 is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU Lesser General Public License as published by
15  * the Free Software Foundation, version 3.
16  *
17  * Psi4 is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License along
23  * with Psi4; if not, write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  *
26  * @END LICENSE
27  */
28 
29 #ifndef psi_include_psi4_dec_h
30 #define psi_include_psi4_dec_h
31 
32 #include "psi4/pragma.h"
33 #include <string>
34 #include <memory>
35 
37 namespace psi {
38 
39  class PsiOutStream;
40  extern std::shared_ptr<PsiOutStream> outfile;
41  extern std::string outfile_name;
42 
43  extern char *psi_file_prefix;
44  extern std::string restart_id; // Does not have a default
45 
47 
48  // Very useful regex for matching floating point numbers
49  #define NUMBER "((?:[-+]?\\d*\\.\\d+(?:[DdEe][-+]?\\d+)?)|(?:[-+]?\\d+\\.\\d*(?:[DdEe][-+]?\\d+)?))"
50 
51  void die_if_not_converged();
52 
53 }//End namespace psi
54 #endif
char * psi_file_prefix
Definition: core.cc:99
PsiReturnType
Definition: psi4-dec.h:46
std::string outfile_name
Definition: core.cc:100
std::string restart_id
Definition: core.cc:101
Definition: psi4-dec.h:46
Definition: psi4-dec.h:46
Definition: psi4-dec.h:46
void die_if_not_converged()
Definition: process.cc:171
std::shared_ptr< PsiOutStream > outfile
Definition: core.cc:102
Definition: psi4-dec.h:46