/** * \file Params.h * \brief Params class declaration * * \class Params * * \brief Class Params contains the parameters read in from the * parameters file (ionosphere.param). * * \author Slava Merkin (vgm at bu.edu) * \since 07-2007 * * The run-time parameters are packed into this class so that * parameter lists in various functions do not get long. Just pass the * pointer to this class. */ #ifndef PARAMS_H #define PARAMS_H #include #include #include #include "const.h" #include "DateTime.h" #include "Grid.h" void parse_xjd(const char *, char *, char *, int &); class Params { public: /**\brief Class constructor */ Params(const char* paramFileName); /**\name InterComm parameters */ //@{ char localName[STRLEN]; /*Overture show files) */ bool use_intercomm; /*!< \brief Use InterComm for data sharing if true (default). Otherwise, use File Exchanges*/ //@} /**\name MHD model parameters */ //@{ char mhdGridFileName[STRLEN]; //!< Where to get the MHD grid from int mhdGridFileType; //!< Should be one of {HDF,GRIDOUT} //@} /**\name MIX grid parameters */ //@{ Grid mixGrid; bool forceSymmetricPotential; /*!< Should MIX force a symmetric potential between hemispheres? */ //@} /**\name ITM model parameters */ //@{ char itmGridFileName[STRLEN]; //!< TING and TIEGCM are recognized so far int itmGridFileType; //!< Not used. Reserved for TIEGCM char itmModelType[STRLEN]; //!< Not used. Reserved for TIEGCM DateTime itmCouplingStart; double itmCouplingDelta; //@} /**\name ITM model parameters */ //@{ int euvModelType; //!