tincrease runtime of shear example - 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 7db54ba64467af8531138bebce18c069a29222d6
 (DIR) parent dea4dc1c1b2f140a281656f0f58b35625d90d027
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Thu, 14 Apr 2016 12:36:49 -0700
       
       increase runtime of shear example
       
       Diffstat:
         M tests/elasticity/Makefile           |       4 ++--
         M tests/elasticity/shear.c            |      13 +++++--------
       
       2 files changed, 7 insertions(+), 10 deletions(-)
       ---
 (DIR) diff --git a/tests/elasticity/Makefile b/tests/elasticity/Makefile
       t@@ -16,12 +16,12 @@ default: normal-output shear-output
        normal-output: normal
                ./$< --verbose
                python $(ROOT)postprocessing.py --plot-kinetic-energy $<-output
       -        #python $(ROOT)postprocessing.py --plot-sliders $<-output
       +        @#python $(ROOT)postprocessing.py --plot-sliders $<-output
        
        shear-output: shear
                ./$< --verbose
                python $(ROOT)postprocessing.py --plot-kinetic-energy $<-output
       -        #python $(ROOT)postprocessing.py --plot-sliders $<-output
       +        @#python $(ROOT)postprocessing.py --plot-sliders $<-output
        
        normal: normal.o $(ESSENTIALOBJS)
                $(CC) $(LDLIBS) $^ -o $@
 (DIR) diff --git a/tests/elasticity/shear.c b/tests/elasticity/shear.c
       t@@ -12,8 +12,8 @@ simulation setup_simulation()
            sim.id = "shear";
        
            // initialize grid of sliders
       -    //int nx = 10;
       -    int nx = 2;
       +    int nx = 10;
       +    //int nx = 2;
            int ny = 1;
            int nz = 1;
            sim.N = nx*ny*nz;
       t@@ -36,14 +36,11 @@ simulation setup_simulation()
                sim.sliders[i].bond_shear_kv_stiffness = 1.0e5;
            }
        
       -    sim.sliders[0].vel.y = 0.01;
       +    sim.sliders[0].vel.y = 0.1;
        
            // set temporal parameters
       -    //sim.time_end = 100.0;
       -    //sim.file_interval = 1.0;
       -    sim.time_end = 1.0;
       -    sim.file_interval = 1.0e-3;
       -    sim.time = 0.0;
       +    sim.time_end = 100.0;
       +    sim.file_interval = 1.0;
        
            return sim;
        }