[Commits] [svn:einsteintoolkit] www/about/gallery/gw150914/ (Rev. 1556)

barry.wardell at gmail.com barry.wardell at gmail.com
Sun Jun 5 17:21:51 CDT 2016


User: barry.wardell
Date: 2016/06/05 05:21 PM

Modified:
 /about/gallery/gw150914/
  index.php

Log:
 gw150914 gallery: Work around missing php features

File Changes:

Directory: /about/gallery/gw150914/
===================================

File [modified]: index.php
Delta lines: +10 -1
===================================================================
--- about/gallery/gw150914/index.php	2016-06-05 22:21:46 UTC (rev 1555)
+++ about/gallery/gw150914/index.php	2016-06-05 22:21:50 UTC (rev 1556)
@@ -2,7 +2,16 @@
 include_once($_SERVER['DOCUMENT_ROOT'].'/global/header.php');?>
 
   <?php
-     $sim_stats = json_decode(file_get_contents("stats.json"), true);
+     // $sim_stats = json_decode(file_get_contents("stats.json"), true);
+     $sim_stats = array(
+      "CostInCoreHours" => 6995,
+      "Runtime" => "2.3",
+      "Cores" => 128,
+      "TotalMemory" => 82,
+      "MergerTime" => 899,
+      "FinalMass" => "0.95",
+      "FinalSpin" => "0.69"
+     );
   ?>
 
 <p>On February 11, 2016, the <a href="http://www.ligo.org/">LIGO collaboration</a> <a



More information about the Commits mailing list