www.mooseframework.org
combined
src
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
14
#include "
CombinedTestApp.h
"
15
// Moose Includes
16
#include "MooseInit.h"
17
#include "Moose.h"
18
#include "MooseApp.h"
19
#include "AppFactory.h"
20
21
// Create a performance log
22
PerfLog Moose::perf_log(
"Modules"
);
23
24
// Begin the main program.
25
int
26
main
(
int
argc,
char
* argv[])
27
{
28
// Initialize MPI, solvers and MOOSE
29
MooseInit init(argc, argv);
30
31
// Register this application's MooseApp and any it depends on
32
CombinedTestApp::registerApps
();
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
}
main
int main(int argc, char *argv[])
Definition:
main.C:21
CombinedTestApp.h
CombinedTestApp::registerApps
static void registerApps()
Definition:
CombinedTestApp.C:82
Generated on Sat Jan 25 2020 12:04:35 for www.mooseframework.org by
1.8.16