61 TYPE(t_region
),
INTENT(INOUT) :: region
68 CHARACTER(CHRLEN) :: rcsidentstring
76 rcsidentstring =
'$RCSfile: INRT_DetermineTokens.F90,v $ $Revision: 1.3 $'
78 global => region%global
81 'INRT_DetermineTokens.F90' )
85 input => region%inrtInput
87 DO iedge=1,inrt%nEdges
89 edge => inrt%edges(iedge)
93 IF (edge%tEdge == inrt_edge_mome_dum) cycle
99 IF (edge%tEdge == inrt_edge_mass_gho)
THEN
101 edge%token(1) =
min(inrt_perm_pmass,inrt%permission(edge%iNode(1)))
102 edge%token(2) = inrt_perm_block
109 edge%token(1) =
min(edge%token(1),inrt%permission(edge%iNode(1)))
110 edge%token(2) =
min(edge%token(2),inrt%permission(edge%iNode(2)))
115 IF (inrt%activeness(edge%iNode(1)) > inrt%activeness(edge%iNode(2))) &
116 edge%token(1) =
min(edge%token(1),inrt_perm_block)
118 IF (inrt%activeness(edge%iNode(2)) > inrt%activeness(edge%iNode(1))) &
119 edge%token(2) =
min(edge%token(2),inrt_perm_block)
124 IF (edge%tEdge == inrt_edge_mass) &
125 edge%token(1) =
min(edge%token(1),inrt_perm_pmass)
130 IF (edge%iNode(1) ==
input%indIntl) &
131 edge%token(1) =
min(edge%token(1),inrt_perm_block)
136 SELECT CASE (edge%tEdge)
138 CASE (inrt_edge_mome)
139 IF (edge%token(1) < inrt_perm_pmome) edge%token(1) = inrt_perm_block
140 IF (edge%token(2) < inrt_perm_pmome) edge%token(2) = inrt_perm_block
142 CASE (inrt_edge_ener)
143 IF (edge%token(1) < inrt_perm_pall ) edge%token(1) = inrt_perm_block
144 IF (edge%token(2) < inrt_perm_pall ) edge%token(2) = inrt_perm_block
subroutine registerfunction(global, funName, fileName)
subroutine inrt_determinetokens(region, inrt)
subroutine input(X, NNODE, NDC, NCELL, NFCE, NBPTS, NBFACE, ITYP, NPROP, XBNDY, XFAR, YFAR, ZFAR)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
subroutine deregisterfunction(global)