@@ -141,7 +141,7 @@ def step(self,solution,take_one_step,tstart,tend):
141141 # Godunov Splitting
142142 if self .source_split == 1 :
143143 self .step_source (self ,solution .states [0 ],self .dt )
144-
144+
145145 return True
146146
147147 def _check_cfl_settings (self ):
@@ -684,7 +684,7 @@ def step_hyperbolic(self,solution):
684684 if self .dimensional_split :
685685 #Right now only Godunov-dimensional-splitting is implemented.
686686 #Strang-dimensional-splitting could be added following dimsp3.f in Clawpack.
687-
687+ #"""
688688 q , cfl_x = self .fmod .step3ds (maxm ,self .nthreads ,self .num_ghost ,\
689689 mx ,my ,mz ,qold ,qnew ,self .auxbc ,dx ,dy ,dz ,self .dt ,self ._method ,\
690690 self ._mthlim ,self .aux1 ,self .aux2 ,self .aux3 ,self .work ,1 ,\
@@ -699,6 +699,27 @@ def step_hyperbolic(self,solution):
699699 mx ,my ,mz ,q ,q ,self .auxbc ,dx ,dy ,dz ,self .dt ,self ._method ,\
700700 self ._mthlim ,self .aux1 ,self .aux2 ,self .aux3 ,self .work ,3 ,\
701701 self .fwave ,rpn3 ,rpt3 ,rptt3 )
702+ #"""
703+
704+ """
705+ #print "No Dim Splitting..."
706+ # No Dimensional Splitting, Similar to SharpClaw
707+ dq = qnew.copy('F')
708+ dq[...] = 0.
709+ dq, cfl_x = self.fmod.step3ds(maxm,self.nthreads,self.num_ghost,\
710+ mx,my,mz,qold,dq,self.auxbc,dx,dy,dz,self.dt,self._method,\
711+ self._mthlim,self.aux1,self.aux2,self.aux3,self.work,1,\
712+ self.fwave,rpn3,rpt3,rptt3)
713+ dq, cfl_y = self.fmod.step3ds(maxm,self.nthreads,self.num_ghost,\
714+ mx,my,mz,qold,dq,self.auxbc,dx,dy,dz,self.dt,self._method,\
715+ self._mthlim,self.aux1,self.aux2,self.aux3,self.work,2,\
716+ self.fwave,rpn3,rpt3,rptt3)
717+ dq, cfl_z = self.fmod.step3ds(maxm,self.nthreads,self.num_ghost,\
718+ mx,my,mz,qold,dq,self.auxbc,dx,dy,dz,self.dt,self._method,\
719+ self._mthlim,self.aux1,self.aux2,self.aux3,self.work,3,\
720+ self.fwave,rpn3,rpt3,rptt3)
721+ self.qbc += dq
722+ """
702723
703724 cfl = max (cfl_x ,cfl_y ,cfl_z )
704725
0 commit comments