CHROMA
monomial_io.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Monomial IO
4  */
5 
6 #ifndef MONOMIAL_IO_H
7 #define MONOMIAL_IO_H
8 
9 #include "chromabase.h"
11 
12 
13 namespace Chroma
14 {
15 
16  /*! \ingroup io */
17  void read(XMLReader& xml,
18  const std::string& path,
19  Handle< Monomial< multi1d<LatticeColorMatrix>,
20  multi1d<LatticeColorMatrix> > >& mon_handle );
21 
22  //! Read a monomial from an XML reader, use a factory to create and assign the pointer to the handle...
23  /*! \ingroup io */
24  void read(XMLReader& xml,
25  const std::string& path,
26  Handle< ExactMonomial< multi1d<LatticeColorMatrix>,
27  multi1d<LatticeColorMatrix> > >& mon_handle );
28 
29  //! Read a named monomial from an XML reader, use factory to create and assign the pointer to a handle in the named object std::map of monomial handles.
30  /*! \ingroup io */
31  void readNamedMonomial(XMLReader& xml,
32  const std::string& path,
33  std::string& the_monomial_id);
34 
35 
36  //! Read an array of named monomials from an XML reader. use factory to create the monomials and put them in a named object std::map of monomial handles.
37  /*! \ingroup io */
38  void readNamedMonomialArray(XMLReader& xml,
39  const std::string& path);
40 
41 
42 } // End namespace Chroma
43 
44 
45 #endif
Monomials - gauge action or fermion binlinear contributions for HMC.
Primary include file for CHROMA library code.
Abstract monomial class, for exact algorithms.
Definition: abs_monomial.h:75
Class for counted reference semantics.
Definition: handle.h:33
An abstract monomial class, for inexact algorithms.
Definition: abs_monomial.h:43
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams &param)
Read parameters.
void readNamedMonomialArray(XMLReader &xml, const std::string &path)
Read an array of named monomials from an XML reader. use factory to create the monomials and put them...
Definition: monomial_io.cc:106
void readNamedMonomial(XMLReader &xml, const std::string &path, std::string &monomial_id)
Read a named monomial from an XML reader, usa factory to create and assign the pointer to a handle in...
Definition: monomial_io.cc:57
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979