GlobeEngine
AtmosphereCompositionElement.h
Go to the documentation of this file.
1 
8 #ifndef AtmosphereEngine_AtmosphereCompositionElement_h
9 #define AtmosphereEngine_AtmosphereCompositionElement_h
10 #include "qmath.h"
11 #include <iostream>
12 
13 namespace at {
15  {
16  public:
19  //Setters
20  void setParticleAmount(double i);
21  void setRefractiveIndex(double i);
22  void setPercentage(double i);
23  void setName(std::string name_);
24  bool identifySubstance(std::string sign_);
25  //Getters
26  std::string getName();
27  std::string getSymbol();
28  void setSymbol(std::string sign_);
29  double getPercentage();
30  double getAmountOfParticles();
31  double getRefractiveIndex();
32  protected:
33  double percentage;
37  std::string name;
38  std::string symbol;
39  private:
40  double loschmidtNumber;
41  double pi;
42  double rayleighScatteringTotal;
43  double mieScatteringTotal;
44  };
45 }
46 #endif
void setPercentage(double i)
Definition: AtmosphereCompositionElement.cpp:27
double percentage
Definition: AtmosphereCompositionElement.h:33
double getRefractiveIndex()
Definition: AtmosphereCompositionElement.cpp:34
double getAmountOfParticles()
Definition: AtmosphereCompositionElement.cpp:31
double amountOfParticles
Definition: AtmosphereCompositionElement.h:35
AtmosphereCompositionElement()
Definition: AtmosphereCompositionElement.cpp:10
~AtmosphereCompositionElement()
Definition: AtmosphereCompositionElement.cpp:19
double getPercentage()
Definition: AtmosphereCompositionElement.cpp:167
std::string getName()
Definition: AtmosphereCompositionElement.cpp:161
void setRefractiveIndex(double i)
Definition: AtmosphereCompositionElement.cpp:24
Definition: AtmosphereCompositionElement.h:14
double refractiveIndex
Definition: AtmosphereCompositionElement.h:36
double scatteringCrosssection
Definition: AtmosphereCompositionElement.h:34
void setParticleAmount(double i)
Definition: AtmosphereCompositionElement.cpp:21
std::string name
Definition: AtmosphereCompositionElement.h:37
Definition: AtmosphereComposition.h:20
bool identifySubstance(std::string sign_)
Definition: AtmosphereCompositionElement.cpp:37
void setSymbol(std::string sign_)
Definition: AtmosphereCompositionElement.cpp:173
std::string symbol
Definition: AtmosphereCompositionElement.h:38
std::string getSymbol()
Definition: AtmosphereCompositionElement.cpp:164
void setName(std::string name_)
Definition: AtmosphereCompositionElement.cpp:170