Ignis
Loading...
Searching...
No Matches
main.cc
Go to the documentation of this file.
1
2
#include <string>
3
#include <iostream>
4
5
using
std::string;
6
using
std::cout, std::endl;
7
9
10
int
driver_premixed
();
11
int
driver_diffusion
();
12
int
driver_diffusion_table
();
13
int
driver_flamelet
();
14
16
17
int
main
(
int
nargs,
char
*argv[]) {
18
19
int
ireturn;
20
21
if
(nargs < 2) {
22
ireturn =
driver_premixed
();
23
}
24
else
{
25
if
(
string
(argv[1]) ==
"premixed"
)
26
ireturn =
driver_premixed
();
27
else
if
(
string
(argv[1]) ==
"diffusion"
)
28
ireturn =
driver_diffusion
();
29
else
if
(
string
(argv[1]) ==
"diffusion_table"
)
30
ireturn =
driver_diffusion_table
();
31
else
if
(
string
(argv[1]) ==
"flamelet"
)
32
ireturn =
driver_flamelet
();
33
else
{
34
cout <<
"\n\nERROR: invalid case type argument\n"
<< endl;
35
ireturn = 1;
36
}
37
}
38
39
return
ireturn;
40
}
main
int main(int nargs, char *argv[])
Definition
main.cc:17
driver_diffusion
int driver_diffusion()
Definition
driver_diffusion.cc:21
driver_flamelet
int driver_flamelet()
Definition
driver_flamelet.cc:21
driver_premixed
int driver_premixed()
Definition
driver_premixed.cc:23
driver_diffusion_table
int driver_diffusion_table()
Definition
driver_diffusion_table.cc:25
src
main.cc