From: Denis Davydov Date: Tue, 15 May 2018 10:02:59 +0000 (+0200) Subject: test Accessor::global_index() X-Git-Tag: v9.1.0-rc1~1144^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7333f47a777a0bebdc2423ca2450f9e5be325cb;p=dealii.git test Accessor::global_index() --- diff --git a/tests/sparsity/sparsity_pattern_12.cc b/tests/sparsity/sparsity_pattern_12.cc new file mode 100644 index 0000000000..c9ceaadc10 --- /dev/null +++ b/tests/sparsity/sparsity_pattern_12.cc @@ -0,0 +1,33 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2018 by the deal.II authors +// +// This file is part of the deal.II library. +// +// The deal.II library is free software; you can use it, redistribute +// it, and/or modify it under the terms of the GNU Lesser General +// Public License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// The full text of the license can be found in the file LICENSE at +// the top level of the deal.II distribution. +// +// --------------------------------------------------------------------- + + + +// check Accessor::global_index() + +#include "sparsity_pattern_common.h" + +int main () +{ + std::ofstream logfile("output"); + logfile.setf(std::ios::fixed); + deallog << std::setprecision(3); + deallog.attach(logfile); + + global_index (); +} + + + diff --git a/tests/sparsity/sparsity_pattern_12.output b/tests/sparsity/sparsity_pattern_12.output new file mode 100644 index 0000000000..5d9bf9a5e7 --- /dev/null +++ b/tests/sparsity/sparsity_pattern_12.output @@ -0,0 +1,927 @@ + +DEAL::196 196 14 924 +DEAL::0 0 0 +DEAL::0 1 1 +DEAL::0 14 2 +DEAL::1 1 3 +DEAL::1 0 4 +DEAL::1 2 5 +DEAL::1 15 6 +DEAL::2 2 7 +DEAL::2 1 8 +DEAL::2 3 9 +DEAL::2 16 10 +DEAL::3 3 11 +DEAL::3 2 12 +DEAL::3 4 13 +DEAL::3 17 14 +DEAL::4 4 15 +DEAL::4 3 16 +DEAL::4 5 17 +DEAL::4 18 18 +DEAL::5 5 19 +DEAL::5 4 20 +DEAL::5 6 21 +DEAL::5 19 22 +DEAL::6 6 23 +DEAL::6 5 24 +DEAL::6 7 25 +DEAL::6 20 26 +DEAL::7 7 27 +DEAL::7 6 28 +DEAL::7 8 29 +DEAL::7 21 30 +DEAL::8 8 31 +DEAL::8 7 32 +DEAL::8 9 33 +DEAL::8 22 34 +DEAL::9 9 35 +DEAL::9 8 36 +DEAL::9 10 37 +DEAL::9 23 38 +DEAL::10 10 39 +DEAL::10 9 40 +DEAL::10 11 41 +DEAL::10 24 42 +DEAL::11 11 43 +DEAL::11 10 44 +DEAL::11 12 45 +DEAL::11 25 46 +DEAL::12 12 47 +DEAL::12 11 48 +DEAL::12 13 49 +DEAL::12 26 50 +DEAL::13 13 51 +DEAL::13 12 52 +DEAL::13 27 53 +DEAL::14 14 54 +DEAL::14 0 55 +DEAL::14 15 56 +DEAL::14 28 57 +DEAL::15 15 58 +DEAL::15 1 59 +DEAL::15 14 60 +DEAL::15 16 61 +DEAL::15 29 62 +DEAL::16 16 63 +DEAL::16 2 64 +DEAL::16 15 65 +DEAL::16 17 66 +DEAL::16 30 67 +DEAL::17 17 68 +DEAL::17 3 69 +DEAL::17 16 70 +DEAL::17 18 71 +DEAL::17 31 72 +DEAL::18 18 73 +DEAL::18 4 74 +DEAL::18 17 75 +DEAL::18 19 76 +DEAL::18 32 77 +DEAL::19 19 78 +DEAL::19 5 79 +DEAL::19 18 80 +DEAL::19 20 81 +DEAL::19 33 82 +DEAL::20 20 83 +DEAL::20 6 84 +DEAL::20 19 85 +DEAL::20 21 86 +DEAL::20 34 87 +DEAL::21 21 88 +DEAL::21 7 89 +DEAL::21 20 90 +DEAL::21 22 91 +DEAL::21 35 92 +DEAL::22 22 93 +DEAL::22 8 94 +DEAL::22 21 95 +DEAL::22 23 96 +DEAL::22 36 97 +DEAL::23 23 98 +DEAL::23 9 99 +DEAL::23 22 100 +DEAL::23 24 101 +DEAL::23 37 102 +DEAL::24 24 103 +DEAL::24 10 104 +DEAL::24 23 105 +DEAL::24 25 106 +DEAL::24 38 107 +DEAL::25 25 108 +DEAL::25 11 109 +DEAL::25 24 110 +DEAL::25 26 111 +DEAL::25 39 112 +DEAL::26 26 113 +DEAL::26 12 114 +DEAL::26 25 115 +DEAL::26 27 116 +DEAL::26 40 117 +DEAL::27 27 118 +DEAL::27 13 119 +DEAL::27 26 120 +DEAL::27 41 121 +DEAL::28 28 122 +DEAL::28 14 123 +DEAL::28 29 124 +DEAL::28 42 125 +DEAL::29 29 126 +DEAL::29 15 127 +DEAL::29 28 128 +DEAL::29 30 129 +DEAL::29 43 130 +DEAL::30 30 131 +DEAL::30 16 132 +DEAL::30 29 133 +DEAL::30 31 134 +DEAL::30 44 135 +DEAL::31 31 136 +DEAL::31 17 137 +DEAL::31 30 138 +DEAL::31 32 139 +DEAL::31 45 140 +DEAL::32 32 141 +DEAL::32 18 142 +DEAL::32 31 143 +DEAL::32 33 144 +DEAL::32 46 145 +DEAL::33 33 146 +DEAL::33 19 147 +DEAL::33 32 148 +DEAL::33 34 149 +DEAL::33 47 150 +DEAL::34 34 151 +DEAL::34 20 152 +DEAL::34 33 153 +DEAL::34 35 154 +DEAL::34 48 155 +DEAL::35 35 156 +DEAL::35 21 157 +DEAL::35 34 158 +DEAL::35 36 159 +DEAL::35 49 160 +DEAL::36 36 161 +DEAL::36 22 162 +DEAL::36 35 163 +DEAL::36 37 164 +DEAL::36 50 165 +DEAL::37 37 166 +DEAL::37 23 167 +DEAL::37 36 168 +DEAL::37 38 169 +DEAL::37 51 170 +DEAL::38 38 171 +DEAL::38 24 172 +DEAL::38 37 173 +DEAL::38 39 174 +DEAL::38 52 175 +DEAL::39 39 176 +DEAL::39 25 177 +DEAL::39 38 178 +DEAL::39 40 179 +DEAL::39 53 180 +DEAL::40 40 181 +DEAL::40 26 182 +DEAL::40 39 183 +DEAL::40 41 184 +DEAL::40 54 185 +DEAL::41 41 186 +DEAL::41 27 187 +DEAL::41 40 188 +DEAL::41 55 189 +DEAL::42 42 190 +DEAL::42 28 191 +DEAL::42 43 192 +DEAL::42 56 193 +DEAL::43 43 194 +DEAL::43 29 195 +DEAL::43 42 196 +DEAL::43 44 197 +DEAL::43 57 198 +DEAL::44 44 199 +DEAL::44 30 200 +DEAL::44 43 201 +DEAL::44 45 202 +DEAL::44 58 203 +DEAL::45 45 204 +DEAL::45 31 205 +DEAL::45 44 206 +DEAL::45 46 207 +DEAL::45 59 208 +DEAL::46 46 209 +DEAL::46 32 210 +DEAL::46 45 211 +DEAL::46 47 212 +DEAL::46 60 213 +DEAL::47 47 214 +DEAL::47 33 215 +DEAL::47 46 216 +DEAL::47 48 217 +DEAL::47 61 218 +DEAL::48 48 219 +DEAL::48 34 220 +DEAL::48 47 221 +DEAL::48 49 222 +DEAL::48 62 223 +DEAL::49 49 224 +DEAL::49 35 225 +DEAL::49 48 226 +DEAL::49 50 227 +DEAL::49 63 228 +DEAL::50 50 229 +DEAL::50 36 230 +DEAL::50 49 231 +DEAL::50 51 232 +DEAL::50 64 233 +DEAL::51 51 234 +DEAL::51 37 235 +DEAL::51 50 236 +DEAL::51 52 237 +DEAL::51 65 238 +DEAL::52 52 239 +DEAL::52 38 240 +DEAL::52 51 241 +DEAL::52 53 242 +DEAL::52 66 243 +DEAL::53 53 244 +DEAL::53 39 245 +DEAL::53 52 246 +DEAL::53 54 247 +DEAL::53 67 248 +DEAL::54 54 249 +DEAL::54 40 250 +DEAL::54 53 251 +DEAL::54 55 252 +DEAL::54 68 253 +DEAL::55 55 254 +DEAL::55 41 255 +DEAL::55 54 256 +DEAL::55 69 257 +DEAL::56 56 258 +DEAL::56 42 259 +DEAL::56 57 260 +DEAL::56 70 261 +DEAL::57 57 262 +DEAL::57 43 263 +DEAL::57 56 264 +DEAL::57 58 265 +DEAL::57 71 266 +DEAL::58 58 267 +DEAL::58 44 268 +DEAL::58 57 269 +DEAL::58 59 270 +DEAL::58 72 271 +DEAL::59 59 272 +DEAL::59 45 273 +DEAL::59 58 274 +DEAL::59 60 275 +DEAL::59 73 276 +DEAL::60 60 277 +DEAL::60 46 278 +DEAL::60 59 279 +DEAL::60 61 280 +DEAL::60 74 281 +DEAL::61 61 282 +DEAL::61 47 283 +DEAL::61 60 284 +DEAL::61 62 285 +DEAL::61 75 286 +DEAL::62 62 287 +DEAL::62 48 288 +DEAL::62 61 289 +DEAL::62 63 290 +DEAL::62 76 291 +DEAL::63 63 292 +DEAL::63 49 293 +DEAL::63 62 294 +DEAL::63 64 295 +DEAL::63 77 296 +DEAL::64 64 297 +DEAL::64 50 298 +DEAL::64 63 299 +DEAL::64 65 300 +DEAL::64 78 301 +DEAL::65 65 302 +DEAL::65 51 303 +DEAL::65 64 304 +DEAL::65 66 305 +DEAL::65 79 306 +DEAL::66 66 307 +DEAL::66 52 308 +DEAL::66 65 309 +DEAL::66 67 310 +DEAL::66 80 311 +DEAL::67 67 312 +DEAL::67 53 313 +DEAL::67 66 314 +DEAL::67 68 315 +DEAL::67 81 316 +DEAL::68 68 317 +DEAL::68 54 318 +DEAL::68 67 319 +DEAL::68 69 320 +DEAL::68 82 321 +DEAL::69 69 322 +DEAL::69 55 323 +DEAL::69 68 324 +DEAL::69 83 325 +DEAL::70 70 326 +DEAL::70 56 327 +DEAL::70 71 328 +DEAL::70 84 329 +DEAL::71 71 330 +DEAL::71 57 331 +DEAL::71 70 332 +DEAL::71 72 333 +DEAL::71 85 334 +DEAL::72 72 335 +DEAL::72 58 336 +DEAL::72 71 337 +DEAL::72 73 338 +DEAL::72 86 339 +DEAL::73 73 340 +DEAL::73 59 341 +DEAL::73 72 342 +DEAL::73 74 343 +DEAL::73 87 344 +DEAL::74 74 345 +DEAL::74 60 346 +DEAL::74 73 347 +DEAL::74 75 348 +DEAL::74 88 349 +DEAL::75 75 350 +DEAL::75 61 351 +DEAL::75 74 352 +DEAL::75 76 353 +DEAL::75 89 354 +DEAL::76 76 355 +DEAL::76 62 356 +DEAL::76 75 357 +DEAL::76 77 358 +DEAL::76 90 359 +DEAL::77 77 360 +DEAL::77 63 361 +DEAL::77 76 362 +DEAL::77 78 363 +DEAL::77 91 364 +DEAL::78 78 365 +DEAL::78 64 366 +DEAL::78 77 367 +DEAL::78 79 368 +DEAL::78 92 369 +DEAL::79 79 370 +DEAL::79 65 371 +DEAL::79 78 372 +DEAL::79 80 373 +DEAL::79 93 374 +DEAL::80 80 375 +DEAL::80 66 376 +DEAL::80 79 377 +DEAL::80 81 378 +DEAL::80 94 379 +DEAL::81 81 380 +DEAL::81 67 381 +DEAL::81 80 382 +DEAL::81 82 383 +DEAL::81 95 384 +DEAL::82 82 385 +DEAL::82 68 386 +DEAL::82 81 387 +DEAL::82 83 388 +DEAL::82 96 389 +DEAL::83 83 390 +DEAL::83 69 391 +DEAL::83 82 392 +DEAL::83 97 393 +DEAL::84 84 394 +DEAL::84 70 395 +DEAL::84 85 396 +DEAL::84 98 397 +DEAL::85 85 398 +DEAL::85 71 399 +DEAL::85 84 400 +DEAL::85 86 401 +DEAL::85 99 402 +DEAL::86 86 403 +DEAL::86 72 404 +DEAL::86 85 405 +DEAL::86 87 406 +DEAL::86 100 407 +DEAL::87 87 408 +DEAL::87 73 409 +DEAL::87 86 410 +DEAL::87 88 411 +DEAL::87 101 412 +DEAL::88 88 413 +DEAL::88 74 414 +DEAL::88 87 415 +DEAL::88 89 416 +DEAL::88 102 417 +DEAL::89 89 418 +DEAL::89 75 419 +DEAL::89 88 420 +DEAL::89 90 421 +DEAL::89 103 422 +DEAL::90 90 423 +DEAL::90 76 424 +DEAL::90 89 425 +DEAL::90 91 426 +DEAL::90 104 427 +DEAL::91 91 428 +DEAL::91 77 429 +DEAL::91 90 430 +DEAL::91 92 431 +DEAL::91 105 432 +DEAL::92 92 433 +DEAL::92 78 434 +DEAL::92 91 435 +DEAL::92 93 436 +DEAL::92 106 437 +DEAL::93 93 438 +DEAL::93 79 439 +DEAL::93 92 440 +DEAL::93 94 441 +DEAL::93 107 442 +DEAL::94 94 443 +DEAL::94 80 444 +DEAL::94 93 445 +DEAL::94 95 446 +DEAL::94 108 447 +DEAL::95 95 448 +DEAL::95 81 449 +DEAL::95 94 450 +DEAL::95 96 451 +DEAL::95 109 452 +DEAL::96 96 453 +DEAL::96 82 454 +DEAL::96 95 455 +DEAL::96 97 456 +DEAL::96 110 457 +DEAL::97 97 458 +DEAL::97 83 459 +DEAL::97 96 460 +DEAL::97 111 461 +DEAL::98 98 462 +DEAL::98 84 463 +DEAL::98 99 464 +DEAL::98 112 465 +DEAL::99 99 466 +DEAL::99 85 467 +DEAL::99 98 468 +DEAL::99 100 469 +DEAL::99 113 470 +DEAL::100 100 471 +DEAL::100 86 472 +DEAL::100 99 473 +DEAL::100 101 474 +DEAL::100 114 475 +DEAL::101 101 476 +DEAL::101 87 477 +DEAL::101 100 478 +DEAL::101 102 479 +DEAL::101 115 480 +DEAL::102 102 481 +DEAL::102 88 482 +DEAL::102 101 483 +DEAL::102 103 484 +DEAL::102 116 485 +DEAL::103 103 486 +DEAL::103 89 487 +DEAL::103 102 488 +DEAL::103 104 489 +DEAL::103 117 490 +DEAL::104 104 491 +DEAL::104 90 492 +DEAL::104 103 493 +DEAL::104 105 494 +DEAL::104 118 495 +DEAL::105 105 496 +DEAL::105 91 497 +DEAL::105 104 498 +DEAL::105 106 499 +DEAL::105 119 500 +DEAL::106 106 501 +DEAL::106 92 502 +DEAL::106 105 503 +DEAL::106 107 504 +DEAL::106 120 505 +DEAL::107 107 506 +DEAL::107 93 507 +DEAL::107 106 508 +DEAL::107 108 509 +DEAL::107 121 510 +DEAL::108 108 511 +DEAL::108 94 512 +DEAL::108 107 513 +DEAL::108 109 514 +DEAL::108 122 515 +DEAL::109 109 516 +DEAL::109 95 517 +DEAL::109 108 518 +DEAL::109 110 519 +DEAL::109 123 520 +DEAL::110 110 521 +DEAL::110 96 522 +DEAL::110 109 523 +DEAL::110 111 524 +DEAL::110 124 525 +DEAL::111 111 526 +DEAL::111 97 527 +DEAL::111 110 528 +DEAL::111 125 529 +DEAL::112 112 530 +DEAL::112 98 531 +DEAL::112 113 532 +DEAL::112 126 533 +DEAL::113 113 534 +DEAL::113 99 535 +DEAL::113 112 536 +DEAL::113 114 537 +DEAL::113 127 538 +DEAL::114 114 539 +DEAL::114 100 540 +DEAL::114 113 541 +DEAL::114 115 542 +DEAL::114 128 543 +DEAL::115 115 544 +DEAL::115 101 545 +DEAL::115 114 546 +DEAL::115 116 547 +DEAL::115 129 548 +DEAL::116 116 549 +DEAL::116 102 550 +DEAL::116 115 551 +DEAL::116 117 552 +DEAL::116 130 553 +DEAL::117 117 554 +DEAL::117 103 555 +DEAL::117 116 556 +DEAL::117 118 557 +DEAL::117 131 558 +DEAL::118 118 559 +DEAL::118 104 560 +DEAL::118 117 561 +DEAL::118 119 562 +DEAL::118 132 563 +DEAL::119 119 564 +DEAL::119 105 565 +DEAL::119 118 566 +DEAL::119 120 567 +DEAL::119 133 568 +DEAL::120 120 569 +DEAL::120 106 570 +DEAL::120 119 571 +DEAL::120 121 572 +DEAL::120 134 573 +DEAL::121 121 574 +DEAL::121 107 575 +DEAL::121 120 576 +DEAL::121 122 577 +DEAL::121 135 578 +DEAL::122 122 579 +DEAL::122 108 580 +DEAL::122 121 581 +DEAL::122 123 582 +DEAL::122 136 583 +DEAL::123 123 584 +DEAL::123 109 585 +DEAL::123 122 586 +DEAL::123 124 587 +DEAL::123 137 588 +DEAL::124 124 589 +DEAL::124 110 590 +DEAL::124 123 591 +DEAL::124 125 592 +DEAL::124 138 593 +DEAL::125 125 594 +DEAL::125 111 595 +DEAL::125 124 596 +DEAL::125 139 597 +DEAL::126 126 598 +DEAL::126 112 599 +DEAL::126 127 600 +DEAL::126 140 601 +DEAL::127 127 602 +DEAL::127 113 603 +DEAL::127 126 604 +DEAL::127 128 605 +DEAL::127 141 606 +DEAL::128 128 607 +DEAL::128 114 608 +DEAL::128 127 609 +DEAL::128 129 610 +DEAL::128 142 611 +DEAL::129 129 612 +DEAL::129 115 613 +DEAL::129 128 614 +DEAL::129 130 615 +DEAL::129 143 616 +DEAL::130 130 617 +DEAL::130 116 618 +DEAL::130 129 619 +DEAL::130 131 620 +DEAL::130 144 621 +DEAL::131 131 622 +DEAL::131 117 623 +DEAL::131 130 624 +DEAL::131 132 625 +DEAL::131 145 626 +DEAL::132 132 627 +DEAL::132 118 628 +DEAL::132 131 629 +DEAL::132 133 630 +DEAL::132 146 631 +DEAL::133 133 632 +DEAL::133 119 633 +DEAL::133 132 634 +DEAL::133 134 635 +DEAL::133 147 636 +DEAL::134 134 637 +DEAL::134 120 638 +DEAL::134 133 639 +DEAL::134 135 640 +DEAL::134 148 641 +DEAL::135 135 642 +DEAL::135 121 643 +DEAL::135 134 644 +DEAL::135 136 645 +DEAL::135 149 646 +DEAL::136 136 647 +DEAL::136 122 648 +DEAL::136 135 649 +DEAL::136 137 650 +DEAL::136 150 651 +DEAL::137 137 652 +DEAL::137 123 653 +DEAL::137 136 654 +DEAL::137 138 655 +DEAL::137 151 656 +DEAL::138 138 657 +DEAL::138 124 658 +DEAL::138 137 659 +DEAL::138 139 660 +DEAL::138 152 661 +DEAL::139 139 662 +DEAL::139 125 663 +DEAL::139 138 664 +DEAL::139 153 665 +DEAL::140 140 666 +DEAL::140 126 667 +DEAL::140 141 668 +DEAL::140 154 669 +DEAL::141 141 670 +DEAL::141 127 671 +DEAL::141 140 672 +DEAL::141 142 673 +DEAL::141 155 674 +DEAL::142 142 675 +DEAL::142 128 676 +DEAL::142 141 677 +DEAL::142 143 678 +DEAL::142 156 679 +DEAL::143 143 680 +DEAL::143 129 681 +DEAL::143 142 682 +DEAL::143 144 683 +DEAL::143 157 684 +DEAL::144 144 685 +DEAL::144 130 686 +DEAL::144 143 687 +DEAL::144 145 688 +DEAL::144 158 689 +DEAL::145 145 690 +DEAL::145 131 691 +DEAL::145 144 692 +DEAL::145 146 693 +DEAL::145 159 694 +DEAL::146 146 695 +DEAL::146 132 696 +DEAL::146 145 697 +DEAL::146 147 698 +DEAL::146 160 699 +DEAL::147 147 700 +DEAL::147 133 701 +DEAL::147 146 702 +DEAL::147 148 703 +DEAL::147 161 704 +DEAL::148 148 705 +DEAL::148 134 706 +DEAL::148 147 707 +DEAL::148 149 708 +DEAL::148 162 709 +DEAL::149 149 710 +DEAL::149 135 711 +DEAL::149 148 712 +DEAL::149 150 713 +DEAL::149 163 714 +DEAL::150 150 715 +DEAL::150 136 716 +DEAL::150 149 717 +DEAL::150 151 718 +DEAL::150 164 719 +DEAL::151 151 720 +DEAL::151 137 721 +DEAL::151 150 722 +DEAL::151 152 723 +DEAL::151 165 724 +DEAL::152 152 725 +DEAL::152 138 726 +DEAL::152 151 727 +DEAL::152 153 728 +DEAL::152 166 729 +DEAL::153 153 730 +DEAL::153 139 731 +DEAL::153 152 732 +DEAL::153 167 733 +DEAL::154 154 734 +DEAL::154 140 735 +DEAL::154 155 736 +DEAL::154 168 737 +DEAL::155 155 738 +DEAL::155 141 739 +DEAL::155 154 740 +DEAL::155 156 741 +DEAL::155 169 742 +DEAL::156 156 743 +DEAL::156 142 744 +DEAL::156 155 745 +DEAL::156 157 746 +DEAL::156 170 747 +DEAL::157 157 748 +DEAL::157 143 749 +DEAL::157 156 750 +DEAL::157 158 751 +DEAL::157 171 752 +DEAL::158 158 753 +DEAL::158 144 754 +DEAL::158 157 755 +DEAL::158 159 756 +DEAL::158 172 757 +DEAL::159 159 758 +DEAL::159 145 759 +DEAL::159 158 760 +DEAL::159 160 761 +DEAL::159 173 762 +DEAL::160 160 763 +DEAL::160 146 764 +DEAL::160 159 765 +DEAL::160 161 766 +DEAL::160 174 767 +DEAL::161 161 768 +DEAL::161 147 769 +DEAL::161 160 770 +DEAL::161 162 771 +DEAL::161 175 772 +DEAL::162 162 773 +DEAL::162 148 774 +DEAL::162 161 775 +DEAL::162 163 776 +DEAL::162 176 777 +DEAL::163 163 778 +DEAL::163 149 779 +DEAL::163 162 780 +DEAL::163 164 781 +DEAL::163 177 782 +DEAL::164 164 783 +DEAL::164 150 784 +DEAL::164 163 785 +DEAL::164 165 786 +DEAL::164 178 787 +DEAL::165 165 788 +DEAL::165 151 789 +DEAL::165 164 790 +DEAL::165 166 791 +DEAL::165 179 792 +DEAL::166 166 793 +DEAL::166 152 794 +DEAL::166 165 795 +DEAL::166 167 796 +DEAL::166 180 797 +DEAL::167 167 798 +DEAL::167 153 799 +DEAL::167 166 800 +DEAL::167 181 801 +DEAL::168 168 802 +DEAL::168 154 803 +DEAL::168 169 804 +DEAL::168 182 805 +DEAL::169 169 806 +DEAL::169 155 807 +DEAL::169 168 808 +DEAL::169 170 809 +DEAL::169 183 810 +DEAL::170 170 811 +DEAL::170 156 812 +DEAL::170 169 813 +DEAL::170 171 814 +DEAL::170 184 815 +DEAL::171 171 816 +DEAL::171 157 817 +DEAL::171 170 818 +DEAL::171 172 819 +DEAL::171 185 820 +DEAL::172 172 821 +DEAL::172 158 822 +DEAL::172 171 823 +DEAL::172 173 824 +DEAL::172 186 825 +DEAL::173 173 826 +DEAL::173 159 827 +DEAL::173 172 828 +DEAL::173 174 829 +DEAL::173 187 830 +DEAL::174 174 831 +DEAL::174 160 832 +DEAL::174 173 833 +DEAL::174 175 834 +DEAL::174 188 835 +DEAL::175 175 836 +DEAL::175 161 837 +DEAL::175 174 838 +DEAL::175 176 839 +DEAL::175 189 840 +DEAL::176 176 841 +DEAL::176 162 842 +DEAL::176 175 843 +DEAL::176 177 844 +DEAL::176 190 845 +DEAL::177 177 846 +DEAL::177 163 847 +DEAL::177 176 848 +DEAL::177 178 849 +DEAL::177 191 850 +DEAL::178 178 851 +DEAL::178 164 852 +DEAL::178 177 853 +DEAL::178 179 854 +DEAL::178 192 855 +DEAL::179 179 856 +DEAL::179 165 857 +DEAL::179 178 858 +DEAL::179 180 859 +DEAL::179 193 860 +DEAL::180 180 861 +DEAL::180 166 862 +DEAL::180 179 863 +DEAL::180 181 864 +DEAL::180 194 865 +DEAL::181 181 866 +DEAL::181 167 867 +DEAL::181 180 868 +DEAL::181 195 869 +DEAL::182 182 870 +DEAL::182 168 871 +DEAL::182 183 872 +DEAL::183 183 873 +DEAL::183 169 874 +DEAL::183 182 875 +DEAL::183 184 876 +DEAL::184 184 877 +DEAL::184 170 878 +DEAL::184 183 879 +DEAL::184 185 880 +DEAL::185 185 881 +DEAL::185 171 882 +DEAL::185 184 883 +DEAL::185 186 884 +DEAL::186 186 885 +DEAL::186 172 886 +DEAL::186 185 887 +DEAL::186 187 888 +DEAL::187 187 889 +DEAL::187 173 890 +DEAL::187 186 891 +DEAL::187 188 892 +DEAL::188 188 893 +DEAL::188 174 894 +DEAL::188 187 895 +DEAL::188 189 896 +DEAL::189 189 897 +DEAL::189 175 898 +DEAL::189 188 899 +DEAL::189 190 900 +DEAL::190 190 901 +DEAL::190 176 902 +DEAL::190 189 903 +DEAL::190 191 904 +DEAL::191 191 905 +DEAL::191 177 906 +DEAL::191 190 907 +DEAL::191 192 908 +DEAL::192 192 909 +DEAL::192 178 910 +DEAL::192 191 911 +DEAL::192 193 912 +DEAL::193 193 913 +DEAL::193 179 914 +DEAL::193 192 915 +DEAL::193 194 916 +DEAL::194 194 917 +DEAL::194 180 918 +DEAL::194 193 919 +DEAL::194 195 920 +DEAL::195 195 921 +DEAL::195 181 922 +DEAL::195 194 923 +DEAL::OK diff --git a/tests/sparsity/sparsity_pattern_common.h b/tests/sparsity/sparsity_pattern_common.h index 09a62dc622..95ddbf0dfc 100644 --- a/tests/sparsity/sparsity_pattern_common.h +++ b/tests/sparsity/sparsity_pattern_common.h @@ -45,6 +45,7 @@ void do_reinit (SparsityPattern &sp) } + void do_reinit (ChunkSparsityPattern &sp) { sp.reinit((N-1)*(N-1), (N-1)*(N-1), 5, chunk_size); @@ -77,6 +78,7 @@ void build_sparsity (SP &sparsity_pattern) } + template void row_length () { @@ -90,6 +92,21 @@ void row_length () } + +template +void global_index () +{ + SP sparsity_pattern; + build_sparsity (sparsity_pattern); + + for (auto it = sparsity_pattern.begin(); it != sparsity_pattern.end(); ++it) + deallog << it->row() << " " << it->column() << " " << it->global_index() << std::endl; + + deallog << "OK" << std::endl; +} + + + template void print_gnuplot () { @@ -115,6 +132,7 @@ void print () } + template void copy_with_offdiagonals_check (SP &sp2) { @@ -166,7 +184,6 @@ void copy_with_offdiagonals_1 () - template void copy_with_offdiagonals_2 () { @@ -189,6 +206,7 @@ void copy_with_offdiagonals_2 () } + template <> void copy_with_offdiagonals_2 () { @@ -209,7 +227,6 @@ void copy_with_offdiagonals_2 () - void do_copy_from (const std::list > > &sparsity, SparsityPattern &sp4) @@ -231,7 +248,6 @@ do_copy_from (const std::list > - template void do_copy_from (const DynamicSparsityPattern &sparsity, @@ -262,6 +278,7 @@ do_copy_from (const FullMatrix &sparsity, } + void do_copy_from (const FullMatrix &sparsity, ChunkSparsityPattern &sp4) @@ -271,7 +288,6 @@ do_copy_from (const FullMatrix &sparsity, - template void copy_from_1 () { @@ -438,6 +454,7 @@ void matrix_position () } + template <> void matrix_position () { @@ -446,6 +463,7 @@ void matrix_position () } + template <> void matrix_position () { @@ -455,8 +473,6 @@ void matrix_position () - - template void block_read_write () { @@ -501,7 +517,6 @@ void block_read_write () - template void test_index_set (const bool contiguous) {