CHROMA
printgeom.cc
Go to the documentation of this file.
1 // $Id: printgeom.cc,v 3.0 2006-04-03 04:59:13 edwards Exp $
2 /*! \file
3  * \brief Print out machine geometry and problem size info
4  */
5 
6 #include "chromabase.h"
7 #include "util/info/printgeom.h"
8 
9 namespace Chroma {
10 
11 //! Print out machine geometry and problem size info
12 /*!
13  * \ingroup info
14  *
15  * Arguments:
16  *
17  * \param xml The xml stream to write the info
18  */
19 
20 void printgeom(XMLWriter& xml)
21 {
22  START_CODE();
23 
24  push(xml,"Setgeom");
25  write(xml,"latt_size",Layout::lattSize());
26  write(xml,"logical_size",Layout::logicalSize());
27  write(xml,"subgrid_size",Layout::subgridLattSize());
28  write(xml,"total_volume",Layout::vol());
29  write(xml,"subgrid_volume",Layout::sitesOnNode());
30  pop(xml);
31 
32  END_CODE();
33 }
34 
35 } // end namespace Chroma
Primary include file for CHROMA library code.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
void printgeom(XMLWriter &xml)
Print out machine geometry and problem size info.
Definition: printgeom.cc:20
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
push(xml_out,"Condensates")
pop(xml_out)
START_CODE()
Print out machine geometry and problem size info.