Flow123d  JS_before_hm-1804-gf2ad740aa
Functions
application_base.cc File Reference


More...

#include "system/application_base.hh"
#include "system/sys_profiler.hh"
#include "system/logger_options.hh"
#include "system/armadillo_tools.hh"
#include "system/file_path.hh"
#include "system/system.hh"
#include <signal.h>
#include <string.h>
#include <iostream>
#include <sstream>
#include "mpi.h"
#include "petscerror.h"
#include "system/exc_common.hh"
#include "system/global_defs.h"
#include "system/logger.hh"

Go to the source code of this file.

Functions

PetscErrorCode petsc_signal_handler (int signal, FMT_UNUSED void *context)
 
void system_signal_handler (int signal)
 

Detailed Description


 * 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 application_base.cc.

Function Documentation

◆ petsc_signal_handler()

PetscErrorCode petsc_signal_handler ( int  signal,
FMT_UNUSED void *  context 
)

Function that catches all program signals. Note: context variable required by PETSc function PetscPushSignalHandler

Definition at line 48 of file application_base.cc.

Here is the caller graph for this function:

◆ system_signal_handler()

void system_signal_handler ( int  signal)

Definition at line 66 of file application_base.cc.

Here is the caller graph for this function: