biocircuits.constant_diff_coeffs¶
- biocircuits.constant_diff_coeffs(c_tuple, t, x, diff_coeffs)¶
Function for use with rd_solve() for constant diffusion coefficients.
- Parameters
c_tuple (tuple) – c_tuple[i] is a NumPy array containing the concentrations of species i at the grid points.
t (dummy argument) – Dummy argument for the time.
x (dummy argument) – Dummy argument for position.
diff_coeffs (tuple) – diff_coeffs[i] is the diffusion coefficient of species i.
- Returns
output – A tuple containing the (constant) diffusion coeffient for all species at all positions.
- Return type
tuple or NumPy arrays
Notes