www.mooseframework.org
Functions
main.C File Reference

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 12 of file main.C.

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 }
static void registerApps()