From: Matthias Maier Date: Mon, 11 May 2020 18:52:44 +0000 (-0500) Subject: Test boost/extract_representative_set_02: add output variant X-Git-Tag: v9.2.0-rc1~23^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9038e6000b681910227e24302e964835a344ddf8;p=dealii.git Test boost/extract_representative_set_02: add output variant The actual final set of bounding boxes computed with boost depends on the standard library being used. Funny enough the difference is only one cell on one processor when switching from libc++ to libstc++. The output seems to be stable with respect to standard library. I have not investigated further, but I would bet that it boils down to an (unstable) sort algorithm being used in the boost implementation. For now, just provide an output variant. If this test fails again, we might have to think about another alternative. --- diff --git a/tests/boost/extract_representative_set_02.with_p4est=true.mpirun=3.output.libstdc++ b/tests/boost/extract_representative_set_02.with_p4est=true.mpirun=3.output.libstdc++ new file mode 100644 index 0000000000..d08c34efb1 --- /dev/null +++ b/tests/boost/extract_representative_set_02.with_p4est=true.mpirun=3.output.libstdc++ @@ -0,0 +1,134 @@ + +DEAL:0::LEVEL 0: N boxes: 7 +DEAL:0::-0.92388 -0.92388 +-0.297335 -0.92388 +-0.297335 -0.297335 +-0.92388 -0.297335 +-0.92388 -0.92388 + +DEAL:0::-1 -0.382683 +-0.603553 -0.382683 +-0.603553 0.707107 +-1 0.707107 +-1 -0.382683 + +DEAL:0::-0.748551 -0.459948 +-0.34467 -0.459948 +-0.34467 0.283171 +-0.748551 0.283171 +-0.748551 -0.459948 + +DEAL:0::-0.382683 -1 +0.707107 -1 +0.707107 -0.603553 +-0.382683 -0.603553 +-0.382683 -1 + +DEAL:0::-0.459948 -0.748551 +0.603553 -0.748551 +0.603553 -0.475682 +-0.459948 -0.475682 +-0.459948 -0.748551 + +DEAL:0::-0.396447 -0.558058 +0.0861675 -0.558058 +0.0861675 0 +-0.396447 0 +-0.396447 -0.558058 + +DEAL:0::-4.16334e-17 -0.558058 +0.5 -0.558058 +0.5 -0.292893 +-4.16334e-17 -0.292893 +-4.16334e-17 -0.558058 + + +DEAL:1::LEVEL 0: N boxes: 7 +DEAL:1::-0.292893 -0.292893 +0 -0.292893 +0 0.0732233 +-0.292893 0.0732233 +-0.292893 -0.292893 + +DEAL:1::-0.748551 -5.55112e-17 +-0.34467 -5.55112e-17 +-0.34467 0.603553 +-0.748551 0.603553 +-0.748551 -5.55112e-17 + +DEAL:1::-0.381282 -1.38778e-17 +0 -1.38778e-17 +0 0.34467 +-0.381282 0.34467 +-0.381282 -1.38778e-17 + +DEAL:1::-0.0732233 -0.292893 +0.292893 -0.292893 +0.292893 0 +-0.0732233 0 +-0.0732233 -0.292893 + +DEAL:1::0.5 -0.707107 +1 -0.707107 +1 -5.55112e-17 +0.5 -5.55112e-17 +0.5 -0.707107 + +DEAL:1::-0.0732233 -0.0732233 +0.21967 -0.0732233 +0.21967 0.292893 +-0.0732233 0.292893 +-0.0732233 -0.0732233 + +DEAL:1::0.21967 -1.11022e-16 +1 -1.11022e-16 +1 0.382683 +0.21967 0.382683 +0.21967 -1.11022e-16 + + + +DEAL:2::LEVEL 0: N boxes: 7 +DEAL:2::-0.448223 0.292893 +0.297335 0.292893 +0.297335 0.503141 +-0.448223 0.503141 +-0.448223 0.292893 + +DEAL:2::-0.707107 0.433058 +-0.0991117 0.433058 +-0.0991117 0.980785 +-0.707107 0.980785 +-0.707107 0.433058 + +DEAL:2::-0.19509 0.433058 +0.316342 0.433058 +0.316342 1 +-0.19509 1 +-0.19509 0.433058 + +DEAL:2::0.292893 -0.448223 +0.475682 -0.448223 +0.475682 0.34467 +0.292893 0.34467 +0.292893 -0.448223 + +DEAL:2::0.414752 -0.5 +0.823223 -0.5 +0.823223 0.336167 +0.414752 0.336167 +0.414752 -0.5 + +DEAL:2::0.158171 0.258502 +0.55557 0.258502 +0.55557 0.980785 +0.158171 0.980785 +0.158171 0.258502 + +DEAL:2::0.417474 0.224112 +0.92388 0.224112 +0.92388 0.83147 +0.417474 0.83147 +0.417474 0.224112 + +