@@ -164,12 +164,10 @@ contains
164164 "Only acoustic("//trim(jStr)//")%support = 1 is allowed for 1D simulations")
165165 @:PROHIBIT(dim == 1 .and. acoustic(j)%support == 1 .and. f_is_default(acoustic(j)%loc(1)), &
166166 "acoustic("//trim(jStr)//")%loc(1) must be specified for acoustic("//trim(jStr)//")%support = 1")
167- @:PROHIBIT(dim == 2 .and. (.not. any(acoustic(j)%support == (/2, 5, 6, 9, 10 /))), &
167+ @:PROHIBIT(( dim == 2 .and. .not. cyl_coord) .and. (.not. any(acoustic(j)%support == (/2, 5, 9 /))), &
168168 "Only acoustic("//trim(jStr)//")%support = 2, 5, 6, 9, or 10 is allowed for 2D simulations")
169- @:PROHIBIT(dim == 2 .and. (.not. any(acoustic(j)%support == (/6, 10/))) .and. cyl_coord , &
169+ @:PROHIBIT(( dim == 2 .and. cyl_coord) .and. (.not. any(acoustic(j)%support == (/2, 6, 10/))), &
170170 "Only acoustic("//trim(jStr)//")%support = 6 or 10 is allowed for 2D axisymmetric simulations")
171- @:PROHIBIT(.not. (dim == 2 .and. cyl_coord) .and. any(acoustic(j)%support == (/6, 10/)), &
172- "acoustic("//trim(jStr)//")%support = 6 or 10 only works for 2D axisymmetric simulations")
173171 @:PROHIBIT(dim == 2 .and. any(acoustic(j)%support == (/2, 5, 6, 9, 10/)) .and. &
174172 (f_is_default(acoustic(j)%loc(1)) .or. f_is_default(acoustic(j)%loc(2))), &
175173 "acoustic("//trim(jStr)//")%loc(1:2) must be specified for acoustic("//trim(jStr)//")%support = 2")
0 commit comments