Lemma is an Electromagnetics API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* This file is part of Lemma, a geophysical modelling and inversion API.
  2. * More information is available at http://lemmasoftware.org
  3. */
  4. /* This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. */
  8. /**
  9. * @file
  10. * @date 01/29/2014 06:59:39 AM
  11. * @version $Id$
  12. * @author Trevor Irons (ti)
  13. * @email Trevor.Irons@xri-geo.com
  14. * @copyright Copyright (c) 2014, XRI Geophysics, LLC
  15. * @copyright Copyright (c) 2014, Trevor Irons
  16. */
  17. #ifndef GROUNDEDELECTRICDIPOLE_INC
  18. #define GROUNDEDELECTRICDIPOLE_INC
  19. #include "dipolesource.h"
  20. namespace Lemma {
  21. /**
  22. \brief Grounded electric dipole
  23. \details Used to model an idealised grounded electrid dipole of arbitrary
  24. polarisation.
  25. */
  26. class GroundedElectricDipole : public DipoleSource {
  27. friend std::ostream &operator<<(std::ostream &stream,
  28. const GroundedElectricDipole &ob);
  29. public:
  30. // ==================== LIFECYCLE =======================
  31. /**
  32. * @copybrief LemmaObject::New()
  33. * @copydetails LemmaObject::New()
  34. */
  35. static GroundedElectricDipole* New();
  36. /**
  37. * @copybrief LemmaObject::Delete()
  38. * @copydetails LemmaObject::Delete()
  39. */
  40. void Delete();
  41. // ==================== OPERATORS =======================
  42. // ==================== OPERATIONS =======================
  43. // ==================== ACCESS =======================
  44. // ==================== INQUIRY =======================
  45. protected:
  46. // ==================== LIFECYCLE =======================
  47. /** Default protected constructor, use New */
  48. GroundedElectricDipole (const std::string& name);
  49. /** Default protected destructor, use Delete */
  50. ~GroundedElectricDipole ();
  51. /**
  52. * @copybrief LemmaObject::Release()
  53. * @copydetails LemmaObject::Release()
  54. */
  55. void Release();
  56. private:
  57. // ==================== DATA MEMBERS =========================
  58. }; // ----- end of class GroundedElectricDipole -----
  59. } // ----- end of Lemma name -----
  60. #endif // ----- #ifndef GROUNDEDELECTRICDIPOLE_INC -----