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.

instrument.cpp 741B

1234567891011121314151617181920212223242526272829303132
  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 02/05/2010
  9. @version $Id: instrument.cpp 193 2014-11-10 23:51:41Z tirons $
  10. **/
  11. #include "instrument.h"
  12. namespace Lemma {
  13. std::ostream &operator<<(std::ostream &stream,
  14. const Instrument &ob) {
  15. stream << *(LemmaObject*)(&ob);
  16. return stream;
  17. }
  18. Instrument::Instrument(const std::string &name) :
  19. LemmaObject(name) {
  20. }
  21. Instrument::~Instrument() {
  22. }
  23. } // ----- end of Lemma name -----