#!/bin/sh # autopkgtest check # (C) 2014 Anton Gladky set -e export OMPI_MCA_plm_rsh_agent=/bin/false WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cp debian/tests/box30.0.geo $WORKDIR/ cd $WORKDIR cat < compression.py from esys.lsm import * from esys.lsm.util import * class Loading (Runnable): def __init__(self,lsm,dx,t0,t1): Runnable.__init__(self) self.theLSM=lsm self.dx=dx self.ddx=self.dx/(t1-t0) self.t1=t1 self.t0=0 self.count=0 def run(self): self.count=self.count+1 if (self.count>self.t0): if (self.count