QGpCompatibility/CompatModalDispersion.h
Go to the documentation of this file.
00001 /***************************************************************************
00002 **
00003 **  This file is part of QGpCompatibility.
00004 **
00005 **  This file may be distributed and/or modified under the terms of the
00006 **  GNU General Public License version 2 or 3 as published by the Free
00007 **  Software Foundation and appearing in the file LICENSE.GPL included
00008 **  in the packaging of this file.
00009 **
00010 **  This file is distributed in the hope that it will be useful, but WITHOUT
00011 **  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 **  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
00013 **  more details.
00014 **
00015 **  You should have received a copy of the GNU General Public License
00016 **  along with this program. If not, see <http://www.gnu.org/licenses/>.
00017 **
00018 **  See http://www.geopsy.org for more information.
00019 **
00020 **  Created : 2004-10-21
00021 **  Authors:
00022 **    Marc Wathelet
00023 **    Marc Wathelet (ULg, Liège, Belgium)
00024 **    Marc Wathelet (LGIT, Grenoble, France)
00025 **
00026 ***************************************************************************/
00027 
00028 #ifndef COMPATMODALDISPERSION_H
00029 #define COMPATMODALDISPERSION_H
00030 
00031 // To be removed in the future, when Dinver will be completly finished
00032 #include <QGpCoreTools.h>
00033 #include <QGpCoreWave.h>
00034 #include "CompatDispersionData.h"
00035 
00036 #include <math.h>
00037 
00038 #include "CompatModalEllipticity.h"
00039 #include "CompatModalRefinedCurves.h"
00040 #include "QGpCompatibilityDLLExport.h"
00041 
00042 namespace QGpCompatibility {
00043 
00044 #define twopi (2*M_PI)
00045 
00046 #define COMPATMODALDISPERSION_INVALID_VALUE 0.0
00047 #define SLOWNESS_MISFIT
00048 
00049 class CompatModalEllipticity;
00050 
00051 class CompatModalDispersion : public CompatModalRefinedCurves
00052 {
00053   TRANSLATIONS( "CompatModalDispersion" );
00054 public:
00055   CompatModalDispersion() {_curves.setInvalidValue(COMPATMODALDISPERSION_INVALID_VALUE);}
00056 
00057   // To be removed in the future, when Dinver will be completly finished
00058   QGPCOMPATIBILITY_EXPORT CompatDispersionData * oldStyle();
00059 protected:
00060   virtual const QString& xml_tagName() const {return xmlModalDispersionTag;}
00061   QGPCOMPATIBILITY_EXPORT static const QString xmlModalDispersionTag;
00062 };
00063 
00064 } // namespace QGpCompatibility
00065 
00066 #endif // COMPATMODALDISPERSION_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines