profile_catenary.h

00001 
00005 #pragma once
00006 
00007 #include <usml/ocean/profile_model.h>
00008 
00009 namespace usml {
00010 namespace ocean {
00011 
00014 
00036 class USML_DECLSPEC profile_catenary : public profile_model {
00037 
00038     //**************************************************
00039     // sound speed model
00040 
00042     double _soundspeed1 ;
00043 
00045     double _gradient1 ;
00046 
00048     double _depth1 ;
00049 
00050   public:
00051 
00060     virtual void sound_speed( const wposition& location, 
00061         matrix<double>* speed, wvector* gradient ) ;
00062 
00063     //**************************************************
00064     // initialization
00065 
00076     profile_catenary(
00077         double c1, double g1, double z1, 
00078         attenuation_model* attmodel=NULL 
00079         ) : 
00080         profile_model(attmodel),
00081         _soundspeed1(c1), _gradient1(g1), _depth1(z1)
00082         { }
00083 
00084 };
00085 
00087 }  // end of namespace ocean
00088 }  // end of namespace usml

Generated on 4 May 2015 for USML by  doxygen 1.6.1