/* * ----------------------------------------------------------------- * Copyright (c) 2005, The Regents of the University of California. * Produced at the Lawrence Livermore National Laboratory. * All rights reserved. * For details, see sundials/shared/LICENSE. * ----------------------------------------------------------------- * Sample SUNDIALS configuration header file * ----------------------------------------------------------------- */ /* ------------------------------ * Define SUNDIALS version number * ------------------------------ */ #define SUNDIALS_PACKAGE_VERSION "2.2.0" /* ------------------------------------------------- * Define precision of SUNDIALS data type 'realtype' * ------------------------------------------------- */ /* Define SUNDIALS data type 'realtype' as 'double' */ #define SUNDIALS_DOUBLE_PRECISION 1 /* Define SUNDIALS data type 'realtype' as 'float' */ /* #define SUNDIALS_SINGLE_PRECISION 1 */ /* Define SUNDIALS data type 'realtype' as 'long double' */ /* #define SUNDIALS_EXTENDED_PRECISION 1 */ /* -------------------------- * Use generic math functions * -------------------------- */ #define SUNDIALS_USE_GENERIC_MATH 1 /* ----------------------------------------- * FCMIX: Define Fortran name-mangling macro * ----------------------------------------- */ #define F77_FUNC(name,NAME) name ## _ #define F77_FUNC_(name,NAME) name ## _ /* ------------------------------------ * FCMIX: Define case of function names * ------------------------------------ */ /* FCMIX: Make function names lowercase */ /* #define SUNDIALS_CASE_LOWER 1 */ /* FCMIX: Make function names uppercase */ /* #define SUNDIALS_CASE_UPPER 1 */ /* --------------------------------------------------------------- * FCMIX: Define number of underscores to append to function names * --------------------------------------------------------------- */ /* FCMIX: Do NOT append any underscores to functions names */ /* #define SUNDIALS_UNDERSCORE_NONE 1 */ /* FCMIX: Append ONE underscore to function names */ /* #define SUNDIALS_UNDERSCORE_ONE 1 */ /* FCMIX: Append TWO underscores to function names */ /* #define SUNDIALS_UNDERSCORE_TWO 1 */ /* ---------------------------------------------------------- * FNVECTOR: Allow user to specify different MPI communicator * ---------------------------------------------------------- */ #define SUNDIALS_MPI_COMM_F2C 1