www.mooseframework.org
external_petsc_solver
unit
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
10
#include "
ExternalPetscSolverApp.h
"
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
21
PerfLog Moose::perf_log(
"gtest"
);
22
23
GTEST_API_
int
24
main
(
int
argc,
char
** argv)
25
{
26
// gtest removes (only) its args from argc and argv - so this must be before moose init
27
testing::InitGoogleTest(&argc, argv);
28
29
MooseInit init(argc, argv);
30
registerApp(
ExternalPetscSolverApp
);
31
Moose::_throw_on_error =
true
;
32
33
return
RUN_ALL_TESTS();
34
}
main
int main(int argc, char *argv[])
Definition:
main.C:21
ExternalPetscSolverApp
This is a demo used to demonstrate how to couple an external app through the MOOSE wrapper APP.
Definition:
ExternalPetscSolverApp.h:25
ExternalPetscSolverApp.h
Generated on Sat Jan 25 2020 12:04:35 for www.mooseframework.org by
1.8.16