65 CHARACTER(CHRLEN),
PRIVATE :: &
66 RCSIdentString =
'$RCSfile: RFLU_ModCellFaceEdgeInfo.F90,v $ $Revision: 1.12 $'
106 INTEGER,
INTENT(IN) :: icg
107 TYPE(t_grid),
POINTER :: pgrid
115 'RFLU_ModCellFaceEdgeInfo.F90')
123 ELSE IF ( icg == cell_type_bnd )
THEN
125 ELSE IF ( icg == cell_type_ext )
THEN
128 CALL
errorstop(global,err_reached_default,__line__)
173 INTEGER,
INTENT(IN) :: icg
174 TYPE(t_grid),
POINTER :: pgrid
181 CHARACTER(CHRLEN) :: errorstring
189 'RFLU_ModCellFaceEdgeInfo.F90')
196 ict = pgrid%cellGlob2Loc(1,icg)
197 icl = pgrid%cellGlob2Loc(2,icg)
198 ELSE IF ( icg == cell_type_bnd )
THEN
200 ELSE IF ( icg == cell_type_ext )
THEN
203 CALL
errorstop(global,err_reached_default,__line__)
207 CASE ( cell_type_tet )
208 IF ( icl <= pgrid%nTets )
THEN
213 CASE ( cell_type_hex )
214 IF ( icl <= pgrid%nHexs )
THEN
219 CASE ( cell_type_pri )
220 IF ( icl <= pgrid%nPris )
THEN
225 CASE ( cell_type_pyr )
226 IF ( icl <= pgrid%nPyrs )
THEN
231 CASE ( cell_type_bnd )
233 CASE ( cell_type_ext )
236 WRITE(errorstring,
'(1X,I3)') ict
237 CALL
errorstop(global,err_cell_type,__line__,trim(errorstring))
287 INTEGER,
INTENT(IN) :: icg
288 TYPE(t_grid),
POINTER :: pgrid
295 INTEGER :: iborder,iloc
303 'RFLU_ModCellFaceEdgeInfo.F90')
311 borderloop:
DO iborder = 1,pgrid%nBorders
312 pborder => pgrid%borders(iborder)
316 IF ( iloc /= element_not_found )
THEN
368 INTEGER,
INTENT(IN) :: c1k,c2k
375 CHARACTER(CHRLEN) :: errorstring
382 'RFLU_ModCellFaceEdgeInfo.F90')
388 SELECT CASE (c1k + c2k)
389 CASE ( cell_kind_actual + cell_kind_actual )
391 CASE ( cell_kind_actual + cell_kind_virtual )
393 CASE ( cell_kind_virtual + cell_kind_virtual )
395 CASE ( cell_kind_virtual + cell_kind_bnd )
397 CASE ( cell_kind_virtual + cell_kind_ext )
399 CASE ( cell_kind_actual + cell_kind_bnd )
402 WRITE(errorstring,
'(1X,I3)') c1k+c2k
403 CALL
errorstop(global,err_face_kind,__line__,trim(errorstring))
443 INTEGER,
INTENT(IN) :: v1,v2
445 TYPE(t_grid),
POINTER :: pgrid
458 'RFLU_ModCellFaceEdgeInfo.F90')
464 IF ( v1 <= pgrid%nVert )
THEN
465 v1k = vert_kind_actual
467 v1k = vert_kind_virtual
470 IF ( v2 <= pgrid%nVert )
THEN
471 v2k = vert_kind_actual
473 v2k = vert_kind_virtual
476 SELECT CASE (v1k + v2k)
477 CASE ( vert_kind_actual + vert_kind_actual )
479 CASE ( vert_kind_actual + vert_kind_virtual )
481 CASE ( vert_kind_virtual + vert_kind_virtual )
484 CALL
errorstop(global,err_cell_type,__line__)
INTEGER function, public rflu_getglobalcellkind(global, pGrid, icg)
subroutine registerfunction(global, funName, fileName)
INTEGER function, public rflu_getedgekind(global, pGrid, v1, v2)
subroutine binarysearchinteger(a, n, v, i, j)
INTEGER function, public rflu_getfacekind(global, c1k, c2k)
INTEGER function, public rflu_getvirtualcellreg(global, pGrid, icg)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
INTEGER function, public rflu_getglobalcelltype(global, pGrid, icg)