is_fully_connected#

is_fully_connected(network, pores_BC=None)[source]#

Checks whether network is fully connected, i.e. not clustered.

Parameters:
  • network (Network) – The network whose connectivity to check.

  • pores_BC (array_like (optional)) – The pore indices of boundary conditions (inlets/outlets).

Returns:

If pores_BC is not specified, then returns True only if the entire network is connected to the same cluster. If pores_BC is given, then returns True only if all clusters are connected to the given boundary condition pores.

Return type:

bool