iteration_callback.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016 CNRS & Universite Lille 1. All rights reserved.
3  *
4  * Licensed under the GRASP Open Source License V1.0 (see LICENSE file)
5  */
6 
7 /*
8  * File: iteration_callback.h
9  * Author: david
10  *
11  * Created on October 25, 2017, 6:28 AM
12  *
13  * This file helps to make callbacks to the C code from Fortran code.
14  * The callback is performed after each iteration to get partial results
15  */
16 
17 #ifndef ITERATION_CALLBACK_H
18 #define ITERATION_CALLBACK_H
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
29 void set_callback_function(void (*func)());
30 
31 
35 void iteration_callback();
36 
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* ITERATION_CALLBACK_H */
43 
void set_callback_function(void(*func)())
Definition: iteration_callback.c:20
void iteration_callback()
Definition: iteration_callback.c:24