USML
reflect_loss_netcdf.h
1 
7 #ifndef USML_OCEAN_REFLECT_LOSS_NETCDF_H
8 #define USML_OCEAN_REFLECT_LOSS_NETCDF_H
9 
10 #include <usml/ocean/reflect_loss_model.h>
11 #include <usml/ocean/reflect_loss_rayleigh.h>
12 #include <vector>
13 #include <netcdfcpp.h>
14 
15 namespace usml {
16 namespace ocean {
17 
18 using boost::numeric::ublas::vector;
19 
22 
29 class USML_DECLSPEC reflect_loss_netcdf : public reflect_loss_model {
30 
31  std::vector<reflect_loss_rayleigh*> rayleigh;
33 
34  public:
35 
45  reflect_loss_netcdf(const char *filename);
46 
58  virtual void reflect_loss(
59  const wposition1& location,
60  const seq_vector& frequencies, double angle,
61  vector<double>* amplitude, vector<double>* phase=NULL ) ;
62 
63 
65  virtual ~reflect_loss_netcdf();
66 } ;
67 
69 } // end of namespace ocean
70 } // end of namespace usml
71 
72 #endif
A reflection loss model computes the changes in amplitude and phase that result from the reflection o...
Definition: reflect_loss_model.h:30
The reflect_loss_netcdf object ingests a netCDF formatted file of bottom province data and creates a ...
Definition: reflect_loss_netcdf.h:29
std::vector< reflect_loss_rayleigh * > rayleigh
rayleigh : reflect_loss_rayleigh object
Definition: reflect_loss_netcdf.h:31
World location in geodetic earth coordinates (latitude, longitude, and altitude). ...
Definition: wposition1.h:23
data_grid< double, 2 > * province
province : data_grid2 object
Definition: reflect_loss_netcdf.h:32
A read-only, monotonic sequence of values.
Definition: seq_vector.h:36