Lemma is an Electromagnetics API
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

banner.cpp 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  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 05/03/2010
  9. @version $Id: banner.cpp 87 2013-09-05 22:44:05Z tirons $
  10. **/
  11. #include "banner.h"
  12. ///Prints banner information to the screen
  13. void banner(const std::string &name, const std::string &version,
  14. const std::string &usage) {
  15. std::cout << std::endl;
  16. std::cout << " " << name.c_str() << version.c_str() << std::endl;
  17. std::cout << std::endl;
  18. std::cout << " A program built from Lemma v 1.0b" << std::endl;
  19. std::cout << " Usage: " << usage.c_str() << std::endl;
  20. std::cout << std::endl;
  21. std::cout << " Developed jointly by the Center for Gravity, " <<
  22. "Electrical, and Magnetic" <<std::endl;
  23. std::cout << " Studies (CGEM), the United States Geologic " <<
  24. "Survey (USGS), and Broken" << std::endl;
  25. std::cout << " Spoke Development, LLC." <<std::endl;
  26. std::cout << std::endl;
  27. std::cout << " (C) Copyright 2010, Trevor Irons and M. Andy Kass. " <<
  28. "Some rights reserved." << std::endl;
  29. std::cout << " Please see license for details." << std::endl;
  30. std::cout << std::endl;
  31. }