# tem_bc_prop_pos Function

## public pure function tem_bc_prop_pos(tree) result(bcpos)

Get the boundary property position in the list of all properties in tree.

There should be only one boundary property, and the first one found will be returned. If there is no boundary property at all a -1 is returned.

### Arguments

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

Tree to find the boundary condition property for.

### Return Value integer

Position of the boundary condition property in the list of all properties.

## Variables

TypeVisibilityAttributesNameInitial
integer, private :: iProp