flood_parents Subroutine

private subroutine flood_parents(proto, color_inverted)

Mark all virtual nodes, which contain a flooded child as flooded starting from the second finest level moving up to the root. This allows to easily avoid non-flooded domains later on.

Arguments

Type IntentOptional Attributes Name
type(sdr_protoTree_type), intent(inout) :: proto

The proto tree description with all the data enabling the flooding.

logical, intent(in) :: color_inverted(:)

List of flags for each color to indicate, wether the color should be inverted after flooding.