mtumerge.cpp

Go to the documentation of this file.
00001 #include "MtuFormat.h"
00002 #include <iostream>
00003 #include "Util.h"
00004 
00005 using namespace std;
00006 using namespace gplib;
00007 
00008 /*!
00009  * \addtogroup UtilProgs Utility Programs
00010  *@{
00011  * \file
00012  * Merge the electric field from one site with the magnetic field from another site. 
00013  */
00014 
00015 int main()
00016   {
00017     MtuFormat ETsData, BTsData;
00018 
00019     string einfilename = AskFilename("E Channel Filename: ");
00020     string binfilename = AskFilename("B Channel Filename: ");
00021     string outfilename = AskFilename("Output Filename: ");
00022 
00023     ETsData.GetData(einfilename.c_str());
00024     BTsData.GetData(binfilename.c_str());
00025     BTsData.GetEx() = ETsData.GetEx();
00026     BTsData.GetEy() = ETsData.GetEy();
00027     BTsData.WriteData(outfilename.c_str());
00028   }
00029 /*@}*/

Generated on Tue May 4 16:52:14 2010 for GPLIB++ by  doxygen 1.5.8