org.orekit.forces.atmospheres.MSIS2000
Class Flags

java.lang.Object
  extended by org.orekit.forces.atmospheres.MSIS2000.Flags

public class Flags
extends Object

Class Flags Switches: to turn on and off particular variations use these switches. 0 is off, 1 is on, and 2 is main effects off but cross terms on. Standard values are 0 for switch 0 and 1 for switches 1 to 23. The array "switches" needs to be set accordingly by the calling program. The arrays sw and swc are set internally. switches[i]: i - explanation ----------------- 0 - output in centimeters instead of meters 1 - F10.7 effect on mean 2 - time independent 3 - symmetrical annual 4 - symmetrical semiannual 5 - asymmetrical annual 6 - asymmetrical semiannual 7 - diurnal 8 - semidiurnal 9 - daily ap [when this is set to -1 (!) the pointer ap_a in struct nrlmsise_input must point to a struct ap_array] 10 - all UT/long effects 11 - longitudinal 12 - UT and mixed UT/long 13 - mixed AP/UT/LONG 14 - terdiurnal 15 - departures from diffusive equilibrium 16 - all TINF var 17 - all TLB var 18 - all TN1 var 19 - all S var 20 - all TN2 var 21 - all NLB var 22 - all TN3 var 23 - turbo scale height var

Since:
1.2
Version:
$Id: Flags.java 17582 2017-05-10 12:58:16Z bignon $
Author:
Rami Houdroge
Concurrency :
not thread-safe

Constructor Summary
Flags()
          Constructor.
 
Method Summary
 boolean bool(double fakeBool)
          Return boolean from double.
 double getSw(int position)
          Getter for a particular element in the sw array.
 double getSwc(int position)
          Getter for a particular element in the swc array.
 int[] getSwitches()
          Getter for switches.
 void setSwitches(int[] inSwitches)
          Setter for switches.
 void setSwitches(int position, int value)
          Setter for a specific element of the switches array.
 void tselec()
          Prepare sw and swc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Flags

public Flags()
Constructor.

Method Detail

bool

public boolean bool(double fakeBool)
Return boolean from double.

Parameters:
fakeBool - double
Returns:
boolean from double
Since:
1.0

getSw

public double getSw(int position)
Getter for a particular element in the sw array.

Parameters:
position - position in the array
Returns:
the element at the given position

getSwc

public double getSwc(int position)
Getter for a particular element in the swc array.

Parameters:
position - position in the array
Returns:
the element at the given position

getSwitches

public int[] getSwitches()
Getter for switches.

Returns:
the switches

setSwitches

public void setSwitches(int position,
                        int value)
Setter for a specific element of the switches array.

Parameters:
position - position in the array
value - new value.

setSwitches

public void setSwitches(int[] inSwitches)
Setter for switches.

Parameters:
inSwitches - the switches to set

tselec

public void tselec()
Prepare sw and swc.



Copyright © 2017 CNES. All Rights Reserved.