| 1 |
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
| 2 |
// vi: set et ts=4 sw=2 sts=2: |
| 3 |
// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root |
| 4 |
// SPDX-License-Identifier: LGPL-2.1-or-later |
| 5 |
/****************************************************************************/ |
| 6 |
/* */ |
| 7 |
/* File: notify.h */ |
| 8 |
/* */ |
| 9 |
/* Purpose: header file for notification module */ |
| 10 |
/* */ |
| 11 |
/* Author: Klaus Birken */ |
| 12 |
/* Rechenzentrum Uni Stuttgart */ |
| 13 |
/* Universitaet Stuttgart */ |
| 14 |
/* Allmandring 30 */ |
| 15 |
/* 70550 Stuttgart */ |
| 16 |
/* internet: [email protected] */ |
| 17 |
/* */ |
| 18 |
/* */ |
| 19 |
/* History: 95/04/04 kb created */ |
| 20 |
/* */ |
| 21 |
/* Remarks: */ |
| 22 |
/* */ |
| 23 |
/****************************************************************************/ |
| 24 |
|
| 25 |
|
| 26 |
/****************************************************************************/ |
| 27 |
/* */ |
| 28 |
/* auto include mechanism and other include files */ |
| 29 |
/* */ |
| 30 |
/****************************************************************************/ |
| 31 |
|
| 32 |
#ifndef __DDD_NOTIFY_H__ |
| 33 |
#define __DDD_NOTIFY_H__ |
| 34 |
|
| 35 |
#include <dune/uggrid/parallel/ddd/dddtypes.hh> |
| 36 |
|
| 37 |
#include <dune/uggrid/parallel/ddd/include/ddd.h> |
| 38 |
|
| 39 |
namespace DDD { |
| 40 |
|
| 41 |
/****************************************************************************/ |
| 42 |
/* */ |
| 43 |
/* data structures */ |
| 44 |
/* */ |
| 45 |
/****************************************************************************/ |
| 46 |
|
| 47 |
#define EXCEPTION_NOTIFY -1 |
| 48 |
|
| 49 |
/****************************************************************************/ |
| 50 |
/* */ |
| 51 |
/* data structures */ |
| 52 |
/* */ |
| 53 |
/****************************************************************************/ |
| 54 |
|
| 55 |
using NOTIFY_DESC = DDD::Basic::NOTIFY_DESC; |
| 56 |
|
| 57 |
/****************************************************************************/ |
| 58 |
/* */ |
| 59 |
/* function declarations */ |
| 60 |
/* */ |
| 61 |
/****************************************************************************/ |
| 62 |
|
| 63 |
|
| 64 |
void NotifyInit(DDD::DDDContext& context); |
| 65 |
void NotifyExit(DDD::DDDContext& context); |
| 66 |
|
| 67 |
NOTIFY_DESC *DDD_NotifyBegin(DDD::DDDContext& context, int); |
| 68 |
void DDD_NotifyEnd(DDD::DDDContext& context); |
| 69 |
int DDD_Notify(DDD::DDDContext& context); |
| 70 |
|
| 71 |
} /* namespace DDD */ |
| 72 |
|
| 73 |
#endif |