tshorten test, do not read .vti files with postprocessing function - slidergrid - grid of elastic sliders on a frictional surface
 (HTM) git clone git://src.adamsgaard.dk/slidergrid
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9d4d792211a8c8e0a94dfa6d22b90e9ed6c7c608
 (DIR) parent 1e93ae46150e61b7df00a55d2eee080bc43fae4e
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Thu, 17 Mar 2016 15:48:28 -0700
       
       shorten test, do not read .vti files with postprocessing function
       
       Diffstat:
         M postprocessing.py                   |       4 +++-
         M test.c                              |       4 ++--
       
       2 files changed, 5 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/postprocessing.py b/postprocessing.py
       t@@ -43,7 +43,9 @@ class sgvis:
        
            def plot_all_sliders(self):
                for filename in os.listdir(self.folder):
       -            if 'sliders' in filename and '.png' not in filename:
       +            if 'sliders' in filename \
       +                    and '.txt' in filename \
       +                    and '.png' not in filename:
                        self.read_sliders(filename)
                        self.plot_sliders()
        
 (DIR) diff --git a/test.c b/test.c
       t@@ -30,8 +30,8 @@ simulation setup_simulation()
        
            // set temporal parameters
            sim.time = 0.0;
       -    sim.time_end = 10.0;
       -    sim.file_interval = 0.01;
       +    sim.time_end = 1.0;
       +    sim.file_interval = 0.1;
        
            return sim;
        }