Last change
on this file since 16137 was 16137, checked in by Mathieu Morlighem, 12 years ago |
merged trunk-jpl and trunk for revision 16135
|
File size:
644 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * adolc_edf.h
|
---|
3 | *
|
---|
4 | * Created on: Jun 26, 2012
|
---|
5 | * Author: utke
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef _ADOLC_EDF_H_
|
---|
9 | #define _ADOLC_EDF_H_
|
---|
10 |
|
---|
11 | #ifdef HAVE_CONFIG_H
|
---|
12 | #include <config.h>
|
---|
13 | #else
|
---|
14 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
15 | #endif
|
---|
16 |
|
---|
17 | #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
|
---|
18 | #include "adolc/adolc.h"
|
---|
19 |
|
---|
20 | struct Adolc_edf {
|
---|
21 | ext_diff_fct *myEDF_for_solverx_p;
|
---|
22 | Adolc_edf() : myEDF_for_solverx_p(0) {}
|
---|
23 | inline friend std::ostream& operator << ( ostream&, const Adolc_edf& );
|
---|
24 | };
|
---|
25 |
|
---|
26 | std::ostream& operator << ( std::ostream& out, const Adolc_edf& a) {
|
---|
27 | out << a.myEDF_for_solverx_p;
|
---|
28 | return out;
|
---|
29 | }
|
---|
30 |
|
---|
31 | #endif
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.