WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
main.cc
Go to the documentation of this file.
1
//---------------------------- step-34.cc ---------------------------
2
// $Id: step-34.cc 18734 2009-04-25 13:36:48Z heltai $
3
// Version: $Name$
4
//
5
// Copyright (C) 2009, 2010 by the deal.II authors
6
//
7
// This file is subject to QPL and may not be distributed
8
// without copyright and license information. Please refer
9
// to the file deal.II/doc/license.html for the text and
10
// further information on this license.
11
//
12
// Authors: Luca Heltai, Cataldo Manigrasso
13
//
14
//---------------------------- step-34.cc ---------------------------
15
16
#include "
driver.h
"
17
#include "
bem_problem.h
"
18
#include "
free_surface.h
"
19
20
21
22
int
main
(
int
argc,
char
*argv[])
23
{
24
try
25
{
26
Utilities::MPI::MPI_InitFinalize
mpi_initialization(argc, argv, 1);
27
Driver<3>
driver(argc, argv);
28
29
30
driver.
run
();
31
}
32
catch
(std::exception &exc)
33
{
34
std::cerr << std::endl << std::endl
35
<<
"----------------------------------------------------"
36
<< std::endl;
37
std::cerr <<
"Exception on processing: "
<< std::endl
38
<< exc.what() << std::endl
39
<<
"Aborting!"
<< std::endl
40
<<
"----------------------------------------------------"
41
<< std::endl;
42
43
return
1;
44
}
45
catch
(...)
46
{
47
std::cerr << std::endl << std::endl
48
<<
"----------------------------------------------------"
49
<< std::endl;
50
std::cerr <<
"Unknown exception!"
<< std::endl
51
<<
"Aborting!"
<< std::endl
52
<<
"----------------------------------------------------"
53
<< std::endl;
54
return
1;
55
}
56
57
58
return
0;
59
}
free_surface.h
Driver::run
void run()
Definition:
driver.cc:46
driver.h
bem_problem.h
Driver
Definition:
driver.h:28
main
int main(int argc, char *argv[])
Definition:
main.cc:22
Utilities::MPI::MPI_InitFinalize
source
main.cc
Generated on Fri May 6 2016 20:30:22 for WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction. by
1.8.10