def __init__(self, options): SolverBase.__init__(self, options) try: linear = options['linear'] except: linear = False try: inviscid = options['inviscid'] except: inviscid = False # if we want a linear version then make a coefficient zero for the # terms which only occur in the non-linear from of SWE if (linear): self.NonLinear = 0 else: self.NonLinear = 1 if (inviscid): self.inviscid = 0 else: self.inviscid = 1
def __init__(self, options): SolverBase.__init__(self, options)
def __init__(self, options): SolverBase.__init__(self, options) try: self.stabilize = options['stabilize'] except: self.stabilize = True
def __init__(self, options): SolverBase.__init__(self, options) self.steady_state = True self.eta = Constant(1.)
def __init__(self, options): SolverBase.__init__(self, options) self.vizRho = None self.rhofile = None
def __init__(self, options): SolverBase.__init__(self, options) self.steady_state = True
def __init__(self, options): SolverBase.__init__(self, options) self.eta = Constant(1.)
def __init__(self, options): SolverBase.__init__(self, options) # Parameters self.vizH = None