atl_init_cube_elem Subroutine

public subroutine atl_init_cube_elem(element, descriptor, level, tree)

Initialize the cubic elements.

The output element represents all cubic elements given by their tree ids in the tree.

Arguments

Type IntentOptional Attributes Name
type(atl_cube_elem_type), intent(out) :: element

This is the output and represenets the cubic elements given as a subset of tree ids in the complete tree.

type(tem_levelDesc_type), intent(in) :: descriptor

The descriptor of the element list, describing the connectivity of the mesh explicitly.

All the descriptors are derived previously from the complete treelmesh, and need to be passed in here.

integer, intent(in) :: level

Treelm level of the cubes to be initialized.

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

The tree representation of your mesh.