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
|
Rev | Line | |
---|
[13530] | 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 |
|
---|
[13767] | 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
|
---|
[13530] | 16 |
|
---|
[13767] | 17 | #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
|
---|
[16137] | 18 | #include "adolc/adolc.h"
|
---|
[13767] | 19 |
|
---|
[13530] | 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.