Browse files

Add check richardson parameter

  • Loading branch information...
1 parent 7b03175 commit f07f81935a40537fa58f35fdc2c442bcaf19b44b @mandli committed Apr 16, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/python/clawutil/oldclawdata.py
View
4 src/python/clawutil/oldclawdata.py
@@ -1320,7 +1320,8 @@ def __init__(self, ndim):
# Multilayer data
self.add_attribute('layers',1)
self.add_attribute('rho',1.0)
- self.add_attribute('eta',0.0)
+ self.add_attribute('eta_init',0.0)
+ self.add_attribute('check_richardson',False)
self.add_attribute('richardson_tolerance',0.95)
self.add_attribute('eigen_method',2)
self.add_attribute('inundation_method',2)
@@ -1342,6 +1343,7 @@ def write(self):
data_write(file,self,'layers')
data_write(file,self,'rho')
data_write(file,self,'eta_init')
+ data_write(file,self,'check_richardson')
data_write(file,self,'richardson_tolerance')
data_write(file,self,'eigen_method')
data_write(file,self,'inundation_method')

0 comments on commit f07f819

Please sign in to comment.