Main Lemma Repository
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

CubicSplineInterpolator.cpp 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 09/21/2016 10:24:57 AM
  11. * @version $Id$
  12. * @author Trevor Irons (ti)
  13. * @email tirons@egi.utah.edu
  14. * @copyright Copyright (c) 2016, University of Utah
  15. * @copyright Copyright (c) 2016, Trevor Irons & Lemma Software, LLC
  16. */
  17. #include "LemmaCore"
  18. using namespace Lemma;
  19. int main() {
  20. auto win = WindowFilter::NewSP();
  21. std::cout << *win << std::endl;
  22. //auto Spline = CubicSplineInterpolator::NewSP();
  23. //auto Spline2 = CubicSplineInterpolator();
  24. //auto Parser = ASCIIParser::NewSP();
  25. //ASCIIParser Parser2 = ASCIIParser();
  26. // Parser2.SetCommentString( "#");
  27. //auto Parser3 = ASCIIParser(Parser2);
  28. // auto Parser3 = *Parser;
  29. //std::cout << Parser3;
  30. //std::cout << *Parser << std::endl;
  31. //YAML::Node node = Parser->Serialize();
  32. //std::cout << node << std::endl;
  33. //auto Obj2 = ASCIIParser::DeSerialize(Parser->Serialize());
  34. //std::cout << *Obj2 << std::endl;
  35. // std::cout << "string " << Parser->GetName() << "\t" << Obj2->GetName() << "\n";
  36. // TS_ASSERT_EQUALS( Obj->GetName(), Obj2->GetName() );
  37. //std::cout << Parser2 << std::endl;
  38. //std::cout << Parser3 << std::endl;
  39. }