|
pure-cpp 1.0.0
A C++ physics simulation benchmark comparing performance with Python implementations
|
Main entry point for the n-body simulation benchmark. More...
#include <QApplication>#include <QDebug>#include <QObject>#include <boost/program_options.hpp>#include <exception>#include "app_manager.hpp"#include "app_profiler.hpp"#include "cmd_line_parser.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | AppUtils |
| Namespace for application-wide utility functions, primarily for exception handling. | |
Functions | |
| int | AppUtils::handleException (const QString &message, CmdLine::ExitCode code) |
| Handles logging an exception message and returning the appropriate exit code. More... | |
| int | AppUtils::handleException (const char *message, CmdLine::ExitCode code) |
| Overload for handling exceptions with a simple C-string message. More... | |
| int | main (int argc, char *argv[]) |
| The main entry point for the application. More... | |
Main entry point for the n-body simulation benchmark.
This file is part of the pure C++ benchmark.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
This program simulates the gravitational interaction of multiple bodies in 3D space.
For a full list of command-line options and their descriptions, run the executable with the --help flag:
Definition in file main.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
The main entry point for the application.
| argc | Count of arguments transmitted to the program. |
| argv | Values of arguments transmitted to the program. |
Definition at line 84 of file main.cpp.
