bem_string_utils.f90 Source File


Files dependent on this one

sourcefile~~bem_string_utils.f90~~AfferentGraph sourcefile~bem_string_utils.f90 bem_string_utils.f90 sourcefile~bem_app_config.f90 bem_app_config.f90 sourcefile~bem_app_config.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_app_config_parser.f90 bem_app_config_parser.f90 sourcefile~bem_app_config.f90->sourcefile~bem_app_config_parser.f90 sourcefile~bem_app_config_runtime.f90 bem_app_config_runtime.f90 sourcefile~bem_app_config.f90->sourcefile~bem_app_config_runtime.f90 sourcefile~bem_app_config_parser.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_app_config_runtime.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_config_helpers.f90 bem_config_helpers.f90 sourcefile~bem_app_config_runtime.f90->sourcefile~bem_config_helpers.f90 sourcefile~bem_injection.f90 bem_injection.f90 sourcefile~bem_app_config_runtime.f90->sourcefile~bem_injection.f90 sourcefile~bem_mesh.f90 bem_mesh.f90 sourcefile~bem_app_config_runtime.f90->sourcefile~bem_mesh.f90 sourcefile~bem_importers.f90 bem_importers.f90 sourcefile~bem_app_config_runtime.f90->sourcefile~bem_importers.f90 sourcefile~bem_sheath_injection_model.f90 bem_sheath_injection_model.f90 sourcefile~bem_app_config_runtime.f90->sourcefile~bem_sheath_injection_model.f90 sourcefile~bem_templates.f90 bem_templates.f90 sourcefile~bem_app_config_runtime.f90->sourcefile~bem_templates.f90 sourcefile~bem_collision.f90 bem_collision.f90 sourcefile~bem_collision.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_config_helpers.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_field_solver.f90 bem_field_solver.f90 sourcefile~bem_field_solver.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_field_solver_eval.f90 bem_field_solver_eval.f90 sourcefile~bem_field_solver_eval.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_field_solver_eval.f90->sourcefile~bem_field_solver.f90 sourcefile~bem_injection.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_injection.f90->sourcefile~bem_collision.f90 sourcefile~bem_mesh.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_output_writer.f90 bem_output_writer.f90 sourcefile~bem_output_writer.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_performance_profile.f90 bem_performance_profile.f90 sourcefile~bem_performance_profile.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_sheath_model_core.f90 bem_sheath_model_core.f90 sourcefile~bem_sheath_model_core.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_sheath_model_core.f90->sourcefile~bem_injection.f90 sourcefile~bem_sheath_runtime.f90 bem_sheath_runtime.f90 sourcefile~bem_sheath_runtime.f90->sourcefile~bem_string_utils.f90 sourcefile~bem_sheath_runtime.f90->sourcefile~bem_config_helpers.f90 sourcefile~bem_sheath_runtime.f90->sourcefile~bem_sheath_model_core.f90 sourcefile~bem_app_config_parser_parse_utils.f90 bem_app_config_parser_parse_utils.f90 sourcefile~bem_app_config_parser_parse_utils.f90->sourcefile~bem_app_config_parser.f90 sourcefile~bem_app_config_parser_validate.f90 bem_app_config_parser_validate.f90 sourcefile~bem_app_config_parser_validate.f90->sourcefile~bem_app_config_parser.f90 sourcefile~bem_app_config_parser_validate.f90->sourcefile~bem_config_helpers.f90 sourcefile~bem_field_solver_config.f90 bem_field_solver_config.f90 sourcefile~bem_field_solver_config.f90->sourcefile~bem_field_solver.f90 sourcefile~bem_field_solver_tree.f90 bem_field_solver_tree.f90 sourcefile~bem_field_solver_tree.f90->sourcefile~bem_field_solver.f90 sourcefile~bem_importers.f90->sourcefile~bem_mesh.f90 sourcefile~bem_sheath_injection_model.f90->sourcefile~bem_sheath_runtime.f90 sourcefile~bem_simulator.f90 bem_simulator.f90 sourcefile~bem_simulator.f90->sourcefile~bem_app_config.f90 sourcefile~bem_simulator.f90->sourcefile~bem_collision.f90 sourcefile~bem_simulator.f90->sourcefile~bem_field_solver.f90 sourcefile~bem_simulator_loop.f90 bem_simulator_loop.f90 sourcefile~bem_simulator_loop.f90->sourcefile~bem_performance_profile.f90 sourcefile~bem_simulator_loop.f90->sourcefile~bem_simulator.f90 sourcefile~bem_templates.f90->sourcefile~bem_mesh.f90 sourcefile~main.f90 main.f90 sourcefile~main.f90->sourcefile~bem_app_config.f90 sourcefile~main.f90->sourcefile~bem_mesh.f90 sourcefile~main.f90->sourcefile~bem_output_writer.f90 sourcefile~main.f90->sourcefile~bem_performance_profile.f90 sourcefile~main.f90->sourcefile~bem_simulator.f90 sourcefile~bem_simulator_io.f90 bem_simulator_io.f90 sourcefile~bem_simulator_io.f90->sourcefile~bem_simulator.f90 sourcefile~bem_simulator_stats.f90 bem_simulator_stats.f90 sourcefile~bem_simulator_stats.f90->sourcefile~bem_simulator.f90

Source Code

!> ASCII 文字列操作ユーティリティ。
module bem_string_utils
  implicit none
  private

  public :: lower_ascii

contains

  !> ASCII 英字を小文字化した文字列を返す。
  pure function lower_ascii(s) result(out)
    character(len=*), intent(in) :: s
    character(len=len(s)) :: out
    integer :: i, code

    out = s
    do i = 1, len(s)
      code = iachar(out(i:i))
      if (code >= iachar('A') .and. code <= iachar('Z')) then
        out(i:i) = achar(code + 32)
      end if
    end do
  end function lower_ascii

end module bem_string_utils