flood_periphery Subroutine

private subroutine flood_periphery(proto, geometry, meshUniverse)

This routine loops over all intersected with geoemtry nodes and fluidify some node according to the following rule:\n 1. one of its link does noe intersect with any geometry that requires qVal 2. it has fluid neighbor on that direction. i.e. it is wet in that side. Jiaxing Qi

Todo

HK: works for single color only right now! (qvalues are only computed for first color, need to think about what to do for multiple colors.)

Arguments

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

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

type(sdr_geometry_type), intent(in) :: geometry

Description of geometric objects.

type(treelmesh_type), intent(in) :: meshUniverse

treelmesh contains bounding cube info