Main Lemma Repository
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

CubicSplineInterpolator.cpp 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 "CubicSplineInterpolator.h"
  18. #include "ASCIIParser.h"
  19. using namespace Lemma;
  20. int main() {
  21. //auto Spline = CubicSplineInterpolator::NewSP();
  22. //auto Spline2 = CubicSplineInterpolator();
  23. auto Parser = ASCIIParser::NewSP();
  24. //ASCIIParser Parser2 = ASCIIParser();
  25. // Parser2.SetCommentString( "#");
  26. //auto Parser3 = ASCIIParser(Parser2);
  27. // auto Parser3 = *Parser;
  28. //std::cout << Parser3;
  29. //std::cout << *Parser << std::endl;
  30. //YAML::Node node = Parser->Serialize();
  31. //std::cout << node << std::endl;
  32. //auto Obj2 = ASCIIParser::DeSerialize(Parser->Serialize());
  33. //std::cout << *Obj2 << std::endl;
  34. // std::cout << "string " << Parser->GetName() << "\t" << Obj2->GetName() << "\n";
  35. // TS_ASSERT_EQUALS( Obj->GetName(), Obj2->GetName() );
  36. //std::cout << Parser2 << std::endl;
  37. //std::cout << Parser3 << std::endl;
  38. }