Bertini 2 - C++ Core
Software for Numerical Algebraic Geometry
Loading...
Searching...
No Matches
splash.hpp
Go to the documentation of this file.
1//This file is part of Bertini 2.
2//
3//bertini2/io/splash.hpp is free software: you can redistribute it and/or modify
4//it under the terms of the GNU General Public License as published by
5//the Free Software Foundation, either version 3 of the License, or
6//(at your option) any later version.
7//
8//bertini2/io/splash.hpp is distributed in the hope that it will be useful,
9//but WITHOUT ANY WARRANTY; without even the implied warranty of
10//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11//GNU General Public License for more details.
12//
13//You should have received a copy of the GNU General Public License
14//along with bertini2/io/splash.hpp. If not, see <http://www.gnu.org/licenses/>.
15//
16// Copyright(C) 2015 - 2021 by Bertini2 Development Team
17//
18// See <http://www.gnu.org/licenses/> for a copy of the license,
19// as well as COPYING. Bertini2 is provided with permitted
20// additional terms in the b2/licenses/ directory.
21
22// individual authors of this file include:
23// silviana amethyst, university of wisconsin-eau claire
24
30
31#pragma once
32
33#include "bertini2/version.hpp"
34
35#include "boost/version.hpp"
36
37#include <sstream>
38
39namespace bertini{
40
41inline
42std::string LicenseInfo()
43{
44 std::stringstream ss;
45 ss << "Bertini 2 is available under the GPL 3 license,\nwith additional terms as permitted under Section 7.\n\nPlease see the full text of the licenses for Bertini and its dependencies in the source code at b2/licenses.\n\n";
46 ss << "Bertini 2 depends on the following software and libraries:"
47 "\n"
48 "==\n"
49 "Eigen\n"
50 "--\n"
51 "Eigen is available from http://eigen.tuxfamily.org/index.php?title=Main_Page\n"
52 "\n"
53 "Eigen's license as of April 12, 2016 is MPL2, with some LGPL scattered in.\nFor more information, please consult\n"
54 "http://eigen.tuxfamily.org/index.php?title=FAQ#Licensing\n"
55 "\n"
56 "The Mozilla Public License 2.0 has been included at b2/licenses/\n"
57 "\n"
58 "==\n"
59 "GMP\n"
60 "--\n"
61 "The GNU Multiple Precision Library is available from https://gmplib.org/.\n"
62 "\n"
63 "Since version 6, GMP is distributed under the dual licenses, GNU LGPL v3 and GNU GPL v2.\n"
64 "\n"
65 "The GNU LGPL license has been included in Bertini 2 at b2/licenses/\n"
66 "\n"
67 "==\n"
68 "MPFR\n"
69 "--\n"
70 "The GNU MPFR library is available from http://www.mpfr.org/.\n"
71 "\n"
72 "MPFR is free.\nIt is distributed under the GNU Lesser General Public License (GNU Lesser GPL),\nversion 3 or later (2.1 or later for MPFR versions until 2.4.x).\n"
73 "\n"
74 "==\n"
75 "Boost\n"
76 "--\n"
77 "The Boost C++ libraries are available from http://www.boost.org/.\n"
78 "\n"
79 "Boost is available under the Boost License 1.0.\nPlease see http://www.boost.org/users/license.html.\nA copy of the BPL has been included in b2/licenses.\n";
80
81 return ss.str();
82}
83
84inline
85std::string SourceURL()
86{
87 return PACKAGE_URL;
88}
89
90inline
91std::string WikiURL()
92{
93 return "https://github.com/bertiniteam/b2/wiki";
94}
95
96inline
97std::string Version()
98{
99 return PACKAGE_VERSION;
100}
101
102inline
103std::string Owners()
104{
105 std::stringstream ss;
106 ss << "D.J. Bates, S. Amethyst, J.D. Hauenstein,\nA.J. Sommese, C.W. Wampler";
107 return ss.str();
108}
109
110inline
111std::string Authors()
112{
113 std::stringstream ss;
114 ss << "S. Amethyst, J. Collins, T. Hodges";
115 return ss.str();
116}
117
118inline
119std::string SplashScreen()
120{
121 std::stringstream ss;
122
123 ss << " Bertini(TM) 2\n\n";
124 ss << " The Bertini Trademark is owned by\n" << Owners() << "\n\n";
125 ss << " The code is primarily authored by\n" << Authors() << "\n\n";
126 ss << " Source available online at\n" << SourceURL() << "\n\n";
127 ss << " Wiki online at\n" << WikiURL() << "\n\n";
128 ss << " This is version\n" << Version() << "\n";
129 ss << " Bertini2 is GPL3 Free/Libre Open Source Software, please contribute!\n\n";
130 return ss.str();
131}
132
133
134inline
135std::string GenericHelp()
136{
137 return "";
138}
139
140
141inline
142std::string BoostHeaderVersion()
143{
144 std::stringstream ss;
145 ss << BOOST_VERSION;
146 return ss.str();
147}
148
149
150
151inline
152std::string DependencyVersions()
153{
154 std::stringstream ss;
155 ss << "Compiled against Boost headers " << BoostHeaderVersion() << "\n\n";
156 return ss.str();
157}
158
159
160}// re: namespace bertini
161
162