init Interface

private interface init

Calls

interface~~init~12~~CallsGraph interface~init~12 init proc~init_node init_node interface~init~12->proc~init_node interface~init~10 init proc~init_node->interface~init~10

Contents


Module Procedures

private subroutine init_node(me, nColors, none_color_id, distanceRefine, nSublevels, length)

Initialize the node type.

Arguments

TypeIntentOptionalAttributesName
type(sdr_node_type), intent(out) :: me

The nodelist to initialize.

integer, intent(in) :: nColors

Number of different colors that are to be used.

integer, intent(in) :: none_color_id

Id of the color with the 'none' label, this color will be ignored in the treelm color data. It has to be -1, if there is no none color.

logical, intent(in) :: distanceRefine

If any boundary attribute has distance refine

integer, intent(in) :: nSublevels

Number of levels to refine beyond target element levels for boundaries, that require this. Has to be 0, if there are no such boundaries.

integer, intent(in), optional :: length

Initial length for the list of nodes.