Public Methods |
| | Wing () |
| | Constructor. More...
|
| | ~Wing () |
| | Destructor. More...
|
| void | Initialize () |
| | Initialization routine (resets variables). More...
|
| Wing & | operator= (const Wing &) |
| | Assignment operator overloading for copying. More...
|
| void | readTrajectory (double t, double *u, double *v, double *w) |
| | Read trajectory info for time "t" and return velocity (u,v,w). More...
|
| void | Setup (char *inpfile, char *name, char *type, double x0, double y0, double z0, double wingspan, double wingarea, double wingweight, double temperature, int nwakemax) |
| | Setup the aircraft at location (x0,y0,z0) with supplied parameters. More...
|
| void | Allocate (int nwakemax) |
| | Allocate space for vortex-elements (max elements: nwakemax). More...
|
| void | DeAllocate (int nwakemax) |
| | Free space allocated for vortex-elements. More...
|
| int | packWing (unsigned char **dataptr, int *totsize) |
| | Pack wing for efficient communication from one processor to another. More...
|
| int | unpackWing (unsigned char *data, int totsize) |
| | Unpack pack after communication completed. More...
|
| double | getGwing (double temperature) |
| | Vortex strength (gamma) for current element at wing-tip. More...
|
| double | Speed () |
| | Current speed of the aircraft. More...
|
| double | Height () |
| | Current height of the aircraft above the ground. More...
|
Public Attributes |
| double | gwing |
| | vortex-strength (gamma) at wing-tip. More...
|
| double | ewing |
| | size of vortex core (meters). More...
|
| double | xwing_i [2][3] |
| | Initial location of wing-tips (meters). More...
|
| double | vwing_i [2][3] |
| | Initial velocity of wing-tips (i.e., aircraft) (m/s). More...
|
| char | Name [30] |
| | Identification label for aircraft. More...
|
| char | AircraftType [30] |
| | Type of aircraft (e.g., Boeing 777, Airbus 320, etc.). More...
|
| char | trajectoryname [100] |
| | Name of file containing trajectory information. More...
|
| double * | ewake |
| | core size (meters) of array of tip vortices. More...
|
| FILE * | trajectory |
| | File-pointer for trajector file "trajectoryname". More...
|
| double | xwing [2][3] |
| | Current location of wing-tips (meters). More...
|
| double | vwing [2][3] |
| | Current velocity of wing-tips (i.e., aircraft) (m/s). More...
|
| double * | gwake |
| | Vortex strength (gamma) of each segment of tip vortices. More...
|
| double * | twake |
| | Age of each segment of tip vortices (seconds). More...
|
| double(* | xwake )[2][3] |
| | Coordinates of points along tip vortices (meters). More...
|
| double(* | vwake )[2][3] |
| | Velocity of points along tip vortices (m/s). More...
|
| double | timeElapsed |
| | Time elapsed since vortex-elements for aircraft being tracked (sec). More...
|
| int | iter |
| | Number of iterations. More...
|
| double | span |
| | Wing-span (meters). More...
|
| double | weight |
| | Weight of aircraft (kg). More...
|
| double | area |
| | Area of wing (meters^2). More...
|
| int | OutOfRange |
| | Out-of-range flag. More...
|
| int | ToBeDeleted |
| | Deletion flag. More...
|
| int | nvort |
| | Current number of vortex elements being tracked (<= nwakemax). More...
|
| int | ID |
| | ID for the aircraft. More...
|
| double | DistFromAirport |
| | Distance from the center of the airport (Kilometers). More...
|
| Trajectory | traj |
| | Trajectory associated with the aircraft. More...
|
Friends |
| ostream & | operator<< (ostream &Out, Wing &V) |