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.1" 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 1 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.1" 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 1 73 74 /* If this is set, public access to the implementation of facades like Entity, 75 Geometry, etc. is granted. */ 76 /* #undef DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS */ 77 78 /* Define to the version of dune-grid */ 79 #define DUNE_GRID_VERSION "2.3.1" 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 1 89 90 /* Define to the version of dune-istl */ 91 #define DUNE_ISTL_VERSION "2.3.1" 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 1 101 102 /* Define to the version of dune-localfunctions */ 103 #define DUNE_LOCALFUNCTIONS_VERSION "2.3.1" 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 1 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 /* #undef HAVE_BOOST */ 172 173 /* define if the Boost::Fusion headers are available */ 174 /* #undef 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 /* #undef HAVE_DUNE_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 #define HAVE_ENDIAN_H 1 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 /* #undef HAVE_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 /* #undef HAVE_LIBGMP */ 246 247 /* Define to 1 if you have the `gmpxx' library (-L$with_gmp/lib -lgmpxx). */ 248 /* #undef HAVE_LIBGMPXX */ 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 /* #undef HAVE_MACHINE_ENDIAN_H */ 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 #define HAVE_MALLOC_H 1 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 #define HAVE_MPI ENABLE_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 in which libtool stores uninstalled libraries. 416 */ 417 #define LT_OBJDIR ".libs/" 418 419 /* Define to 1 if MPI supports MPI-2 */ 420 #define MPI_2 1 421 422 /* Name of package */ 423 #define PACKAGE "dune-fem-school-stgt2014-05" 424 425 /* Define to the address where bug reports for this package should be sent. */ 426 #define PACKAGE_BUGREPORT "dune@mathematik.uni-freiburg.de" 427 428 /* Define to the full name of this package. */ 429 #define PACKAGE_NAME "dune-fem-school-StGt2014-05" 430 431 /* Define to the full name and version of this package. */ 432 #define PACKAGE_STRING "dune-fem-school-StGt2014-05 2014.02" 433 434 /* Define to the one symbol short name of this package. */ 435 #define PACKAGE_TARNAME "dune-fem-school-stgt2014-05" 436 437 /* Define to the home page for this package. */ 438 #define PACKAGE_URL "" 439 440 /* Define to the version of this package. */ 441 #define PACKAGE_VERSION "2014.02" 442 443 /* The namespace prefix of the psurface library */ 444 /* #undef PSURFACE_NAMESPACE */ 445 446 /* Define to necessary symbol if this constant uses a non-standard name on 447 your system. */ 448 /* #undef PTHREAD_CREATE_JOINABLE */ 449 450 /* The header in which SHARED_PTR can be found */ 451 /* #undef SHARED_PTR_HEADER */ 452 453 /* The namespace in which SHARED_PTR can be found */ 454 #define SHARED_PTR_NAMESPACE std 455 456 /* Define to 1 if you have the ANSI C header files. */ 457 #define STDC_HEADERS 1 458 459 /* define to 1 if there SLU_DOUBLE imported by header slu_ddefs.h from SuperLU 460 */ 461 /* #undef SUPERLU_MIN_VERSION_4_3 */ 462 463 /* define to 1 if there is a header slu_ddefs.h in SuperLU */ 464 /* #undef SUPERLU_POST_2005_VERSION */ 465 466 /* systems endian header */ 467 #define SYSTEM_ENDIAN_HEADER <endian.h> 468 469 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 470 /* #undef TM_IN_SYS_TIME */ 471 472 /* Version number of package */ 473 #define VERSION "2014.02" 474 475 /* xdr_uint64_t routine */ 476 #define XDR_UINT64_FUNC xdr_uint64_t 477 478 /* Define to 1 if the X Window System is missing or not being used. */ 479 #define X_DISPLAY_MISSING 1 480 481 /* Define to empty if `const' does not conform to ANSI C. */ 482 /* #undef const */ 483 484 /* Define to `__inline__' or `__inline' if that's what the C compiler 485 calls it, or to nothing if 'inline' is not supported under any name. */ 486 #ifndef __cplusplus 487 /* #undef inline */ 488 #endif 489 490 /* Define to `unsigned int' if <sys/types.h> does not define. */ 491 /* #undef size_t */ 492 493 #include <dune/common/deprecated.hh> 494 495 /* add GRIDTYPE typedef for grid implementation Dune::YaspGrid< dimgrid >: 496 defining YASPGRID during compilation typedefs this grid implementation as GridType 497 in namespace Dune::GridSelector; 498 also integer constants dimgrid and dimworld are set in this namespace. 499 The required headers for this grid implementation are also included. 500 */ 501 #if HAVE_DUNE_GRID && defined YASPGRID && ! defined USED_YASPGRID_GRIDTYPE 502 #if HAVE_GRIDTYPE 503 #error "Ambiguous definition of GRIDTYPE." 504 #endif 505 506 #ifndef WORLDDIM 507 #define WORLDDIM GRIDDIM 508 #endif 509 #if not (WORLDDIM >= GRIDDIM) 510 #error "WORLDDIM < GRIDDIM does not make sense." 511 #endif 512 513 #if ! (GRIDDIM == WORLDDIM) 514 #error "Preprocessor assertion GRIDDIM == WORLDDIM failed." 515 #endif 516 517 #include <dune/grid/yaspgrid.hh> 518 #include <dune/grid/io/file/dgfparser/dgfyasp.hh> 519 520 namespace Dune 521 { 522 namespace GridSelector 523 { 524 const int dimgrid = GRIDDIM; 525 const int dimworld = WORLDDIM; 526 typedef Dune::YaspGrid< dimgrid > GridType; 527 } 528 } 529 #define HAVE_GRIDTYPE 1 530 #define USED_YASPGRID_GRIDTYPE 1 531 #endif // #if HAVE_DUNE_GRID && defined YASPGRID && .. 532 533 534 #if ! HAVE_ALUGRID 535 /* add GRIDTYPE typedef for grid implementation : 536 defining ALUGRID_DUMMY_DONT_USE during compilation typedefs this grid implementation as GridType 537 in namespace Dune::GridSelector; 538 also integer constants dimgrid and dimworld are set in this namespace. 539 The required headers for this grid implementation are also included. 540 */ 541 #if HAVE_DUNE_GRID && defined ALUGRID_DUMMY_DONT_USE && ! defined USED_ALUGRID_DUMMY_DONT_USE_GRIDTYPE 542 #if HAVE_GRIDTYPE 543 #error "Ambiguous definition of GRIDTYPE." 544 #endif 545 546 #ifndef WORLDDIM 547 #define WORLDDIM GRIDDIM 548 #endif 549 #if not (WORLDDIM >= GRIDDIM) 550 #error "WORLDDIM < GRIDDIM does not make sense." 551 #endif 552 553 #include <> 554 #include <> 555 556 namespace Dune 557 { 558 namespace GridSelector 559 { 560 const int dimgrid = GRIDDIM; 561 const int dimworld = WORLDDIM; 562 typedef GridType; 563 } 564 } 565 #define HAVE_GRIDTYPE 1 566 #define USED_ALUGRID_DUMMY_DONT_USE_GRIDTYPE 1 567 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_DUMMY_DONT_USE && .. 568 #endif // #if ! HAVE_ALUGRID 569 570 571 572 #if ! HAVE_ALUGRID 573 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::conforming >: 574 defining ALUGRID_CONFORM during compilation typedefs this grid implementation as GridType 575 in namespace Dune::GridSelector; 576 also integer constants dimgrid and dimworld are set in this namespace. 577 The required headers for this grid implementation are also included. 578 */ 579 #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && ! defined USED_ALUGRID_CONFORM_GRIDTYPE 580 #if HAVE_GRIDTYPE 581 #error "Ambiguous definition of GRIDTYPE." 582 #endif 583 584 #ifndef WORLDDIM 585 #define WORLDDIM GRIDDIM 586 #endif 587 #if not (WORLDDIM >= GRIDDIM) 588 #error "WORLDDIM < GRIDDIM does not make sense." 589 #endif 590 591 #include <dune/alugrid/grid.hh> 592 #include <dune/alugrid/dgf.hh> 593 594 namespace Dune 595 { 596 namespace GridSelector 597 { 598 const int dimgrid = GRIDDIM; 599 const int dimworld = WORLDDIM; 600 typedef Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::conforming > GridType; 601 } 602 } 603 #define HAVE_GRIDTYPE 1 604 #define USED_ALUGRID_CONFORM_GRIDTYPE 1 605 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && .. 606 #endif // #if ! HAVE_ALUGRID 607 608 609 610 #if ! HAVE_ALUGRID 611 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, Dune::cube, Dune::nonconforming >: 612 defining ALUGRID_CUBE during compilation typedefs this grid implementation as GridType 613 in namespace Dune::GridSelector; 614 also integer constants dimgrid and dimworld are set in this namespace. 615 The required headers for this grid implementation are also included. 616 */ 617 #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && ! defined USED_ALUGRID_CUBE_GRIDTYPE 618 #if HAVE_GRIDTYPE 619 #error "Ambiguous definition of GRIDTYPE." 620 #endif 621 622 #ifndef WORLDDIM 623 #define WORLDDIM GRIDDIM 624 #endif 625 #if not (WORLDDIM >= GRIDDIM) 626 #error "WORLDDIM < GRIDDIM does not make sense." 627 #endif 628 629 #include <dune/alugrid/grid.hh> 630 #include <dune/alugrid/dgf.hh> 631 632 namespace Dune 633 { 634 namespace GridSelector 635 { 636 const int dimgrid = GRIDDIM; 637 const int dimworld = WORLDDIM; 638 typedef Dune::ALUGrid< dimgrid, dimworld, Dune::cube, Dune::nonconforming > GridType; 639 } 640 } 641 #define HAVE_GRIDTYPE 1 642 #define USED_ALUGRID_CUBE_GRIDTYPE 1 643 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && .. 644 #endif // #if ! HAVE_ALUGRID 645 646 647 648 #if ! HAVE_ALUGRID 649 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::nonconforming >: 650 defining ALUGRID_SIMPLEX during compilation typedefs this grid implementation as GridType 651 in namespace Dune::GridSelector; 652 also integer constants dimgrid and dimworld are set in this namespace. 653 The required headers for this grid implementation are also included. 654 */ 655 #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && ! defined USED_ALUGRID_SIMPLEX_GRIDTYPE 656 #if HAVE_GRIDTYPE 657 #error "Ambiguous definition of GRIDTYPE." 658 #endif 659 660 #ifndef WORLDDIM 661 #define WORLDDIM GRIDDIM 662 #endif 663 #if not (WORLDDIM >= GRIDDIM) 664 #error "WORLDDIM < GRIDDIM does not make sense." 665 #endif 666 667 #include <dune/alugrid/grid.hh> 668 #include <dune/alugrid/dgf.hh> 669 670 namespace Dune 671 { 672 namespace GridSelector 673 { 674 const int dimgrid = GRIDDIM; 675 const int dimworld = WORLDDIM; 676 typedef Dune::ALUGrid< dimgrid, dimworld, Dune::simplex, Dune::nonconforming > GridType; 677 } 678 } 679 #define HAVE_GRIDTYPE 1 680 #define USED_ALUGRID_SIMPLEX_GRIDTYPE 1 681 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && .. 682 #endif // #if ! HAVE_ALUGRID 683 684 685 #include <dune/common/unused.hh> 686 687 /* add GRIDTYPE typedef for grid implementation Dune::AlbertaGrid< dimgrid >: 688 defining ALBERTAGRID during compilation typedefs this grid implementation as GridType 689 in namespace Dune::GridSelector; 690 also integer constants dimgrid and dimworld are set in this namespace. 691 The required headers for this grid implementation are also included. 692 */ 693 #if HAVE_DUNE_GRID && defined ALBERTAGRID && ! defined USED_ALBERTAGRID_GRIDTYPE 694 #if HAVE_GRIDTYPE 695 #error "Ambiguous definition of GRIDTYPE." 696 #endif 697 698 #ifndef WORLDDIM 699 #define WORLDDIM GRIDDIM 700 #endif 701 #if not (WORLDDIM >= GRIDDIM) 702 #error "WORLDDIM < GRIDDIM does not make sense." 703 #endif 704 705 #if ! (WORLDDIM == ALBERTA_DIM) 706 #error "Preprocessor assertion WORLDDIM == ALBERTA_DIM failed." 707 #endif 708 709 #include <dune/grid/albertagrid.hh> 710 #include <dune/grid/albertagrid/dgfparser.hh> 711 712 namespace Dune 713 { 714 namespace GridSelector 715 { 716 const int dimgrid = GRIDDIM; 717 const int dimworld = WORLDDIM; 718 typedef Dune::AlbertaGrid< dimgrid > GridType; 719 } 720 } 721 #define HAVE_GRIDTYPE 1 722 #define USED_ALBERTAGRID_GRIDTYPE 1 723 #endif // #if HAVE_DUNE_GRID && defined ALBERTAGRID && .. 724 725 /* add GRIDTYPE typedef for grid implementation Dune::UGGrid< dimgrid >: 726 defining UGGRID during compilation typedefs this grid implementation as GridType 727 in namespace Dune::GridSelector; 728 also integer constants dimgrid and dimworld are set in this namespace. 729 The required headers for this grid implementation are also included. 730 */ 731 #if HAVE_DUNE_GRID && defined UGGRID && ! defined USED_UGGRID_GRIDTYPE 732 #if HAVE_GRIDTYPE 733 #error "Ambiguous definition of GRIDTYPE." 734 #endif 735 736 #ifndef WORLDDIM 737 #define WORLDDIM GRIDDIM 738 #endif 739 #if not (WORLDDIM >= GRIDDIM) 740 #error "WORLDDIM < GRIDDIM does not make sense." 741 #endif 742 743 #if ! (GRIDDIM == WORLDDIM) 744 #error "Preprocessor assertion GRIDDIM == WORLDDIM failed." 745 #endif 746 747 #include <dune/grid/uggrid.hh> 748 #include <dune/grid/io/file/dgfparser/dgfug.hh> 749 750 namespace Dune 751 { 752 namespace GridSelector 753 { 754 const int dimgrid = GRIDDIM; 755 const int dimworld = WORLDDIM; 756 typedef Dune::UGGrid< dimgrid > GridType; 757 } 758 } 759 #define HAVE_GRIDTYPE 1 760 #define USED_UGGRID_GRIDTYPE 1 761 #endif // #if HAVE_DUNE_GRID && defined UGGRID && .. 762 763 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, simplex, conforming >: 764 defining ALUGRID_CONFORM during compilation typedefs this grid implementation as GridType 765 in namespace Dune::GridSelector; 766 also integer constants dimgrid and dimworld are set in this namespace. 767 The required headers for this grid implementation are also included. 768 */ 769 #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && ! defined USED_ALUGRID_CONFORM_GRIDTYPE 770 #if HAVE_GRIDTYPE 771 #error "Ambiguous definition of GRIDTYPE." 772 #endif 773 774 #ifndef WORLDDIM 775 #define WORLDDIM GRIDDIM 776 #endif 777 #if not (WORLDDIM >= GRIDDIM) 778 #error "WORLDDIM < GRIDDIM does not make sense." 779 #endif 780 781 #include <dune/grid/alugrid.hh> 782 #include <dune/grid/io/file/dgfparser/dgfalu.hh> 783 784 namespace Dune 785 { 786 namespace GridSelector 787 { 788 const int dimgrid = GRIDDIM; 789 const int dimworld = WORLDDIM; 790 typedef Dune::ALUGrid< dimgrid, dimworld, simplex, conforming > GridType; 791 } 792 } 793 #define HAVE_GRIDTYPE 1 794 #define USED_ALUGRID_CONFORM_GRIDTYPE 1 795 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CONFORM && .. 796 797 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, cube, nonconforming >: 798 defining ALUGRID_CUBE during compilation typedefs this grid implementation as GridType 799 in namespace Dune::GridSelector; 800 also integer constants dimgrid and dimworld are set in this namespace. 801 The required headers for this grid implementation are also included. 802 */ 803 #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && ! defined USED_ALUGRID_CUBE_GRIDTYPE 804 #if HAVE_GRIDTYPE 805 #error "Ambiguous definition of GRIDTYPE." 806 #endif 807 808 #ifndef WORLDDIM 809 #define WORLDDIM GRIDDIM 810 #endif 811 #if not (WORLDDIM >= GRIDDIM) 812 #error "WORLDDIM < GRIDDIM does not make sense." 813 #endif 814 815 #include <dune/grid/alugrid.hh> 816 #include <dune/grid/io/file/dgfparser/dgfalu.hh> 817 818 namespace Dune 819 { 820 namespace GridSelector 821 { 822 const int dimgrid = GRIDDIM; 823 const int dimworld = WORLDDIM; 824 typedef Dune::ALUGrid< dimgrid, dimworld, cube, nonconforming > GridType; 825 } 826 } 827 #define HAVE_GRIDTYPE 1 828 #define USED_ALUGRID_CUBE_GRIDTYPE 1 829 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_CUBE && .. 830 831 /* add GRIDTYPE typedef for grid implementation Dune::ALUGrid< dimgrid, dimworld, simplex, nonconforming >: 832 defining ALUGRID_SIMPLEX during compilation typedefs this grid implementation as GridType 833 in namespace Dune::GridSelector; 834 also integer constants dimgrid and dimworld are set in this namespace. 835 The required headers for this grid implementation are also included. 836 */ 837 #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && ! defined USED_ALUGRID_SIMPLEX_GRIDTYPE 838 #if HAVE_GRIDTYPE 839 #error "Ambiguous definition of GRIDTYPE." 840 #endif 841 842 #ifndef WORLDDIM 843 #define WORLDDIM GRIDDIM 844 #endif 845 #if not (WORLDDIM >= GRIDDIM) 846 #error "WORLDDIM < GRIDDIM does not make sense." 847 #endif 848 849 #include <dune/grid/alugrid.hh> 850 #include <dune/grid/io/file/dgfparser/dgfalu.hh> 851 852 namespace Dune 853 { 854 namespace GridSelector 855 { 856 const int dimgrid = GRIDDIM; 857 const int dimworld = WORLDDIM; 858 typedef Dune::ALUGrid< dimgrid, dimworld, simplex, nonconforming > GridType; 859 } 860 } 861 #define HAVE_GRIDTYPE 1 862 #define USED_ALUGRID_SIMPLEX_GRIDTYPE 1 863 #endif // #if HAVE_DUNE_GRID && defined ALUGRID_SIMPLEX && .. 864 865 /* add GRIDTYPE typedef for grid implementation Dune::OneDGrid: 866 defining ONEDGRID during compilation typedefs this grid implementation as GridType 867 in namespace Dune::GridSelector; 868 also integer constants dimgrid and dimworld are set in this namespace. 869 The required headers for this grid implementation are also included. 870 */ 871 #if HAVE_DUNE_GRID && defined ONEDGRID && ! defined USED_ONEDGRID_GRIDTYPE 872 #if HAVE_GRIDTYPE 873 #error "Ambiguous definition of GRIDTYPE." 874 #endif 875 876 #ifndef WORLDDIM 877 #define WORLDDIM GRIDDIM 878 #endif 879 #if not (WORLDDIM >= GRIDDIM) 880 #error "WORLDDIM < GRIDDIM does not make sense." 881 #endif 882 883 #if ! ((GRIDDIM == 1) && (WORLDDIM == 1)) 884 #error "Preprocessor assertion (GRIDDIM == 1) && (WORLDDIM == 1) failed." 885 #endif 886 887 #include <dune/grid/onedgrid.hh> 888 #include <dune/grid/io/file/dgfparser/dgfoned.hh> 889 890 namespace Dune 891 { 892 namespace GridSelector 893 { 894 const int dimgrid = GRIDDIM; 895 const int dimworld = WORLDDIM; 896 typedef Dune::OneDGrid GridType; 897 } 898 } 899 #define HAVE_GRIDTYPE 1 900 #define USED_ONEDGRID_GRIDTYPE 1 901 #endif // #if HAVE_DUNE_GRID && defined ONEDGRID && .. 902 903 /* add GRIDTYPE typedef for grid implementation Dune::SGrid< dimgrid, dimworld >: 904 defining SGRID during compilation typedefs this grid implementation as GridType 905 in namespace Dune::GridSelector; 906 also integer constants dimgrid and dimworld are set in this namespace. 907 The required headers for this grid implementation are also included. 908 */ 909 #if HAVE_DUNE_GRID && defined SGRID && ! defined USED_SGRID_GRIDTYPE 910 #if HAVE_GRIDTYPE 911 #error "Ambiguous definition of GRIDTYPE." 912 #endif 913 914 #ifndef WORLDDIM 915 #define WORLDDIM GRIDDIM 916 #endif 917 #if not (WORLDDIM >= GRIDDIM) 918 #error "WORLDDIM < GRIDDIM does not make sense." 919 #endif 920 921 #include <dune/grid/sgrid.hh> 922 #include <dune/grid/io/file/dgfparser/dgfs.hh> 923 924 namespace Dune 925 { 926 namespace GridSelector 927 { 928 const int dimgrid = GRIDDIM; 929 const int dimworld = WORLDDIM; 930 typedef Dune::SGrid< dimgrid, dimworld > GridType; 931 } 932 } 933 #define HAVE_GRIDTYPE 1 934 #define USED_SGRID_GRIDTYPE 1 935 #endif // #if HAVE_DUNE_GRID && defined SGRID && ..