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.

emearth3d.cpp 958B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* This file is part of Lemma, a geophysical modelling and inversion API */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. /**
  6. @file
  7. @author Trevor Irons
  8. @date 11/01/2010
  9. @version $Id: emearth3d.cpp 193 2014-11-10 23:51:41Z tirons $
  10. **/
  11. #include "emearth3d.h"
  12. namespace Lemma {
  13. // ==================== LIFECYCLE =======================
  14. EMEarth3D::EMEarth3D(const std::string &name) : LemmaObject(name)
  15. {
  16. }
  17. EMEarth3D* EMEarth3D::New() {
  18. EMEarth3D* Obj = new EMEarth3D("EMEarth3D");
  19. Obj->AttachTo(Obj);
  20. return Obj;
  21. }
  22. EMEarth3D::~EMEarth3D ( ) {
  23. }
  24. void EMEarth3D::Delete() {
  25. this->DetachFrom(this);
  26. }
  27. void EMEarth3D::Release() {
  28. delete this;
  29. }
  30. } // ----- end of Lemma name -----