speciesに外部 reservoir 流入を指定したbox面があるかを返す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(particle_species_spec), | intent(in) | :: | spec |
pure logical function has_boundary_inflow(spec) result(has_inflow) type(particle_species_spec), intent(in) :: spec has_inflow = any(spec%boundary_inflow_low == particle_inflow_reservoir) .or. & any(spec%boundary_inflow_high == particle_inflow_reservoir) end function has_boundary_inflow