1 /* config.h. Generated from config.h.in by configure. */ 2 /* config.h.in. Generated from configure.ac by autoheader. */ 3 4 /* Include source file for dlmalloc */ 5 /* #undef DLMALLOC_SOURCE_INCLUDE */ 6 7 /* Alberta version found by configure, either 0x200 for 2.0 or 0x300 for 3.0 8 */ 9 #define DUNE_ALBERTA_VERSION 0x300 10 11 /* Define to the version of dune-alugrid */ 12 #define DUNE_ALUGRID_VERSION "2.3" 13 14 /* Define to the major version of dune-alugrid */ 15 #define DUNE_ALUGRID_VERSION_MAJOR 2 16 17 /* Define to the minor version of dune-alugrid */ 18 #define DUNE_ALUGRID_VERSION_MINOR 3 19 20 /* Define to the revision of dune-alugrid */ 21 #define DUNE_ALUGRID_VERSION_REVISION 0 22 23 /* Define to the version of dune-common */ 24 #define DUNE_COMMON_VERSION "2.3.0" 25 26 /* Define to the major version of dune-common */ 27 #define DUNE_COMMON_VERSION_MAJOR 2 28 29 /* Define to the minor version of dune-common */ 30 #define DUNE_COMMON_VERSION_MINOR 3 31 32 /* Define to the revision of dune-common */ 33 #define DUNE_COMMON_VERSION_REVISION 0 34 35 /* Shall dune-fem be compatible with older versions? */ 36 #define DUNE_FEM_COMPATIBILITY 0 37 38 /* Define to the version of dune-fem-school-StGt2014-05 */ 39 #define DUNE_FEM_SCHOOL_STGT2014_05_VERSION "2014.02" 40 41 /* Define to the major version of dune-fem-school-StGt2014-05 */ 42 #define DUNE_FEM_SCHOOL_STGT2014_05_VERSION_MAJOR 2014 43 44 /* Define to the minor version of dune-fem-school-StGt2014-05 */ 45 #define DUNE_FEM_SCHOOL_STGT2014_05_VERSION_MINOR 2 46 47 /* Define to the revision of dune-fem-school-StGt2014-05 */ 48 #define DUNE_FEM_SCHOOL_STGT2014_05_VERSION_REVISION 0 49 50 /* Define to the version of dune-fem */ 51 #define DUNE_FEM_VERSION "1.4.0" 52 53 /* Define to the major version of dune-fem */ 54 #define DUNE_FEM_VERSION_MAJOR 1 55 56 /* Define to the minor version of dune-fem */ 57 #define DUNE_FEM_VERSION_MINOR 4 58 59 /* Define to the revision of dune-fem */ 60 #define DUNE_FEM_VERSION_REVISION 0 61 62 /* Define to the version of dune-geometry */ 63 #define DUNE_GEOMETRY_VERSION "2.3.0" 64 65 /* Define to the major version of dune-geometry */ 66 #define DUNE_GEOMETRY_VERSION_MAJOR 2 67 68 /* Define to the minor version of dune-geometry */ 69 #define DUNE_GEOMETRY_VERSION_MINOR 3 70 71 /* Define to the revision of dune-geometry */ 72 #define DUNE_GEOMETRY_VERSION_REVISION 0 73 74 /* If this is set, public access to the implementation of facades like Entity, 75 Geometry, etc. is granted. */ 76 #define DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS 1 77 78 /* Define to the version of dune-grid */ 79 #define DUNE_GRID_VERSION "2.3.0" 80 81 /* Define to the major version of dune-grid */ 82 #define DUNE_GRID_VERSION_MAJOR 2 83 84 /* Define to the minor version of dune-grid */ 85 #define DUNE_GRID_VERSION_MINOR 3 86 87 /* Define to the revision of dune-grid */ 88 #define DUNE_GRID_VERSION_REVISION 0 89 90 /* Define to the version of dune-istl */ 91 #define DUNE_ISTL_VERSION "2.3.0" 92 93 /* Define to the major version of dune-istl */ 94 #define DUNE_ISTL_VERSION_MAJOR 2 95 96 /* Define to the minor version of dune-istl */ 97 #define DUNE_ISTL_VERSION_MINOR 3 98 99 /* Define to the revision of dune-istl */ 100 #define DUNE_ISTL_VERSION_REVISION 0 101 102 /* Define to the version of dune-localfunctions */ 103 #define DUNE_LOCALFUNCTIONS_VERSION "2.3.0" 104 105 /* Define to the major version of dune-localfunctions */ 106 #define DUNE_LOCALFUNCTIONS_VERSION_MAJOR 2 107 108 /* Define to the minor version of dune-localfunctions */ 109 #define DUNE_LOCALFUNCTIONS_VERSION_MINOR 3 110 111 /* Define to the revision of dune-localfunctions */ 112 #define DUNE_LOCALFUNCTIONS_VERSION_REVISION 0 113 114 /* Standard debug streams with a level below will collapse to doing nothing */ 115 #define DUNE_MINIMAL_DEBUG_LEVEL 4 116 117 /* Define to dummy `main' function (if any) required to link to the Fortran 118 libraries. */ 119 /* #undef F77_DUMMY_MAIN */ 120 121 /* Define to dummy `main' function (if any) required to link to the Fortran 122 libraries. */ 123 /* #undef FC_DUMMY_MAIN */ 124 125 /* Define if F77 and FC dummy `main' functions are identical. */ 126 /* #undef FC_DUMMY_MAIN_EQ_F77 */ 127 128 /* Define to a macro mangling the given C identifier (in lower and upper 129 case), which must not contain underscores, for linking with Fortran. */ 130 #define FC_FUNC(name,NAME) name ## _ 131 132 /* As FC_FUNC, but for C identifiers containing underscores. */ 133 #define FC_FUNC_(name,NAME) name ## _ 134 135 /* does the compiler support __attribute__((deprecated))? */ 136 #define HAS_ATTRIBUTE_DEPRECATED 1 137 138 /* does the compiler support __attribute__((deprecated("message"))? */ 139 #define HAS_ATTRIBUTE_DEPRECATED_MSG 1 140 141 /* does the compiler support __attribute__((unused))? */ 142 #define HAS_ATTRIBUTE_UNUSED 1 143 144 /* This is only true if alberta-library was found by configure _and_ if the 145 application uses the ALBERTA_CPPFLAGS */ 146 #define HAVE_ALBERTA ENABLE_ALBERTA 147 148 /* This is only true if alugrid-library was found by configure _and_ if the 149 application uses the ALUGRID_CPPFLAGS */ 150 /* #undef HAVE_ALUGRID */ 151 152 /* Define to 1 if you have the <alugrid_parallel.h> header file. */ 153 /* #undef HAVE_ALUGRID_PARALLEL_H */ 154 155 /* Define to 1 if you have the <alugrid_serial.h> header file. */ 156 /* #undef HAVE_ALUGRID_SERIAL_H */ 157 158 /* Define to 1 if amiramesh-library is found */ 159 /* #undef HAVE_AMIRAMESH */ 160 161 /* Use the Apple OpenGL framework. */ 162 /* #undef HAVE_APPLE_OPENGL_FRAMEWORK */ 163 164 /* Define to 1 if the <array> C++0x is available and support array::fill */ 165 #define HAVE_ARRAY 1 166 167 /* Define if you have a BLAS library. */ 168 #define HAVE_BLAS 1 169 170 /* define if the Boost library is available */ 171 #define HAVE_BOOST /**/ 172 173 /* define if the Boost::Fusion headers are available */ 174 #define HAVE_BOOST_FUSION /**/ 175 176 /* Define to 1 if you have <boost/make_shared.hpp>. */ 177 /* #undef HAVE_BOOST_MAKE_SHARED_HPP */ 178 179 /* Define to 1 if you have the <boost/shared_ptr.hpp> header file. */ 180 #define HAVE_BOOST_SHARED_PTR_HPP 1 181 182 /* Define to 1 if C++11 constexpr is supported */ 183 #define HAVE_CONSTEXPR 1 184 185 /* does the compiler support abi::__cxa_demangle */ 186 /* #undef HAVE_CXA_DEMANGLE */ 187 188 /* Define to 1 if you have the <dlfcn.h> header file. */ 189 #define HAVE_DLFCN_H 1 190 191 /* Define to 1 if dlmalloc package is found */ 192 /* #undef HAVE_DLMALLOC */ 193 194 /* Define to 1 if dune-alugrid was found */ 195 #define HAVE_DUNE_ALUGRID 1 196 197 /* Define to ENABLE_BOOST if the Boost library is available */ 198 #define HAVE_DUNE_BOOST ENABLE_BOOST 199 200 /* Define to 1 if dune-common was found */ 201 #define HAVE_DUNE_COMMON 1 202 203 /* Define to 1 if dune-fem was found */ 204 #define HAVE_DUNE_FEM 1 205 206 /* Define to 1 if dune-geometry was found */ 207 #define HAVE_DUNE_GEOMETRY 1 208 209 /* Define to 1 if dune-grid was found */ 210 #define HAVE_DUNE_GRID 1 211 212 /* Define to 1 if dune-istl was found */ 213 #define HAVE_DUNE_ISTL 1 214 215 /* Define to 1 if dune-localfunctions was found */ 216 #define HAVE_DUNE_LOCALFUNCTIONS 1 217 218 /* Define to 1 if you have the <endian.h> header file. */ 219 /* #undef HAVE_ENDIAN_H */ 220 221 /* Define to 1 if you have the <function.hpp> header file. */ 222 /* #undef HAVE_FUNCTION_HPP */ 223 224 /* Was GMP found and GMP_CPPFLAGS used? */ 225 #define HAVE_GMP ENABLE_GMP 226 227 /* This is only true if grape-library was found by configure _and_ if the 228 application uses the GRAPE_CPPFLAGS */ 229 /* #undef HAVE_GRAPE */ 230 231 /* Define to 1 if std::initializer_list is supported */ 232 #define HAVE_INITIALIZER_LIST 1 233 234 /* Define to 1 if std::integral_constant< T, v > is supported and casts into T 235 */ 236 #define HAVE_INTEGRAL_CONSTANT 1 237 238 /* Define to 1 if you have the <inttypes.h> header file. */ 239 #define HAVE_INTTYPES_H 1 240 241 /* Define if you have LAPACK library. */ 242 #define HAVE_LAPACK 1 243 244 /* Define to 1 if you have the `gmp' library (-L$with_gmp/lib -lgmp). */ 245 #define HAVE_LIBGMP 1 246 247 /* Define to 1 if you have the `gmpxx' library (-L$with_gmp/lib -lgmpxx). */ 248 #define HAVE_LIBGMPXX 1 249 250 /* Define to 1 if you have the `m' library (-lm). */ 251 #define HAVE_LIBM 1 252 253 /* Define to 1 if you have the <machine/endian.h> header file. */ 254 #define HAVE_MACHINE_ENDIAN_H 1 255 256 /* Define to 1 if SHARED_PTR_NAMESPACE::make_shared is usable. */ 257 #define HAVE_MAKE_SHARED 1 258 259 /* Define to 1 if you have the <malloc.h> header file. */ 260 /* #undef HAVE_MALLOC_H */ 261 262 /* Define to 1 if you have the <memory> header file. */ 263 #define HAVE_MEMORY 1 264 265 /* Define to 1 if you have the <memory.h> header file. */ 266 #define HAVE_MEMORY_H 1 267 268 /* Define to 1 if `expansions' is a member of `mem_usage_t'. */ 269 /* #undef HAVE_MEM_USAGE_T_EXPANSIONS */ 270 271 /* Define if you have METIS library */ 272 /* #undef HAVE_METIS */ 273 274 /* Define if you have the MPI library. This is only true if MPI was found by 275 configure _and_ if the application uses the DUNEMPICPPFLAGS (or the 276 deprecated MPI_CPPFLAGS) */ 277 /* #undef HAVE_MPI */ 278 279 /* Define to 1 if you have the symbol mprotect. */ 280 #define HAVE_MPROTECT 1 281 282 /* Define to 1 if nullptr is supported */ 283 #define HAVE_NULLPTR 1 284 285 /* This is only true if pardg-library was found by configure _and_ if the 286 application uses the PARDG_CPPFLAGS */ 287 /* #undef HAVE_PARDG */ 288 289 /* Define if you have a PARDISO library. */ 290 /* #undef HAVE_PARDISO */ 291 292 /* Define if you have the Parmetis library. This is only true if MPI was found 293 by configure _and_ if the application uses the PARMETIS_CPPFLAGS */ 294 /* #undef HAVE_PARMETIS */ 295 296 /* Define if you have the PETSc library. This is only true if the application 297 uses the PETSC_CPPFLAGS */ 298 /* #undef HAVE_PETSC */ 299 300 /* Define to 1 if psurface-library is found */ 301 /* #undef HAVE_PSURFACE */ 302 303 /* If set we have at least psurface version 2.0 */ 304 /* #undef HAVE_PSURFACE_2_0 */ 305 306 /* Define if you have POSIX threads libraries and header files. */ 307 #define HAVE_PTHREAD 1 308 309 /* Define to 1 if you have the <rpc/rpc.h> header file. */ 310 #define HAVE_RPC_RPC_H 1 311 312 /* Define to 1 if rvalue references are supported */ 313 #define HAVE_RVALUE_REFERENCES 1 314 315 /* This is only true if sionlib-library was found by configure _and_ if the 316 application uses the SIONLIB_CPPFLAGS */ 317 /* #undef HAVE_SIONLIB */ 318 319 /* Define to 1 if you have the <sion.h> header file. */ 320 /* #undef HAVE_SION_H */ 321 322 /* Define to 1 if you have the `sqrt' function. */ 323 #define HAVE_SQRT 1 324 325 /* Define to 1 if static_assert is supported */ 326 #define HAVE_STATIC_ASSERT 1 327 328 /* Define to 1 if you have the <stdint.h> header file. */ 329 #define HAVE_STDINT_H 1 330 331 /* Define to 1 if you have the <stdlib.h> header file. */ 332 #define HAVE_STDLIB_H 1 333 334 /* Define to 1 if C++11 std::conditional is supported */ 335 #define HAVE_STD_CONDITIONAL 1 336 337 /* Define to 1 if the std::hash template from C++11 is available */ 338 #define HAVE_STD_HASH 1 339 340 /* Define to 1 if you have the `strchr' function. */ 341 #define HAVE_STRCHR 1 342 343 /* Define to 1 if you have the <strings.h> header file. */ 344 #define HAVE_STRINGS_H 1 345 346 /* Define to 1 if you have the <string.h> header file. */ 347 #define HAVE_STRING_H 1 348 349 /* Define to ENABLE_SUPERLU if SUPERLU is found */ 350 /* #undef HAVE_SUPERLU */ 351 352 /* Define to 1 if SUPERLU_DIST is found */ 353 /* #undef HAVE_SUPERLU_DIST */ 354 355 /* Define to 1 if you have <sys/mman.h>. */ 356 #define HAVE_SYS_MMAN_H 1 357 358 /* Define to 1 if you have the <sys/stat.h> header file. */ 359 #define HAVE_SYS_STAT_H 1 360 361 /* Define to 1 if you have the <sys/types.h> header file. */ 362 #define HAVE_SYS_TYPES_H 1 363 364 /* Define to 1 if the std::tr1::hash template from TR1 is available */ 365 /* #undef HAVE_TR1_HASH */ 366 367 /* Define to 1 if you have the <tr1/memory> header file. */ 368 /* #undef HAVE_TR1_MEMORY */ 369 370 /* Define to 1 if you have the <tr1/tuple> header file. */ 371 /* #undef HAVE_TR1_TUPLE */ 372 373 /* Define to 1 if you have the <tr1/type_traits> header file. */ 374 /* #undef HAVE_TR1_TYPE_TRAITS */ 375 376 /* Define to 1 if you have the <tuple> header file. */ 377 #define HAVE_TUPLE 1 378 379 /* Define to 1 if you have the <type_traits> header file. */ 380 #define HAVE_TYPE_TRAITS 1 381 382 /* This is only true if UG was found by configure _and_ if the application 383 uses the UG_CPPFLAGS */ 384 /* #undef HAVE_UG */ 385 386 /* Do we have UG in at least version 3.9.1-patch10? */ 387 /* #undef HAVE_UG_PATCH10 */ 388 389 /* This is only true if umfpack-library was found by configure _and_ if the 390 application uses the UMFPACK_CPPFLAGS */ 391 /* #undef HAVE_UMFPACK */ 392 393 /* Define to 1 if you have the <umfpack.h> header file. */ 394 /* #undef HAVE_UMFPACK_H */ 395 396 /* Define to 1 if you have the <unistd.h> header file. */ 397 #define HAVE_UNISTD_H 1 398 399 /* Define to 1 if variadic templates are supported */ 400 #define HAVE_VARIADIC_TEMPLATES 1 401 402 /* Define to 1 if you have the <windows.h> header file. */ 403 /* #undef HAVE_WINDOWS_H */ 404 405 /* Was zlib found and ZLIB_CPPFLAGS used? */ 406 #define HAVE_ZLIB ENABLE_ZLIB 407 408 /* This is only true if zoltan-library was found by configure _and_ if the 409 application uses the ZOLTAN_CPPFLAGS */ 410 /* #undef HAVE_ZOLTAN */ 411 412 /* Define to 1 if you have the <zoltan_cpp.h> header file. */ 413 /* #undef HAVE_ZOLTAN_CPP_H */ 414 415 /* Define to the sub-directory where libtool stores uninstalled libraries. */ 416 #define LT_OBJDIR ".libs/" 417 418 /* Define to 1 if MPI supports MPI-2 */ 419 /* #undef MPI_2 */ 420 421 /* Name of package */ 422 #define PACKAGE "dune-fem-school-stgt2014-05" 423 424 /* Define to the address where bug reports for this package should be sent. */ 425 #define PACKAGE_BUGREPORT "dune@mathematik.uni-freiburg.de" 426 427 /* Define to the full name of this package. */ 428 #define PACKAGE_NAME "dune-fem-school-StGt2014-05" 429 430 /* Define to the full name and version of this package. */ 431 #define PACKAGE_STRING "dune-fem-school-StGt2014-05 2014.02" 432 433 /* Define to the one symbol short name of this package. */ 434 #define PACKAGE_TARNAME "dune-fem-school-stgt2014-05" 435 436 /* Define to the home page for this package. */ 437 #define PACKAGE_URL "" 438 439 /* Define to the version of this package. */ 440 #define PACKAGE_VERSION "2014.02" 441 442 /* The namespace prefix of the psurface library */ 443 /* #undef PSURFACE_NAMESPACE */ 444 445 /* Define to necessary symbol if this constant uses a non-standard name on 446 your system. */ 447 /* #undef PTHREAD_CREATE_JOINABLE */ 448 449 /* The header in which SHARED_PTR can be found */ 450 /* #undef SHARED_PTR_HEADER */ 451 452 /* The namespace in which SHARED_PTR can be found */ 453 #define SHARED_PTR_NAMESPACE std 454 455 /* Define to 1 if you have the ANSI C header files. */ 456 #define STDC_HEADERS 1 457 458 /* define to 1 if there SLU_DOUBLE imported by header slu_ddefs.h from SuperLU 459 */ 460 /* #undef SUPERLU_MIN_VERSION_4_3 */ 461 462 /* define to 1 if there is a header slu_ddefs.h in SuperLU */ 463 /* #undef SUPERLU_POST_2005_VERSION */ 464 465 /* systems endian header */ 466 #define SYSTEM_ENDIAN_HEADER <machine/endian.h> 467 468 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 469 /* #undef TM_IN_SYS_TIME */ 470 471 /* Version number of package */ 472 #define VERSION "2014.02" 473 474 /* xdr_uint64_t routine */ 475 #define XDR_UINT64_FUNC xdr_u_int64_t 476 477 /* Define to 1 if the X Window System is missing or not being used. */ 478 #define X_DISPLAY_MISSING 1 479 480 /* Define to empty if `const' does not conform to ANSI C. */ 481 /* #undef const */ 482 483 /* Define to `__inline__' or `__inline' if that's what the C compiler 484 calls it, or to nothing if 'inline' is not supported under any name. */ 485 #ifndef __cplusplus 486 /* #undef inline */ 487 #endif 488 489 /* Define to `unsigned int' if <sys/types.h> does not define. */ 490 /* #undef size_t */ 491 492 #include <dune/common/deprecated.hh> 493 494 /* add GRIDTYPE typedef for grid implementation Dune::YaspGrid< dimgrid >: 495 defining YASPGRID during compilation typedefs this grid implementation as GridType 496 in namespace Dune::GridSelector; 497 also integer constants dimgrid and dimworld are set in this namespace. 498 The required headers for this grid implementation are also included. 499 */ 500 #if HAVE_DUNE_GRID && defined YASPGRID && ! defined USED_YASPGRID_GRIDTYPE 501 #if HAVE_GRIDTYPE 502 #error "Ambiguous definition of GRIDTYPE." 503 #endif 504 505 #ifndef WORLDDIM 506 #define WORLDDIM GRIDDIM 507 #endif 508 #if not (WORLDDIM >= GRIDDIM) 509 #error "WORLDDIM < GRIDDIM does not make sense." 510 #endif 511 512 #if ! (GRIDDIM == WORLDDIM) 513 #error "Preprocessor assertion GRIDDIM == WORLDDIM failed." 514 #endif 515 516 #include <dune/grid/yaspgrid.hh> 517 #include <dune/grid/io/file/dgfparser/dgfyasp.hh> 518 519 namespace Dune 520 { 521 namespace GridSelector 522 { 523 const int dimgrid = GRIDDIM; 524 const int dimworld = WORLDDIM; 525 typedef Dune::YaspGrid< dimgrid > GridType; 526 } 527 } 528 #define HAVE_GRIDTYPE 1 529 #define USED_YASPGRID_GRIDTYPE 1 530 #endif // #if HAVE_DUNE_GRID && defined YASPGRID && .. 531 532 533 #if ! HAVE_ALUGRID 534 /* add GRIDTYPE typedef for grid implementation : 535 defining ALUGRID_DUMMY_DONT_USE during compilation typedefs this grid implementation as GridType 536 in namespace Dune::GridSelector; 537 also integer constants dimgrid and dimworld are set in this namespace. 538 The required headers for this grid implementation are also included. 539 */ 540 #if HAVE_DUNE_GRID && defined ALUGRID_DUMMY_DONT_USE && ! defined USED_ALUGRID_DUMMY_DONT_USE_GRIDTYPE 541 #if HAVE_GRIDTYPE 542 #error "Ambiguous definition of GRIDTYPE." 543 #endif 544 545 #ifndef WORLDDIM 546 #define WORLDDIM GRIDDIM 547 #endif 548 #if not (WORLDDIM >= GRIDDIM) 549 #error "WORLDDIM < GRIDDIM does not make sense." 550 #endif 551 552 #include <> 553 #include <> 554 555 namespace Dune 556 { 557 namespace GridSelector 558 { 559 const int dimgrid = GRIDDIM; 560 const int dimworld = WORLDDIM; 561 typedef GridType; 562 } 563 } 564 #define HAVE_GRIDTYPE 1 565 #define USED_ALUGRID_DUMMY_DONT_USE_GRIDTYPE 1 566 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_DUMMY_DONT_USE && .. 567 #endif // #if ! HAVE_ALUGRID 568 569 570 571 #if ! HAVE_ALUGRID 572 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::conforming >: 573 defining ALUGRID_CONFORM during compilation typedefs this grid implementation as GridType 574 in namespace Dune::GridSelector; 575 also integer constants dimgrid and dimworld are set in this namespace. 576 The required headers for this grid implementation are also included. 577 */ 578 #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && ! defined USED_ALUGRID_CONFORM_GRIDTYPE 579 #if HAVE_GRIDTYPE 580 #error "Ambiguous definition of GRIDTYPE." 581 #endif 582 583 #ifndef WORLDDIM 584 #define WORLDDIM GRIDDIM 585 #endif 586 #if not (WORLDDIM >= GRIDDIM) 587 #error "WORLDDIM < GRIDDIM does not make sense." 588 #endif 589 590 #include <dune/alugrid/grid.hh> 591 #include <dune/alugrid/dgf.hh> 592 593 namespace Dune 594 { 595 namespace GridSelector 596 { 597 const int dimgrid = GRIDDIM; 598 const int dimworld = WORLDDIM; 599 typedef Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::conforming > GridType; 600 } 601 } 602 #define HAVE_GRIDTYPE 1 603 #define USED_ALUGRID_CONFORM_GRIDTYPE 1 604 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && .. 605 #endif // #if ! HAVE_ALUGRID 606 607 608 609 #if ! HAVE_ALUGRID 610 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, Dune::cube, Dune::nonconforming >: 611 defining ALUGRID_CUBE during compilation typedefs this grid implementation as GridType 612 in namespace Dune::GridSelector; 613 also integer constants dimgrid and dimworld are set in this namespace. 614 The required headers for this grid implementation are also included. 615 */ 616 #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && ! defined USED_ALUGRID_CUBE_GRIDTYPE 617 #if HAVE_GRIDTYPE 618 #error "Ambiguous definition of GRIDTYPE." 619 #endif 620 621 #ifndef WORLDDIM 622 #define WORLDDIM GRIDDIM 623 #endif 624 #if not (WORLDDIM >= GRIDDIM) 625 #error "WORLDDIM < GRIDDIM does not make sense." 626 #endif 627 628 #include <dune/alugrid/grid.hh> 629 #include <dune/alugrid/dgf.hh> 630 631 namespace Dune 632 { 633 namespace GridSelector 634 { 635 const int dimgrid = GRIDDIM; 636 const int dimworld = WORLDDIM; 637 typedef Dune::ALUGrid< dimgrid, dimworld, Dune::cube, Dune::nonconforming > GridType; 638 } 639 } 640 #define HAVE_GRIDTYPE 1 641 #define USED_ALUGRID_CUBE_GRIDTYPE 1 642 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && .. 643 #endif // #if ! HAVE_ALUGRID 644 645 646 647 #if ! HAVE_ALUGRID 648 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::nonconforming >: 649 defining ALUGRID_SIMPLEX during compilation typedefs this grid implementation as GridType 650 in namespace Dune::GridSelector; 651 also integer constants dimgrid and dimworld are set in this namespace. 652 The required headers for this grid implementation are also included. 653 */ 654 #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && ! defined USED_ALUGRID_SIMPLEX_GRIDTYPE 655 #if HAVE_GRIDTYPE 656 #error "Ambiguous definition of GRIDTYPE." 657 #endif 658 659 #ifndef WORLDDIM 660 #define WORLDDIM GRIDDIM 661 #endif 662 #if not (WORLDDIM >= GRIDDIM) 663 #error "WORLDDIM < GRIDDIM does not make sense." 664 #endif 665 666 #include <dune/alugrid/grid.hh> 667 #include <dune/alugrid/dgf.hh> 668 669 namespace Dune 670 { 671 namespace GridSelector 672 { 673 const int dimgrid = GRIDDIM; 674 const int dimworld = WORLDDIM; 675 typedef Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::nonconforming > GridType; 676 } 677 } 678 #define HAVE_GRIDTYPE 1 679 #define USED_ALUGRID_SIMPLEX_GRIDTYPE 1 680 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && .. 681 #endif // #if ! HAVE_ALUGRID 682 683 684 #include <dune/common/unused.hh> 685 686 /* add GRIDTYPE typedef for grid implementation Dune::AlbertaGrid< dimgrid >: 687 defining ALBERTAGRID during compilation typedefs this grid implementation as GridType 688 in namespace Dune::GridSelector; 689 also integer constants dimgrid and dimworld are set in this namespace. 690 The required headers for this grid implementation are also included. 691 */ 692 #if HAVE_DUNE_GRID && defined ALBERTAGRID && ! defined USED_ALBERTAGRID_GRIDTYPE 693 #if HAVE_GRIDTYPE 694 #error "Ambiguous definition of GRIDTYPE." 695 #endif 696 697 #ifndef WORLDDIM 698 #define WORLDDIM GRIDDIM 699 #endif 700 #if not (WORLDDIM >= GRIDDIM) 701 #error "WORLDDIM < GRIDDIM does not make sense." 702 #endif 703 704 #if ! (WORLDDIM == ALBERTA_DIM) 705 #error "Preprocessor assertion WORLDDIM == ALBERTA_DIM failed." 706 #endif 707 708 #include <dune/grid/albertagrid.hh> 709 #include <dune/grid/albertagrid/dgfparser.hh> 710 711 namespace Dune 712 { 713 namespace GridSelector 714 { 715 const int dimgrid = GRIDDIM; 716 const int dimworld = WORLDDIM; 717 typedef Dune::AlbertaGrid< dimgrid > GridType; 718 } 719 } 720 #define HAVE_GRIDTYPE 1 721 #define USED_ALBERTAGRID_GRIDTYPE 1 722 #endif // #if HAVE_DUNE_GRID && defined ALBERTAGRID && .. 723 724 /* add GRIDTYPE typedef for grid implementation Dune::UGGrid< dimgrid >: 725 defining UGGRID during compilation typedefs this grid implementation as GridType 726 in namespace Dune::GridSelector; 727 also integer constants dimgrid and dimworld are set in this namespace. 728 The required headers for this grid implementation are also included. 729 */ 730 #if HAVE_DUNE_GRID && defined UGGRID && ! defined USED_UGGRID_GRIDTYPE 731 #if HAVE_GRIDTYPE 732 #error "Ambiguous definition of GRIDTYPE." 733 #endif 734 735 #ifndef WORLDDIM 736 #define WORLDDIM GRIDDIM 737 #endif 738 #if not (WORLDDIM >= GRIDDIM) 739 #error "WORLDDIM < GRIDDIM does not make sense." 740 #endif 741 742 #if ! (GRIDDIM == WORLDDIM) 743 #error "Preprocessor assertion GRIDDIM == WORLDDIM failed." 744 #endif 745 746 #include <dune/grid/uggrid.hh> 747 #include <dune/grid/io/file/dgfparser/dgfug.hh> 748 749 namespace Dune 750 { 751 namespace GridSelector 752 { 753 const int dimgrid = GRIDDIM; 754 const int dimworld = WORLDDIM; 755 typedef Dune::UGGrid< dimgrid > GridType; 756 } 757 } 758 #define HAVE_GRIDTYPE 1 759 #define USED_UGGRID_GRIDTYPE 1 760 #endif // #if HAVE_DUNE_GRID && defined UGGRID && .. 761 762 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, simplex, conforming >: 763 defining ALUGRID_CONFORM during compilation typedefs this grid implementation as GridType 764 in namespace Dune::GridSelector; 765 also integer constants dimgrid and dimworld are set in this namespace. 766 The required headers for this grid implementation are also included. 767 */ 768 #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && ! defined USED_ALUGRID_CONFORM_GRIDTYPE 769 #if HAVE_GRIDTYPE 770 #error "Ambiguous definition of GRIDTYPE." 771 #endif 772 773 #ifndef WORLDDIM 774 #define WORLDDIM GRIDDIM 775 #endif 776 #if not (WORLDDIM >= GRIDDIM) 777 #error "WORLDDIM < GRIDDIM does not make sense." 778 #endif 779 780 #include <dune/grid/alugrid.hh> 781 #include <dune/grid/io/file/dgfparser/dgfalu.hh> 782 783 namespace Dune 784 { 785 namespace GridSelector 786 { 787 const int dimgrid = GRIDDIM; 788 const int dimworld = WORLDDIM; 789 typedef Dune::ALUGrid< dimgrid, dimworld, simplex, conforming > GridType; 790 } 791 } 792 #define HAVE_GRIDTYPE 1 793 #define USED_ALUGRID_CONFORM_GRIDTYPE 1 794 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && .. 795 796 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, cube, nonconforming >: 797 defining ALUGRID_CUBE during compilation typedefs this grid implementation as GridType 798 in namespace Dune::GridSelector; 799 also integer constants dimgrid and dimworld are set in this namespace. 800 The required headers for this grid implementation are also included. 801 */ 802 #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && ! defined USED_ALUGRID_CUBE_GRIDTYPE 803 #if HAVE_GRIDTYPE 804 #error "Ambiguous definition of GRIDTYPE." 805 #endif 806 807 #ifndef WORLDDIM 808 #define WORLDDIM GRIDDIM 809 #endif 810 #if not (WORLDDIM >= GRIDDIM) 811 #error "WORLDDIM < GRIDDIM does not make sense." 812 #endif 813 814 #include <dune/grid/alugrid.hh> 815 #include <dune/grid/io/file/dgfparser/dgfalu.hh> 816 817 namespace Dune 818 { 819 namespace GridSelector 820 { 821 const int dimgrid = GRIDDIM; 822 const int dimworld = WORLDDIM; 823 typedef Dune::ALUGrid< dimgrid, dimworld, cube, nonconforming > GridType; 824 } 825 } 826 #define HAVE_GRIDTYPE 1 827 #define USED_ALUGRID_CUBE_GRIDTYPE 1 828 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && .. 829 830 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, simplex, nonconforming >: 831 defining ALUGRID_SIMPLEX during compilation typedefs this grid implementation as GridType 832 in namespace Dune::GridSelector; 833 also integer constants dimgrid and dimworld are set in this namespace. 834 The required headers for this grid implementation are also included. 835 */ 836 #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && ! defined USED_ALUGRID_SIMPLEX_GRIDTYPE 837 #if HAVE_GRIDTYPE 838 #error "Ambiguous definition of GRIDTYPE." 839 #endif 840 841 #ifndef WORLDDIM 842 #define WORLDDIM GRIDDIM 843 #endif 844 #if not (WORLDDIM >= GRIDDIM) 845 #error "WORLDDIM < GRIDDIM does not make sense." 846 #endif 847 848 #include <dune/grid/alugrid.hh> 849 #include <dune/grid/io/file/dgfparser/dgfalu.hh> 850 851 namespace Dune 852 { 853 namespace GridSelector 854 { 855 const int dimgrid = GRIDDIM; 856 const int dimworld = WORLDDIM; 857 typedef Dune::ALUGrid< dimgrid, dimworld, simplex, nonconforming > GridType; 858 } 859 } 860 #define HAVE_GRIDTYPE 1 861 #define USED_ALUGRID_SIMPLEX_GRIDTYPE 1 862 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && .. 863 864 /* add GRIDTYPE typedef for grid implementation Dune::OneDGrid: 865 defining ONEDGRID during compilation typedefs this grid implementation as GridType 866 in namespace Dune::GridSelector; 867 also integer constants dimgrid and dimworld are set in this namespace. 868 The required headers for this grid implementation are also included. 869 */ 870 #if HAVE_DUNE_GRID && defined ONEDGRID && ! defined USED_ONEDGRID_GRIDTYPE 871 #if HAVE_GRIDTYPE 872 #error "Ambiguous definition of GRIDTYPE." 873 #endif 874 875 #ifndef WORLDDIM 876 #define WORLDDIM GRIDDIM 877 #endif 878 #if not (WORLDDIM >= GRIDDIM) 879 #error "WORLDDIM < GRIDDIM does not make sense." 880 #endif 881 882 #if ! ((GRIDDIM == 1) && (WORLDDIM == 1)) 883 #error "Preprocessor assertion (GRIDDIM == 1) && (WORLDDIM == 1) failed." 884 #endif 885 886 #include <dune/grid/onedgrid.hh> 887 #include <dune/grid/io/file/dgfparser/dgfoned.hh> 888 889 namespace Dune 890 { 891 namespace GridSelector 892 { 893 const int dimgrid = GRIDDIM; 894 const int dimworld = WORLDDIM; 895 typedef Dune::OneDGrid GridType; 896 } 897 } 898 #define HAVE_GRIDTYPE 1 899 #define USED_ONEDGRID_GRIDTYPE 1 900 #endif // #if HAVE_DUNE_GRID && defined ONEDGRID && .. 901 902 /* add GRIDTYPE typedef for grid implementation Dune::SGrid< dimgrid, dimworld >: 903 defining SGRID during compilation typedefs this grid implementation as GridType 904 in namespace Dune::GridSelector; 905 also integer constants dimgrid and dimworld are set in this namespace. 906 The required headers for this grid implementation are also included. 907 */ 908 #if HAVE_DUNE_GRID && defined SGRID && ! defined USED_SGRID_GRIDTYPE 909 #if HAVE_GRIDTYPE 910 #error "Ambiguous definition of GRIDTYPE." 911 #endif 912 913 #ifndef WORLDDIM 914 #define WORLDDIM GRIDDIM 915 #endif 916 #if not (WORLDDIM >= GRIDDIM) 917 #error "WORLDDIM < GRIDDIM does not make sense." 918 #endif 919 920 #include <dune/grid/sgrid.hh> 921 #include <dune/grid/io/file/dgfparser/dgfs.hh> 922 923 namespace Dune 924 { 925 namespace GridSelector 926 { 927 const int dimgrid = GRIDDIM; 928 const int dimworld = WORLDDIM; 929 typedef Dune::SGrid< dimgrid, dimworld > GridType; 930 } 931 } 932 #define HAVE_GRIDTYPE 1 933 #define USED_SGRID_GRIDTYPE 1 934 #endif // #if HAVE_DUNE_GRID && defined SGRID && ..