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 23 of file main.C.

24 {
25  // Initialize MPI, solvers and MOOSE
26  MooseInit init(argc, argv);
27 
28  // Register this application's MooseApp and any it depends on
30 
31  // Create an instance of the application and store it in a smart pointer for easy cleanup
32  std::shared_ptr<MooseApp> app = AppFactory::createAppShared("CombinedTestApp", argc, argv);
33 
34  app->setCheckUnusedFlag(true);
35  app->setErrorOverridden();
36 
37  // Execute the application
38  app->run();
39 
40  return 0;
41 }
static void registerApps()