CHROMA
key_peram_distillution.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Key for propagator distillution matrix elements
4  */
5 
6 #ifndef __key_peram_distillution_h__
7 #define __key_peram_distillution_h__
8 
9 #include "chromabase.h"
10 #include "util/ferm/key_val_db.h"
11 
12 namespace Chroma
13 {
14  //----------------------------------------------------------------------------
15  /*!
16  * \ingroup ferm
17  * @{
18  */
19  //! Prop operator
21  {
22  int quark_line; /*!< The quark line */
23  bool annihP; /*!< An annihilation line? */
24  int t_slice; /*!< Propagator time slice */
25  int t_source; /*!< Source time slice */
26  int spin_src; /*!< Source spin index */
27  int spin_snk; /*!< Sink spin index */
28  std::string mass; /*!< A mass label */
29  };
30 
31 
32  //! Prop operator
34  {
35  multi2d<ComplexD> mat; /*!< Distillution source and colorstd::vector sink */
36  };
37 
38 
39  //----------------------------------------------------------------------------
40  //! Holds key and value as temporaries
42  {
45  };
46 
47  //----------------------------------------------------------------------------
48  //! Diagnostics
49  StandardOutputStream& operator<<(StandardOutputStream& os, const KeyPeramDistillution_t& a);
50 
51  //----------------------------------------------------------------------------
52  //! PeramDist reader
53  void read(BinaryReader& bin, KeyPeramDistillution_t& param);
54 
55  //! PeramDist write
56  void write(BinaryWriter& bin, const KeyPeramDistillution_t& param);
57 
58  //! PeramDist reader
59  void read(XMLReader& xml, const std::string& path, KeyPeramDistillution_t& param);
60 
61  //! PeramDist writer
62  void write(XMLWriter& xml, const std::string& path, const KeyPeramDistillution_t& param);
63 
64 
65  //----------------------------------------------------------------------------
66  //! PeramDist reader
67  void read(BinaryReader& bin, ValPeramDistillution_t& param);
68 
69  //! PeramDist write
70  void write(BinaryWriter& bin, const ValPeramDistillution_t& param);
71 
72  /*! @} */ // end of group ferm
73 
74 } // namespace Chroma
75 
76 #endif
Primary include file for CHROMA library code.
Serializable value harness.
Definition: key_val_db.h:69
Serializable key harness.
Definition: key_val_db.h:21
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.
Key and values for DB.
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
Complex a
Definition: invbicg.cc:95
::std::string string
Definition: gtest.h:1979
Holds key and value as temporaries.
SerialDBData< ValPeramDistillution_t > val
SerialDBKey< KeyPeramDistillution_t > key