CHROMA
key_timeslice_colorvec.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Key for time-sliced color eigenvectors
4  */
5 
6 #ifndef __key_timeslice_colorvec_h__
7 #define __key_timeslice_colorvec_h__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma
12 {
13 
14  //----------------------------------------------------------------------------
15  //! Prop operator
16  /*! \ingroup ferm */
18  {
20  KeyTimeSliceColorVec_t(int t_slice_, int colorvec_) : t_slice(t_slice_), colorvec(colorvec_) {}
21 
22  int t_slice; /*!< Source time slice */
23  int colorvec; /*!< Colorstd::vector index */
24  };
25 
26 
27  //----------------------------------------------------------------------------
28  //! Diagnostics
29  StandardOutputStream& operator<<(StandardOutputStream& os, const KeyTimeSliceColorVec_t& param);
30 
31  //----------------------------------------------------------------------------
32  /*!
33  * \ingroup ferm
34  * @{
35  */
36  //! KeyTimeSliceColorVec read
37  void read(BinaryReader& bin, KeyTimeSliceColorVec_t& param);
38 
39  //! KeyTimeSliceColorVec write
40  void write(BinaryWriter& bin, const KeyTimeSliceColorVec_t& param);
41 
42  //! KeyTimeSliceColorVec reader
43  void read(XMLReader& xml, const std::string& path, KeyTimeSliceColorVec_t& param);
44 
45  //! KeyTimeSliceColorVec writer
46  void write(XMLWriter& xml, const std::string& path, const KeyTimeSliceColorVec_t& param);
47  /*! @} */ // end of group ferm
48 
49 } // namespace Chroma
50 
51 #endif
Primary include file for CHROMA library code.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams &param)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
QDP::StandardOutputStream & operator<<(QDP::StandardOutputStream &s, const multi1d< int > &d)
Definition: npr_vertex_w.cc:12
::std::string string
Definition: gtest.h:1979
KeyTimeSliceColorVec_t(int t_slice_, int colorvec_)