Flow123d  DF_patch_fe_data_tables-65e7202
Functions
main.cc File Reference

This file should contain only creation of Application object. More...

#include "coupling/application.hh"
#include <mpi.h>
#include <iostream>
#include <thread>
#include <chrono>

Go to the source code of this file.

Functions

void mpi_terminate ()
 
void application_run (int argc, char **argv)
 
int main (int argc, char **argv)
 

Detailed Description

This file should contain only creation of Application object.

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file main.cc.

Function Documentation

◆ application_run()

void application_run ( int  argc,
char **  argv 
)

Wrap application variable into separate function in order to force correct call of destructors before main catch block which is necessary for aborting all MPI processes.

Definition at line 70 of file main.cc.

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

FUNCTION "MAIN"

Definition at line 81 of file main.cc.

◆ mpi_terminate()

void mpi_terminate ( )

Definition at line 45 of file main.cc.

Here is the caller graph for this function: