dependencies of a face descriptor.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_face_descriptor_type), | intent(inout) | :: | faces |
The face description in which you want to initialize the vertical face dependency container. |
||
integer, | intent(in) | :: | nEligibleChildren |
The number of eligible children for the vertical face dependency |
subroutine tem_init_faceDep( faces, nEligibleChildren ) ! -------------------------------------------------------------------------- !> The face description in which you want to initialize the vertical !! face dependency container. type(tem_face_descriptor_type), intent(inout) :: faces !> The number of eligible children for the vertical face dependency integer, intent(in) :: nEligibleChildren ! -------------------------------------------------------------------------- ! -------------------------------------------------------------------------- allocate( faces%faceDep%parentFaceId(faces%faceList%faceId%nVals) ) allocate( faces%faceDep%parentFacePos(faces%faceList%faceId%nVals) ) allocate( faces%faceDep%childFaceId( nEligibleChildren, & & faces%faceList%faceId%nVals) ) allocate( faces%faceDep%childFaceIdOp( nEligibleChildren, & & faces%faceList%faceId%nVals) ) allocate( faces%faceDep%childFacePos( nEligibleChildren, & & faces%faceList%faceId%nVals) ) allocate( faces%faceDep%childFacePosOp( nEligibleChildren, & & faces%faceList%faceId%nVals) ) faces%faceDep%parentFaceId = -1_long_k faces%faceDep%parentFacePos = -1 faces%faceDep%childFaceId = -1_long_k faces%faceDep%childFacePos(:,:) = -1 end subroutine tem_init_faceDep