- Transport.set_rate_BC(pores=None, rates=, mode='add')#
Apply constant rate boundary conditons to the specified locations.
pores (array_like) – The pore indices where the condition should be applied
rates (float or array_like, optional) – The rates to apply in each pore. If a scalar is supplied that rate is assigned to all locations, and if a vector is supplied it must be the same size as the indices given in
mode (str, optional) – Controls how the boundary conditions are applied. The default value is ‘merge’. For definition of various modes, see the docstring for