Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
src
serac
infrastructure
terminator.hpp
Go to the documentation of this file.
1
// Copyright (c) 2019-2024, Lawrence Livermore National Security, LLC and
2
// other Serac Project Developers. See the top-level LICENSE file for
3
// details.
4
//
5
// SPDX-License-Identifier: (BSD-3-Clause)
6
13
#pragma once
14
15
namespace
serac
{
16
20
namespace
terminator {
21
32
void
registerSignals
();
33
34
}
// namespace terminator
35
46
void
exitGracefully
(
bool
error =
false
);
47
48
}
// namespace serac
serac::terminator::registerSignals
void registerSignals()
Registers the signalHandler function to handle various fatal signals.
Definition:
terminator.cpp:34
serac
Accelerator functionality.
Definition:
serac.cpp:38
serac::exitGracefully
void exitGracefully(bool error)
Exits the program gracefully after cleaning up necessary tasks.
Definition:
terminator.cpp:44
Generated by
1.9.1