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 returnsTrue
only if the entire network is connected to the same cluster. Ifpores_BC
is given, then returnsTrue
only if all clusters are connected to the given boundary condition pores.- Return type:
bool