https://mooseframework.inl.gov
Loading...
Searching...
No Matches
main.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
11#include "gtest/gtest.h"
12
13// Moose includes
14#include "Moose.h"
15#include "MooseInit.h"
16#include "AppFactory.h"
17
18#include <fstream>
19#include <string>
20
21GTEST_API_ int
22main(int argc, char ** argv)
23{
24 // gtest removes (only) its args from argc and argv - so this must be before moose init
25 testing::InitGoogleTest(&argc, argv);
26
27 MooseInit init(argc, argv);
28 registerApp(ExternalPetscSolverApp);
31
32 return RUN_ALL_TESTS();
33}
This is a demo used to demonstrate how to couple an external app through the MOOSE wrapper APP.
bool _throw_on_error
bool _throw_on_warning
int main()