Initial commit
[debian/openrocket] / src / net / sf / openrocket / aerodynamics / ExactAtmosphericConditions.java
1 package net.sf.openrocket.aerodynamics;
2
3 /**
4  * A class containing more accurate methods for computing the atmospheric properties.
5  * 
6  * @author Sampo Niskanen <sampo.niskanen@iki.fi>
7  */
8 public class ExactAtmosphericConditions extends AtmosphericConditions {
9
10         @Override
11         public double getDensity() {
12                 // TODO Auto-generated method stub
13                 return super.getDensity();
14         }
15
16         @Override
17         public double getKinematicViscosity() {
18                 // TODO Auto-generated method stub
19                 return super.getKinematicViscosity();
20         }
21
22         @Override
23         public double getMachSpeed() {
24                 return 331.3 * Math.sqrt(1 + (temperature - 273.15)/273.15);
25         }
26
27 }