#ifndef __MSIS_CALCULATION_2006_08_14__ #define __MSIS_CALCULATION_2006_08_14__ /** @file MSISCalc @author Brian Magill @creationdate 8/14/2006 $Date:$ $Revision:$ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief Calculates temperature in the thermosphere */ #include "SolarFlux.h" #include "EphemData.h" class MSISCalc { private: long idate; SolarFlux solarFlux; EphemData ephemeris; bool hasData; public: MSISCalc() {hasData = false;}; MSISCalc(long date, SolarFlux const & flux, EphemData const & ephem):idate(date), solarFlux(flux), ephemeris(ephem), hasData(true){}; MSISCalc(MSISCalc const & rhs) { idate = rhs.idate; solarFlux = rhs.solarFlux; ephemeris = rhs.ephemeris; hasData = rhs.hasData; } MSISCalc & operator = (MSISCalc const & rhs) { if(&rhs == this) return *this; idate = rhs.idate; solarFlux = rhs.solarFlux; ephemeris = rhs.ephemeris; hasData = rhs.hasData; return *this; } ~MSISCalc() {}; bool HasData() {return hasData;}; float operator() (float altitude, float seconds); }; #endif