|
Last change
on this file since 15396 was 15053, checked in by Eric.Larour, 13 years ago |
|
CHG: moved AdolcEdf from classes to toolkits/adolc
Created adolc directory for adolc patches.
|
|
File size:
619 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 |
|
|---|
| 19 | struct Adolc_edf {
|
|---|
| 20 | ext_diff_fct *myEDF_for_solverx_p;
|
|---|
| 21 | Adolc_edf() : myEDF_for_solverx_p(0) {}
|
|---|
| 22 | inline friend std::ostream& operator << ( ostream&, const Adolc_edf& );
|
|---|
| 23 | };
|
|---|
| 24 |
|
|---|
| 25 | std::ostream& operator << ( std::ostream& out, const Adolc_edf& a) {
|
|---|
| 26 | out << a.myEDF_for_solverx_p;
|
|---|
| 27 | return out;
|
|---|
| 28 | }
|
|---|
| 29 |
|
|---|
| 30 | #endif
|
|---|
| 31 |
|
|---|
| 32 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.