Public Methods |
| | Vortex (int n=0) |
| | Constructor (with space for n aircraft being allocated). More...
|
| | ~Vortex () |
| | Destructor. More...
|
| void | MarkAllDeleted () |
| | Mark all aircraft in the vector for deletion. More...
|
| void | CleanUp () |
| | Free all memory (called by destructor). More...
|
| int | NextWing (int i) |
| | Index of the next aircraft in the vector which is i not marked for deletion (but may be out-of-range). More...
|
| int | NextInRange (int i) |
| | Index of the next aircraft in the vector within airport-range which is not marked for deletion. More...
|
| int | Begin (void) |
| | Index of the first active aircraft in the vector. More...
|
| int | NextToBeDeleted () |
| | Index of the next aircraft in the vector which is marked for deletion. More...
|
| Vortex & | operator= (const Vortex &) |
| | Assignment overloading to copy a vortex structure. More...
|
| int | AddWing (bool allocate_flag=true) |
| | Add new aircraft to the vector and allocate memory for it only if "allocate_flag" is true. More...
|
| int | AddWingWithoutAllocation () |
| | Add new aircraft to the vector without allocating memory. More...
|
| void | ReAlloc (int n) |
| | Allocate memory for "n" aircraft from the current number of aircraft. More...
|
| void | Allocate (int i) |
| | Allocate memory for the "i"th aircraft in the vector. More...
|
| void | Compress () |
| | Compress vector by removing all aircraft that are marked deleted. More...
|
| void | deleteWing (int i) |
| | Free memory for "i"th aircraft in the vector and mark it for deletion. More...
|
| void | undeleteWing (int i) |
| | Undo the effect of the "deleteWing(i)". More...
|
| void | stopTrackingWing (int i) |
| | Stop tracking aircraft "i" (mark it out-of-range). More...
|
| int | CheckForOutOfRangeAircraft (double airport_center[3], int option) |
| | Check for out-of-range aircraft. More...
|
| void | ReadInputFile (char *inpfile, int nwake_max) |
| | Read intial inputs for the simulation from "inpfile". More...
|
| double | ComputeWake () |
| | Read intial inputs for the simulation from "inpfile" Compute the wake-vortex for all aircraft for the next iteration. More...
|
| int | ComputeWake (int wingID) |
| | Compute the wake-vortex for the specified aircraft for the next iteration. More...
|
| void | WriteTecplotFile (int iter) |
| | Write TECPLOT output for the specified iteration. More...
|
| int | AddNewWing (char *trajfile, char *name, char *type, double x0, double y0, double z0, double span, double area, double weight) |
| | Add a new aircraft at location (x0,y0,z0) with trajectory information from file "trajfile" and specified wing-span, area and weight. More...
|
| int | AddRandomWing (char *trajfile, double x0, double y0, double z0) |
| | Add a randomly selection aircraft from database at location (x0,y0,z0). More...
|
| int | Copy (Vortex *dest) |
| | Copy data from the current vortex structure to "dest". More...
|
Public Attributes |
| int | nwings |
| | Total number of aircraft (wings) in the structure. More...
|
| int | ntotal |
| | Total number of aircraft (wings) in the structure including wings that are not being tracked. More...
|
| int | nToBeDeleted |
| | Number of aircraft marked for deletion. More...
|
| int | nOutOfRange |
| | Number of aircraft that contain useful vortex data but are not actively being tracked. More...
|
| int | nwakemax |
| | Maximum number of vortex-elements to be tracked per aircraft. More...
|
| double | temperature |
| | Current atmospheric temperature (in Celsius). More...
|
| double | dt |
| | Current time-step for simulation (in seconds). More...
|
| double | u0 |
| | Current atmospheric wind velocity in x-direction (in m/s). More...
|
| double | v0 |
| | Current atmospheric wind velocity in y-direction (in m/s). More...
|
| double | w0 |
| | Current atmospheric wind velocity in z-direction (in m/s). More...
|
| double | delta |
| | Height of atmospheric boundary layer above the ground (in metres). More...
|
| double | upmag |
| | Atmospheric fluctuation levels (%). More...
|
| double | gtime |
| | Time required for vortex-strength gamma to decay by 50% (in seconds). More...
|
| double | glimit |
| | Vortex strength threshold below which it is considered harmless. More...
|
| double | max_tracking_distance |
| | Maximum tracking distance for aircraft from the center of the airport (in Kilometres). More...
|
| int | inducedvelocity_flag |
| | Flag specifying where induced velocity calculation is to be performed. More...
|
| int | iter |
| | Current number of iterations since the simulation started. More...
|
| int | kn |
| | Number of neighboring vortex elements to be used for induced velocity calculation over every vortex element. More...
|
| int | nvort |
| | Current number of vortex elements being tracked (<= nwakemax). More...
|
| double | curtime |
| | Current time of the simulation since the start (in seconds). More...
|
| vector< Wing > | wing |
| | Vector containing data for individual aircraft (wing). More...
|
Friends |
| ostream & | operator<< (ostream &Out, Vortex &V) |