Ignore:
Timestamp:
Oct 13, 2013 1:07:06 PM (7 years ago)
Author:
bradbell
Message:

undef.hpp: Convention to comment out '# undef' for defines that presist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cppad/local/undef.hpp

    r2910 r2938  
    1414-------------------------------------------------------------------------- */
    1515
    16 //      CPPAD_ASSERT_FIRST_CALL_NOT_PARALLEL used by CPPAD_USER_ATOMIC
    17 //      CPPAD_ASSERT_KNOWN needed by cppad_ipopt
     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_BOOL_BINARY in user api
     24# undef CPPAD_BOOL_UNARY in user api
     25# undef CPPAD_DISCRETE_FUNCTION
     26# undef CPPAD_END_NAMESPACE needed by cppad_ipopt
     27# undef CPPAD_HASH_TABLE_SIZE used by test_more/optimize.cpp
     28# undef CPPAD_MAX_NUM_THREADS in user api
     29# undef CPPAD_NULL is in user api
     30# undef CPPAD_PACKAGE_STRING in user api
     31# undef CPPAD_TAPE_ADDR_TYPE in user api
     32# undef CPPAD_TAPE_ID_TYPE in user api
     33# undef CPPAD_TESTVECTOR in user api
     34# undef CPPAD_TRACK_COUNT in deprecated api
     35# undef CPPAD_TRACK_DEL_VEC in deprecated api
     36# undef CPPAD_TRACK_EXTEND in deprecated api
     37# undef CPPAD_TRACK_NEW_VEC in deprecated api
     38# undef CPPAD_USER_ATOMIC
     39-----------------------------------------------------------------------------
     40*/
     41// Preprecessor definitions that do not presist
    1842# undef CPPAD_ASSERT_NARG_NRES
    1943# undef CPPAD_ASSERT_NOT_PARALLEL
    20 //      CPPAD_ASSERT_UNKNOWN needed by cppad_ipopt
    21 //      CPPAD_BOOL_BINARY in user api
    22 //      CPPAD_BOOL_UNARY in user api
    2344# undef CPPAD_BOOSTVECTOR
    2445# undef CPPAD_COND_EXP
     
    2647# undef CPPAD_COND_EXP_REL
    2748# undef CPPAD_CPPADVECTOR
    28 //      CPPAD_DISCRETE_FUNCTION
    29 //      CPPAD_END_NAMESPACE needed by cppad_ipopt
    3049# undef CPPAD_FOLD_AD_VALUED_BINARY_OPERATION
    3150# undef CPPAD_FOLD_AD_VALUED_BINARY_OPERATOR
     
    3756# undef CPPAD_FORWARD_SWEEP_TRACE
    3857# undef CPPAD_HAS_GETTIMEOFDAY
    39 //      CPPAD_HASH_TABLE_SIZE used by test_more/optimize.cpp
    4058# undef CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
    4159# undef CPPAD_MAX_NUM_CAPACITIES
    4260# undef CPPAD_MAX_NUM_CAPACITY
    43 //      CPPAD_MAX_NUM_THREADS in user api
    4461# undef CPPAD_MIN_DOUBLE_CAPACITY
    4562# undef CPPAD_NUL
    46 //      CPPAD_NULL is in user api
    4763# undef CPPAD_OP_CODE_TYPE
    48 //      CPPAD_PACKAGE_STRING in user api
    4964# undef CPPAD_REVERSE_SWEEP_TRACE
    5065# undef CPPAD_REV_HES_SWEEP_TRACE
     
    5469# undef CPPAD_STANDARD_MATH_UNARY_AD
    5570# undef CPPAD_STDVECTOR
    56 //      CPPAD_TAPE_ADDR_TYPE in user api
    57 //      CPPAD_TAPE_ID_TYPE in user api
    58 //      CPPAD_TESTVECTOR in user api
    5971# undef CPPAD_TRACE_CAPACITY
    6072# undef CPPAD_TRACE_THEAD
    6173# undef CPPAD_TRACE_THREAD
    62 //      CPPAD_TRACK_COUNT in deprecated api
    6374# undef CPPAD_TRACK_DEBUG
    64 //      CPPAD_TRACK_DEL_VEC in deprecated api
    65 //      CPPAD_TRACK_EXTEND in deprecated api
    66 //      CPPAD_TRACK_NEW_VEC in deprecated api
    6775# undef CPPAD_TYPE_ADDR_TYPE
    6876# undef CPPAD_USE_FORWARD0SWEEP
    69 //      CPPAD_USER_ATOMIC
    7077# undef CPPAD_USER_MACRO
    7178# undef CPPAD_USER_MACRO_ONE
Note: See TracChangeset for help on using the changeset viewer.