/usr/include/adolc/revolve.h is in libadolc-dev 2.4.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | /*----------------------------------------------------------------------------
ADOL-C -- Automatic Differentiation by Overloading in C++
File: revolve.h
Revision: $Id: revolve.h 354 2012-10-01 11:32:26Z kulshres $
Contents: optimal binomial checkpointing adapted for ADOL-C
Copyright (c) Andrea Walther, Andreas Griewank, Andreas Kowarz
This file is part of ADOL-C. This software is provided as open source.
Any use, reproduction, or distribution of the software constitutes
recipient's acceptance of the terms of the accompanying license file.
---------------------------------------------------------------------------*/
#if !defined(ADOLC_REVOLVE_H)
#define ADOLC_REVOLVE_H 1
#include <adolc/common.h>
BEGIN_C_DECLS
typedef struct {
int advances;
int takeshots;
int commands;
int turn;
int reps;
int range;
int ch[ADOLC_CHECKUP];
int oldsnaps;
int oldfine;
} revolve_nums;
#ifndef _OPENMP
extern revolve_nums revolve_numbers;
#else
#include <omp.h>
extern revolve_nums *revolve_numbers;
#endif
enum revolve_action {
revolve_advance,
revolve_takeshot,
revolve_restore,
revolve_firsturn,
revolve_youturn,
revolve_terminate,
revolve_error
};
int maxrange(int ss, int tt);
int adjustsize(int* steps, int* snaps, int* reps);
enum revolve_action revolve(int* check,int* capo,int* fine,int snaps,int* info);
END_C_DECLS
#endif /* ADOLC_REVOLVE_H */
|