www.mooseframework.org
main.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include "MooseInit.h"
11 #include "Moose.h"
12 #include "MooseApp.h"
13 #include "AppFactory.h"
14 
16 
17 // Create a performance log
18 PerfLog Moose::perf_log("FunctionalExpansionTools");
19 
20 // Begin the main program.
21 int
22 main(int argc, char * argv[])
23 {
24  // Initialize MPI, solvers and MOOSE
25  MooseInit init(argc, argv);
26 
27  // Register this application's MooseApp and any it depends on
29 
30  // Create an instance of the application and store it in a smart pointer for easy cleanup
31  std::shared_ptr<MooseApp> app =
32  AppFactory::createAppShared("FunctionalExpansionToolsTestApp", argc, argv);
33 
34  // Execute the application
35  app->run();
36 
37  return 0;
38 }
main
int main(int argc, char *argv[])
Definition: main.C:21
FunctionalExpansionToolsTestApp.h
FunctionalExpansionToolsTestApp::registerApps
static void registerApps()
Definition: FunctionalExpansionToolsTestApp.C:48