123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
-
-
-
-
-
-
- #ifndef __EMEARTH1D_H
- #define __EMEARTH1D_H
-
- #include "dipolesource.h"
- #include "layeredearthem.h"
- #include "receiverpoints.h"
- #include "WireAntenna.h"
- #include "PolygonalWireAntenna.h"
- #include "kernelem1dspec.h"
- #include "kernelem1dmanager.h"
- #include "hankeltransformgaussianquadrature.h"
- #include "hankeltransformhankel2.h"
- #include "FHTKey.h"
- #include "FHTKey51.h"
- #include "FHTKey101.h"
- #include "QWEKey.h"
- #include "CubicSplineInterpolator.h"
-
- #ifdef HAVEBOOSTPROGRESS
- #include "boost/progress.hpp"
- #endif
-
- namespace Lemma {
-
-
-
-
-
-
- class EMEarth1D : public LemmaObject {
-
- friend std::ostream &operator<<(std::ostream &stream,
- const EMEarth1D &ob);
-
- public:
-
-
-
-
-
-
-
- static EMEarth1D* New();
-
-
-
- void Delete();
-
-
-
- void Query();
-
- #ifdef HAVE_YAMLCPP
-
-
- YAML::Node Serialize() const;
-
-
- #endif
-
-
-
-
-
-
-
- #ifdef COMPILE_FORTRAN
- void MakeCalc();
- #endif
-
-
- void MakeCalc3();
-
-
- void CalculateWireAntennaFields(bool progressbar=false);
-
-
-
-
- void AttachWireAntenna(WireAntenna *antennae);
-
-
- void AttachDipoleSource(DipoleSource *dipole);
-
-
- void AttachLayeredEarthEM(LayeredEarthEM *Earth);
-
-
- void AttachReceiverPoints(ReceiverPoints *Receivers);
-
-
- void SetFieldsToCalculate(const FIELDCALCULATIONS &calc);
-
-
-
- void SetHankelTransformMethod(const HANKELTRANSFORMTYPE &type);
-
-
-
- protected:
-
-
-
-
- EMEarth1D (const std::string& name);
-
- #ifdef HAVE_YAMLCPP
-
- EMEarth1D (const YAML::Node& node);
- #endif
-
-
- ~EMEarth1D ();
-
-
-
- void Release();
-
-
-
-
-
- void SolveSingleTxRxPair(const int &irec,
- HankelTransform *Hankel,
- const Real &wavef, const int &ifreq,
- DipoleSource *tDipole);
-
-
-
- void SolveLaggedTxRxPair(const int &irec, Hankel2* Hankel,
- const Real &wavef, const int &ifreq,
- PolygonalWireAntenna* antenna);
-
-
- void DetachAll();
-
-
-
-
- DipoleSource* Dipole;
-
-
- LayeredEarthEM* Earth;
-
-
- ReceiverPoints* Receivers;
-
-
- WireAntenna* Antenna;
-
-
- FIELDCALCULATIONS FieldsToCalculate;
-
-
-
- HANKELTRANSFORMTYPE HankelType;
-
-
-
- int icalcinner;
-
-
-
- int icalc;
-
- };
-
-
-
-
-
-
- class NullReceivers : public std::runtime_error {
-
-
- public: NullReceivers();
- };
-
-
-
- class NullAntenna : public std::runtime_error {
-
-
- public: NullAntenna();
- };
-
-
-
- class NullInstrument : public std::runtime_error {
-
-
- public: NullInstrument(LemmaObject* ptr);
- };
-
-
-
- class DipoleSourceSpecifiedForWireAntennaCalc : public std::runtime_error {
-
-
- public: DipoleSourceSpecifiedForWireAntennaCalc();
- };
-
- }
-
- #endif
|