source: trunk/cppad/local/undef.hpp @ 2939

Last change on this file since 2939 was 2939, checked in by bradbell, 7 years ago
  1. Make sure all '# defines' have an '# undef' and vise-verser.
  2. Add adolc tests to jenkins.sh.

check_define.sh: New reoutine that check defines have matching undef.
package.sh: run check_define.sh.
search.sh: add missing source directory to search.
configure.hpp.in: fix bug in speed tests (name of preprocessor macro).
pow.hpp: fix comment.
thread_alloc.hpp: fix spelling in comment.
jenkins.sh: Automatically set LD_LIBRARY_PATH.
base_adolc.hpp: fix problem when using ADOL-C-2.4.1
adolc_prefix.omh: add link to get_adolc.sh.

  • Property svn:keywords set to Id
File size: 3.5 KB
Line 
1/* $Id: undef.hpp 2939 2013-10-14 11:06:18Z bradbell $ */
2# ifndef CPPAD_UNDEF_INCLUDED
3# define CPPAD_UNDEF_INCLUDED
4
5/* --------------------------------------------------------------------------
6CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
7
8CppAD is distributed under multiple licenses. This distribution is under
9the terms of the
10                    Eclipse Public License Version 1.0.
11
12A copy of this license is included in the COPYING file of this distribution.
13Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
14-------------------------------------------------------------------------- */
15
16/*
17----------------------------------------------------------------------------
18Preprecessor definitions that presist after cppad/cppad.hpp is included:
19
20# undef CPPAD_ASSERT_FIRST_CALL_NOT_PARALLEL used by CPPAD_USER_ATOMIC
21# undef CPPAD_ASSERT_KNOWN needed by cppad_ipopt
22# undef CPPAD_ASSERT_UNKNOWN needed by cppad_ipopt
23# undef CPPAD_HASH_TABLE_SIZE used by test_more/optimize.cpp
24# undef EIGEN_MATRIXBASE_PLUGIN example use of Eigen with CppAD
25
26# undef CPPAD_BOOL_BINARY         in user api
27# undef CPPAD_BOOL_UNARY          in user api
28# undef CPPAD_DISCRETE_FUNCTION   in user api
29# undef CPPAD_EIGENVECTOR         in user api
30# undef CPPAD_INTERNAL_SPARSE_SET in user api
31# undef CPPAD_MAX_NUM_THREADS     in user api
32# undef CPPAD_NULL                in user api
33# undef CPPAD_PACKAGE_STRING      in user api
34# undef CPPAD_TAPE_ADDR_TYPE      in user api
35# undef CPPAD_TAPE_ID_TYPE        in user api
36# undef CPPAD_TESTVECTOR          in user api
37
38# undef CPPAD_TRACK_COUNT    in deprecated api
39# undef CPPAD_TRACK_DEL_VEC  in deprecated api
40# undef CPPAD_TRACK_EXTEND   in deprecated api
41# undef CPPAD_TRACK_NEW_VEC  in deprecated api
42# undef CPPAD_USER_ATOMIC    in deprecated api
43
44# undef CPPAD_TEST_VECTOR     deprecated verssion of CPPAD_TESTVECTOR
45# undef CppADCreateBinaryBool deprecated version of CPPAD_BOOL_BINARY
46# undef CppADCreateDiscrete   deprecated version of CPPAD_DISCRETE_FUNCTION
47# undef CppADCreateUnaryBool  deprecated version of CPPAD_BOOL_UNARY
48# undef CppADTrackCount       deprecated version of CPPAD_TRACK_COUNT
49# undef CppADTrackDelVec      deprecated version of CPPAD_TRACK_DEL_VEC
50# undef CppADTrackExtend      deprecated version of CPPAD_TRACK_EXTEND
51# undef CppADTrackNewVec      deprecated version of CPPAD_TRACK_NEW_VEC
52# undef CppADvector           deprecated version of CPPAD_TEST_VECTOR
53-----------------------------------------------------------------------------
54*/
55// Preprecessor definitions that do not presist
56# undef CPPAD_ASSERT_NARG_NRES
57# undef CPPAD_ASSERT_NOT_PARALLEL
58# undef CPPAD_BOOSTVECTOR
59# undef CPPAD_COND_EXP
60# undef CPPAD_COND_EXP_BASE_REL
61# undef CPPAD_COND_EXP_REL
62# undef CPPAD_CPPADVECTOR
63# undef CPPAD_FOLD_AD_VALUED_BINARY_OPERATOR
64# undef CPPAD_FOLD_ASSIGNMENT_OPERATOR
65# undef CPPAD_FOLD_BOOL_VALUED_BINARY_OPERATOR
66# undef CPPAD_FOR_JAC_SWEEP_TRACE
67# undef CPPAD_HAS_GETTIMEOFDAY
68# undef CPPAD_HAS_NULLPTR
69# undef CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
70# undef CPPAD_MAX_NUM_CAPACITY
71# undef CPPAD_MIN_DOUBLE_CAPACITY
72# undef CPPAD_OP_CODE_TYPE
73# undef CPPAD_REVERSE_SWEEP_TRACE
74# undef CPPAD_REV_HES_SWEEP_TRACE
75# undef CPPAD_REV_JAC_SWEEP_TRACE
76# undef CPPAD_SIZE_T_SAME_UNSIGNED_INT
77# undef CPPAD_STANDARD_MATH_UNARY
78# undef CPPAD_STANDARD_MATH_UNARY_AD
79# undef CPPAD_STDVECTOR
80# undef CPPAD_TRACE_CAPACITY
81# undef CPPAD_TRACE_THREAD
82# undef CPPAD_TRACK_DEBUG
83# undef CPPAD_USE_FORWARD0SWEEP
84# undef CPPAD_USER_MACRO
85# undef CPPAD_USER_MACRO_ONE
86# undef CPPAD_USER_MACRO_TWO
87# undef CPPAD_VEC_AD_COMPUTED_ASSIGNMENT
88
89# endif
Note: See TracBrowser for help on using the repository browser.