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.

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. }