www.mooseframework.org
main.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
8 #include "MooseInit.h"
9 #include "Moose.h"
10 #include "MooseApp.h"
11 #include "AppFactory.h"
12 
13 // Create a performance log
14 PerfLog Moose::perf_log("FluidProperties");
15 
16 // Begin the main program.
17 int
18 main(int argc, char * argv[])
19 {
20  // Initialize MPI, solvers and MOOSE
21  MooseInit init(argc, argv);
22 
23  // Register this application's MooseApp and any it depends on
25 
26  // Create an instance of the application and store it in a smart pointer for easy cleanup
27  std::shared_ptr<MooseApp> app = AppFactory::createAppShared("FluidPropertiesTestApp", argc, argv);
28 
29  app->setCheckUnusedFlag(true);
30  app->setErrorOverridden();
31 
32  // Execute the application
33  app->run();
34 
35  return 0;
36 }
int main(int argc, char *argv[])
Definition: main.C:18