Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Arroyo::Hardy_wind_model Class Reference

#include <wind_model.h>

Inheritance diagram for Arroyo::Hardy_wind_model:

Arroyo::wind_model Arroyo::AO_sim_base List of all members.

Public Member Functions

 ~Hardy_wind_model ()
 Hardy_wind_model (const Hardy_wind_model &twm)
 Hardy_wind_model (const char *filename)
 Hardy_wind_model (const iofits &iof)
Hardy_wind_modeloperator= (const Hardy_wind_model &twm)
 Hardy_wind_model (double grnd_lyr_velocity, double trpse_height=0, double trpse_thickness=0, double trpse_velocity=0)
Hardy_wind_modelclone () const
void read (const char *filename)
void read (const iofits &iof)
void write (const char *filename) const
void write (iofits &iof) const
void print (ostream &os, const char *prefix) const
std::vector< Arroyo::three_vectorget_random_wind_vectors (const std::vector< double > &heights, const Arroyo::three_frame &ref_frame) const

Protected Member Functions

 Hardy_wind_model ()

Protected Attributes

double ground_layer_wind_velocity
 The wind velocity of the ground layer.
double tropopause_wind_velocity
 The wind velocity at the tropopause.
double tropopause_height
 The height of the tropopause.
double tropopause_thickness
 The thickness of the tropopause.

Detailed Description

A class to represent the atmospheric wind model described by Hardy eq. 3.20


Constructor & Destructor Documentation

Arroyo::Hardy_wind_model::Hardy_wind_model  )  [protected]
 

Null constructor

Arroyo::Hardy_wind_model::~Hardy_wind_model  )  [inline]
 

destructor

Arroyo::Hardy_wind_model::Hardy_wind_model const Hardy_wind_model twm  ) 
 

Copy constructor

Arroyo::Hardy_wind_model::Hardy_wind_model const char *  filename  ) 
 

Construct from a file

Arroyo::Hardy_wind_model::Hardy_wind_model const iofits iof  ) 
 

Construct from an iofits object

Arroyo::Hardy_wind_model::Hardy_wind_model double  grnd_lyr_velocity,
double  trpse_height = 0,
double  trpse_thickness = 0,
double  trpse_velocity = 0
 

Construct from the bits

The ground layer velocity is in meters per second

The tropopause velocity is in meters per second

The tropopause height is in meters

The tropopause thickness is in meters


Member Function Documentation

Hardy_wind_model* Arroyo::Hardy_wind_model::clone  )  const [inline, virtual]
 

Virtual clone method

Calling routine is responsible for deleting memory

Implements Arroyo::wind_model.

std::vector<Arroyo::three_vector> Arroyo::Hardy_wind_model::get_random_wind_vectors const std::vector< double > &  heights,
const Arroyo::three_frame ref_frame
const [virtual]
 

Retrieve a set of random wind vectors from the Hardy wind model. These wind vectors contain a random ground layer component and a component arising from the tropospheric layer, which is modulated by a gaussian in height. Thus, there are two random components to the wind vector that are mapped to the layer heights in a way that depends on the tropospheric parameters of the model.

For a given atmospheric realization, you should get all the wind vectors at the same time, since these two random components determine the wind vectors at all altitudes.

wind vectors are measured in meters per second.

Height is in meters

Implements Arroyo::wind_model.

Hardy_wind_model& Arroyo::Hardy_wind_model::operator= const Hardy_wind_model twm  ) 
 

Operator=

void Arroyo::Hardy_wind_model::print ostream &  os,
const char *  prefix
const [virtual]
 

Print

Implements Arroyo::wind_model.

void Arroyo::Hardy_wind_model::read const iofits iof  )  [virtual]
 

Read from iofits

Implements Arroyo::wind_model.

void Arroyo::Hardy_wind_model::read const char *  filename  )  [virtual]
 

Read from file

Implements Arroyo::wind_model.

void Arroyo::Hardy_wind_model::write iofits iof  )  const [virtual]
 

Write to iofits

Implements Arroyo::wind_model.

void Arroyo::Hardy_wind_model::write const char *  filename  )  const [virtual]
 

Write to file

Implements Arroyo::wind_model.


Member Data Documentation

double Arroyo::Hardy_wind_model::ground_layer_wind_velocity [protected]
 

The wind velocity of the ground layer.

double Arroyo::Hardy_wind_model::tropopause_height [protected]
 

The height of the tropopause.

double Arroyo::Hardy_wind_model::tropopause_thickness [protected]
 

The thickness of the tropopause.

double Arroyo::Hardy_wind_model::tropopause_wind_velocity [protected]
 

The wind velocity at the tropopause.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 17:16:38 2007 for arroyo by  doxygen 1.3.9.1