Commit 3c661e12 authored by Michel Henry's avatar Michel Henry
Browse files

fix remove coeff_stab unused

parent ad37ebcb
......@@ -126,7 +126,7 @@ def _load_msh(mesh_file_name, lib, dim) :
class FluidProblem :
"""Creates the numerical representation of the fluid."""
def __init__(self, dim, g, mu, rho, sigma=0, coeff_stab=0.01, volume_drag=0., quadratic_drag=0., solver=None, solver_options="", drag_in_stab=1, drag_coefficient_factor=1, ip_factor=1, temporal=True, advection=True, order=[1,1,1], stability=True):
def __init__(self, dim, g, mu, rho, sigma=0, volume_drag=0., quadratic_drag=0., solver=None, solver_options="", drag_in_stab=1, drag_coefficient_factor=1, ip_factor=1, temporal=True, advection=True, order=[1,1,1], stability=True):
"""Builds the fluid structure.
Keyword arguments:
......@@ -168,7 +168,7 @@ class FluidProblem :
self._n_fluids = n_fluids
self._dim = dim
self._fp = c_void_p(self._lib.fluid_problem_new(
_np2c(g), n_fluids, _np2c(mu), _np2c(rho), c_double(sigma), c_double(coeff_stab),
_np2c(g), n_fluids, _np2c(mu), _np2c(rho), c_double(sigma),
c_double(volume_drag), c_double(quadratic_drag), c_int(drag_in_stab),c_double(drag_coefficient_factor),
c_double(ip_factor), c_int(temporal), c_int(advection),
_np2c(np.array(self.order_fields, dtype=np.int32), dtype=np.int32), c_int(stability)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment