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

◆ main()

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

Definition at line 26 of file main.C.

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