create_target Subroutine

public subroutine create_target(node_pos, proto, geometry, leVal, meshUniverse, header, temData)

Routine to create an element with subelement resolution.

This routine is used to define a target element, that is a node, that reached its final level, but contains boundaries, that are to be resolved on a subelement basis. For the treelmesh, this is just a normal element with additional information attached to it. That additional information is covered by a property. For the actual information in the subelement resolution, the children of the target node need to be considered. We use a separate routine for this case, as it is ensured, that this element never will be refined, due to adjacent boundaries. (Any such refinement was already done during the building of the protoTree). Also we will ignore Q-Value complications here for the identification of boundaries. If subelement resolution is active, no Q-Values might be used and the other way around.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: node_pos

Position of leaf in the preliminary tree

type(sdr_protoTree_type), intent(in) :: proto

preliminary tree

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

contains all geometrical objects

type(levelValues_type), intent(in) :: leVal

level value of parent node

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

contains bounding cube information

type(sdr_confHead_type), intent(in) :: header

Configuration header.

type(sdr_temData_type), intent(inout) :: temData

Data for the final mesh.