00001
00002
00003
00004
00005
00006 #include "chromabase.h"
00007 #include "util/info/printgeom.h"
00008
00009 namespace Chroma {
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 void printgeom(XMLWriter& xml)
00021 {
00022 START_CODE();
00023
00024 push(xml,"Setgeom");
00025 write(xml,"latt_size",Layout::lattSize());
00026 write(xml,"logical_size",Layout::logicalSize());
00027 write(xml,"subgrid_size",Layout::subgridLattSize());
00028 write(xml,"total_volume",Layout::vol());
00029 write(xml,"subgrid_volume",Layout::sitesOnNode());
00030 pop(xml);
00031
00032 END_CODE();
00033 }
00034
00035 }