deltaFlow
main.C
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Saud Zahir
3
*
4
* This file is part of deltaFlow.
5
*
6
* deltaFlow is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public
8
* License as published by the Free Software Foundation; either
9
* version 3 of the License, or (at your option) any later version.
10
*
11
* deltaFlow is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public
17
* License along with deltaFlow. If not, see
18
* <https://www.gnu.org/licenses/>.
19
*/
20
26
#include "
Argparse.H
"
27
#include "
Display.H
"
28
#include "
PowerFlowApplication.H
"
29
30
int
main
(
int
argc,
char
* argv[]) {
31
Display::printTerminalBanner
();
32
33
ArgumentParser
args(argc, argv);
34
35
PowerFlowApplication
app(args.
getOptions
());
36
return
app.
run
();
37
}
Argparse.H
Command-line argument parsing utilities for deltaFlow.
Display.H
Display and formatting utilities for terminal and file output.
PowerFlowApplication.H
Orchestrates a full deltaFlow power-flow analysis run (SRP).
ArgumentParser
Parses and stores command-line arguments for deltaFlow.
Definition
Argparse.H:64
ArgumentParser::getOptions
PowerFlowOptions getOptions() const noexcept
Get all parsed options as a plain data struct (ISP).
Definition
Argparse.C:159
PowerFlowApplication
Orchestrates the full power-flow analysis pipeline for one run.
Definition
PowerFlowApplication.H:55
PowerFlowApplication::run
int run()
Runs the full analysis pipeline: load input, solve, apply Q-limits, recompute results,...
Definition
PowerFlowApplication.C:239
main
int main(int argc, char *argv[])
Definition
main.C:30
Display::printTerminalBanner
void printTerminalBanner()
Prints the full colored banner to terminal.
Definition
Display.H:313
src
main.C
Generated by
1.9.8