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

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