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.

datareaderfem.cpp 921B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 M. Andy Kass
  8. @date 01/03/2013
  9. @version $Id$
  10. **/
  11. #include "datareaderfem.h"
  12. namespace Lemma {
  13. DataReaderFem::DataReaderFem(const std::string &name) : DataReader(name) {
  14. }
  15. DataReaderFem::~DataReaderFem() {
  16. }
  17. DataReaderFem* DataReaderFem::New() {
  18. DataReaderFem* Obj = new DataReaderFem("DataReaderFem");
  19. Obj->AttachTo(Obj);
  20. return Obj;
  21. }
  22. void DataReaderFem::Delete() {
  23. this->DetachFrom(this);
  24. }
  25. void DataReaderFem::Release() {
  26. delete this;
  27. }
  28. Data* DataReaderFem::GetData() {
  29. return 0;
  30. // I fucking hate virtual functions and they should die
  31. }
  32. } // end of namespace Lemma