Find maximum possible interpolation order which can be used for fillFinerFromMe by comparing nFoundSources with nMaxSources of different interpolation order starting from interpolation order defined by user
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_interpolation_type), | intent(in) | :: | intp | interpolation type |
||
integer, | intent(inout) | :: | mySources(:) | position of found source elements in total list Update this list if intpStencil%isActive |
||
integer, | intent(inout) | :: | neighDir(:) | cxDir for found sounce elements |
||
integer, | intent(inout) | :: | nFoundSources | Number of source elements found |
||
integer, | intent(in) | :: | childNum | Curent finer ghost child number |
||
integer, | intent(out) | :: | intpOrder | interpolation order |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iOrder | ||||
integer, | private | :: | intpOrder_tmp | ||||
logical, | private | :: | allSrcFound |
Update mySources if all sources in required by the stencil are found
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout) | :: | mySources(:) | position of found source elements in total list Update this list if intpStencil%isActive |
||
integer, | intent(inout) | :: | neighDir(:) | cxDir for found sounce elements |
||
integer, | intent(inout) | :: | nFoundSources | Number of source elements found |
||
integer, | intent(in) | :: | childNum | ChildNum of current target fine element |
||
integer, | intent(in) | :: | nMaxSources | Maximum number of sources required for this intpStencil |
||
type(mus_interpolation_stencil_type), | intent(in) | :: | intpStencil | Interpolation stencil |
||
logical, | intent(out) | :: | allSrcFound | is true if all sources required by the stencil are found |