source: issm/oecreview/Archive/14312-15392/ISSM-15052-15053.diff

Last change on this file was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

File size: 4.4 KB
  • ../trunk-jpl/src/c/toolkits/adolc/adolcincludes.h

     
     1/* \file adolcincludes.h
     2 * \brief all includes for ADOLC layer
     3 */
     4
     5#ifndef _ADOLC_PATCHES_INCLUDES_H_
     6#define _ADOLC_PATCHES_INCLUDES_H_
     7
     8#include "./AdolcEdf.h"
     9
     10#endif
  • ../trunk-jpl/src/c/toolkits/adolc/AdolcEdf.h

     
     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
     19struct 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
     25std::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
  • ../trunk-jpl/src/c/toolkits/gsl/DenseGslSolve.cpp

     
    1010#endif
    1111
    1212#include "../../shared/shared.h"
    13 #include "../../classes/AdolcEdf.h"
     13#include "../adolc/adolcincludes.h"
    1414#include "../../classes/Params/GenericParam.h"
    1515#include "../../classes/Params/Parameters.h"
    1616#include "./gslincludes.h"
  • ../trunk-jpl/src/c/toolkits/toolkits.h

     
    2727#include "./gsl/gslincludes.h"
    2828#endif
    2929
     30#ifdef _HAVE_ADOLC_
     31#include "./adolc/adolcincludes.h"
     32#endif
     33
     34#ifdef _HAVE_TRIANGLE_
    3035#include "./triangle/triangleincludes.h"
     36#endif
     37
    3138#include "./objects/toolkitobjects.h"
    3239#include "./toolkitsenums.h"
    3340#include "./issm/issmtoolkit.h"
  • ../trunk-jpl/src/c/Makefile.am

     
    5959                                        ./classes/Segment.h\
    6060                                        ./classes/Vertex.h\
    6161                                        ./classes/Vertex.cpp\
    62                                         ./classes/AdolcEdf.h\
    6362                                        ./classes/Hook.h\
    6463                                        ./classes/Hook.cpp\
    6564                                        ./classes/Patch.h\
     
    225224                                        ./toolkits/issm/IssmVec.h\
    226225                                        ./toolkits/issm/IssmSolver.h\
    227226                                        ./toolkits/issm/IssmSolver.cpp\
     227                                        ./toolkits/adolc/adolcincludes.h\
     228                                        ./toolkits/adolc/AdolcEdf.h\
    228229                                        ./toolkits/ToolkitOptions.h\
    229230                                        ./toolkits/ToolkitOptions.cpp\
    230231                                        ./toolkits/triangle/triangleincludes.h\
  • ../trunk-jpl/src/c/classes/AdolcEdf.h

     
    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
  • ../trunk-jpl/src/c/classes/classes.h

     
    156156#include "./Update.h"
    157157#include "./FemModel.h"
    158158#include "./GiaDeflectionCoreArgs.h"
    159 #include "./AdolcEdf.h"
    160159#include "./RiftStruct.h"
    161160
    162161#endif
Note: See TracBrowser for help on using the repository browser.