CHROMA
chroma_init.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Initialization of Chroma
4  */
5 
6 #ifndef __CHROMA_INIT_H__
7 #define __CHROMA_INIT_H__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma
12 {
13  //! Chroma initialisation routine
14  void initialize(int* argc, char ***argv);
15 
16  //! Chroma finalization routine
17  void finalize(void);
18 
19  //! Chroma abort routine
20  void abort(int i);
21 
22  //! Get input file name
24 
25  //! Get output file name
27 
28  //! Get output logfile name
30 
31  //! Get current working directory
33 
34 
35  //! Set input file name
36  void setXMLInputFileName(const std::string&);
37 
38  //! Set output file name
39  void setXMLOutputFileName(const std::string&);
40 
41  //! Set output logfile name
42  void setXMLLogFileName(const std::string&);
43 
44  //! Set current working directory
45  void setCWD(const std::string&);
46 
47 
48  //! Get xml output instance
49  XMLFileWriter& getXMLOutputInstance();
50 
51  //! Get xml log instance
52  XMLFileWriter& getXMLLogInstance();
53 
54  /*
55  //! Get xml input instance
56  XMLReader& getXMLInputInstance();
57  */
58 
59 
60 } // End namespace Chroma
61 
62 #endif
Primary include file for CHROMA library code.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
std::string getXMLOutputFileName()
Get output file name.
Definition: chroma_init.cc:91
XMLFileWriter & getXMLLogInstance()
Get xml log instance.
Definition: chroma_init.cc:378
void setCWD(const std::string &name)
Set current working directory.
Definition: chroma_init.cc:110
void setXMLOutputFileName(const std::string &name)
Set output file name.
Definition: chroma_init.cc:104
int i
Definition: pbg5p_w.cc:55
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
Definition: chroma_init.cc:114
void finalize(void)
Chroma finalization routine.
Definition: chroma_init.cc:308
std::string getCWD()
Get current working directory.
Definition: chroma_init.cc:97
std::string getXMLInputFileName()
Get input file name.
Definition: chroma_init.cc:88
std::string getXMLLogFileName()
Get log file name.
Definition: chroma_init.cc:94
void setXMLInputFileName(const std::string &name)
Set input file name.
Definition: chroma_init.cc:101
void abort(int i)
Chroma abort routine.
Definition: chroma_init.cc:352
void setXMLLogFileName(const std::string &name)
Set output logfile name.
Definition: chroma_init.cc:107
XMLFileWriter & getXMLOutputInstance()
Get xml output instance.
Definition: chroma_init.cc:359
::std::string string
Definition: gtest.h:1979