www.mooseframework.org
main.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include <fstream>
11 #include <string>
12 
13 #include "Moose.h"
14 #include "MooseInit.h"
15 #include "AppFactory.h"
16 
17 #include "gtest/gtest.h"
18 
20 
21 PerfLog Moose::perf_log("gtest");
22 
23 MooseEnum single_series_types_1D("Legendre");
24 MooseEnum single_series_types_2D("Zernike");
25 MooseEnum expansion_type("orthonormal sqrt_mu standard");
26 MooseEnum generation_type("orthonormal sqrt_mu standard");
27 
28 GTEST_API_ int
29 main(int argc, char ** argv)
30 {
31  // gtest removes (only) its args from argc and argv - so this must be before moose init
32  testing::InitGoogleTest(&argc, argv);
33 
34  MooseInit init(argc, argv);
35  registerApp(FunctionalExpansionToolsApp);
36  Moose::_throw_on_error = true;
37 
38  return RUN_ALL_TESTS();
39 }
main
int main(int argc, char *argv[])
Definition: main.C:21
generation_type
MooseEnum generation_type("orthonormal sqrt_mu standard")
single_series_types_1D
MooseEnum single_series_types_1D("Legendre")
single_series_types_2D
MooseEnum single_series_types_2D("Zernike")
FunctionalExpansionToolsApp.h
expansion_type
MooseEnum expansion_type("orthonormal sqrt_mu standard")
FunctionalExpansionToolsApp
Definition: FunctionalExpansionToolsApp.h:19