PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
main.cpp
Go to the documentation of this file.
1/*
2 * \file tests/mesh/main.cpp
3 * \copyright Copyright (c) 2016-2018, Barba group. All rights reserved.
4 * \license BSD 3-Clause License.
5 */
6
7#include <gtest/gtest.h>
8#include <petsc.h>
9
10// Run all tests
11int main(int argc, char **argv)
12{
13 PetscErrorCode status;
14
15 ::testing::InitGoogleTest(&argc, argv);
16 status = PetscInitialize(&argc, &argv, nullptr, nullptr);
17 CHKERRQ(status);
18 status = RUN_ALL_TESTS();
19 status = PetscFinalize();
20 CHKERRQ(status);
21
22 return status;
23} // main
int main(int argc, char **argv)
Definition: main.cpp:48