aniso_sym_gaugeact_params.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: aniso_sym_gaugeact_params.h,v 3.2 2008/05/21 17:07:50 bjoo Exp $
00003 /*! \file
00004  *  \brief Params for Anisotropic Symanzik Gauge Action
00005  *
00006  *  Tree-level LW with tapole improvement, missing 1x2 in time, also including
00007  *  2-plaq term. Taken from Morningstar-Peardon, hep-lat/9911003
00008  */
00009 
00010 #ifndef __aniso_sym_gaugeact_params_h__
00011 #define __aniso_sym_gaugeact_params_h__
00012 
00013 #include "gaugeact.h"
00014 #include "gaugebc.h"
00015 #include "io/aniso_io.h"
00016 namespace Chroma
00017 {
00018 
00019 
00020   //! Parameter structure
00021   /*! @ingroup gaugeacts */
00022   struct AnisoSymGaugeActParams 
00023   {
00024     // Base Constructor
00025     AnisoSymGaugeActParams() {};
00026     
00027     // Read params from some root path
00028     AnisoSymGaugeActParams(XMLReader& xml_in, const std::string& path);
00029 
00030     Real beta;  //!< The beta  coupling
00031     Real u_s;   //!< Spatial Tadpole coupling
00032     Real u_t;   //!< Temporal Tadpole coupling
00033     bool use_subtraction; //!< Whether to use subtraction trick
00034     Real sub_zero; //!< Arbitrary constant (zero point energy)
00035     AnisoParam_t aniso;
00036   };
00037   
00038   /*! @ingroup gaugeacts */
00039   void read(XMLReader& xml, const string& path, AnisoSymGaugeActParams& param);
00040   
00041   /*! @ingroup gaugeacts */
00042   void write(XMLWriter& xml, const string& path, const AnisoSymGaugeActParams& param);
00043 
00044   //! Parameter structure
00045   /*! @ingroup gaugeacts */
00046   struct AnisoSymSpatialGaugeActParams 
00047   {
00048     // Base Constructor
00049     AnisoSymSpatialGaugeActParams() {};
00050     
00051     // Read params from some root path
00052     AnisoSymSpatialGaugeActParams(XMLReader& xml_in, const std::string& path);
00053 
00054     Real beta;  //!< The beta  coupling
00055     Real u_s;   //!< Spatial Tadpole coupling
00056     AnisoParam_t aniso; //!< The anisotropy parameters
00057     bool use_subtraction; //!< Whether to use subtraction trick
00058     Real sub_zero; //!< Arbitrary constant (zero point energy)
00059   };
00060   
00061   /*! @ingroup gaugeacts */
00062   void read(XMLReader& xml, const string& path, AnisoSymSpatialGaugeActParams& param);
00063   
00064   /*! @ingroup gaugeacts */
00065   void write(XMLWriter& xml, const string& path, const AnisoSymSpatialGaugeActParams& param);
00066   
00067 
00068 
00069 };
00070 
00071 
00072 #endif

Generated on Sun Nov 22 04:28:48 2009 for CHROMA by  doxygen 1.4.7