]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Alternative return value formatting 8019/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 7 May 2019 00:32:41 +0000 (20:32 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 7 May 2019 00:32:41 +0000 (20:32 -0400)
examples/step-62/step-62.cc

index c87d257c6f185b80b535fe782c8d18077061b942..0408ed44ae10f57398a4a50e5d07852f64249fc9 100644 (file)
@@ -477,7 +477,8 @@ namespace step62
           }
       }
 
-    return {1, std::max(calculated_pml_x_coeff, calculated_pml_y_coeff)};
+    return 1 + std::max(calculated_pml_x_coeff, calculated_pml_y_coeff) *
+                 std::complex<double>(0, 1);
   }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.