www.mooseframework.org
main.C
Go to the documentation of this file.
1 #include "PorousFlowTestApp.h"
2 #include "MooseInit.h"
3 #include "Moose.h"
4 #include "MooseApp.h"
5 #include "AppFactory.h"
6 
7 // Create a performance log
8 PerfLog Moose::perf_log("PorousFlow");
9 
10 // Begin the main program.
11 int
12 main(int argc, char * argv[])
13 {
14  // Initialize MPI, solvers and MOOSE
15  MooseInit init(argc, argv);
16 
17  // Register this application's MooseApp and any it depends on
19 
20  // Create an instance of the application and store it in a smart pointer for easy cleanup
21  std::shared_ptr<MooseApp> app = AppFactory::createAppShared("PorousFlowTestApp", argc, argv);
22 
23  // Execute the application
24  app->run();
25 
26  return 0;
27 }
int main(int argc, char *argv[])
Definition: main.C:18
static void registerApps()