sysdep.f90
Go to the documentation of this file.
1 !== sysdep.f90 - module providing interface for system dependent procedures
2 !
3 ! Authors:: Eizi TOYODA, Yasuhiro MORIKAWA
4 ! Version:: $Id: sysdep.f90,v 1.1 2009-03-20 09:09:49 morikawa Exp $
5 ! Tag Name:: $Name: $
6 ! Copyright:: Copyright (C) GFD Dennou Club, 2000-2006. All rights reserved.
7 ! License:: See COPYRIGHT[link:../../COPYRIGHT]
8 !
9 ! This file provides sysdep
10 !
11 
12 module sysdep
13  !
14  != module providing interface for system dependent procedures
15  !
16  ! このモジュールはシステムに依存する手続きに関する
17  ! インタフェースを提供します。
18  ! 言い換えると、このモジュールではシステムに依存するサブルーチンと関数の
19  ! インタフェース宣言がなされています。
20  ! これらの手続きは対応する名前がついたファイル内において実装されています
21  ! (すなわち <tt>sysdep</tt> で始まる名前のファイル群において、です)。
22  !
23  ! 従って、ある名前の手続きがあったとして、その手続きの実装は実際には
24  ! 複数のファイルにおいて行われている可能性があるので気をつけてください。
25  !
26  ! この sysdep モジュールは他のモジュールに依存しません。
27  !
28  !
29  ! It provides interface for system dependent procedures.
30  ! In other words, there is interface declaration of a function and
31  ! subroutines whose feature is regarded as system dependent.
32  ! Implementation of these procedures are given in files with
33  ! corresponding name (i.e. that begins with <tt>sysdep</tt>-).
34  !
35  ! Note that a procedure with one name may have several implementations.
36  !
37  ! The sysdep has no dependence to other modules.
38  !
39  private
41 
42  interface abortprogram
43  subroutine sysdepabort(string)
44  character(len = *):: string
45  end subroutine sysdepabort
46  end interface
47 
48  interface
49 
50  integer function sysdepargcount()
51  end function sysdepargcount
52 
53  subroutine sysdepargget(index, value)
54  integer, intent(in):: index
55  character(len = *):: value
56  end subroutine sysdepargget
57 
58  subroutine sysdepenvget(env, str)
59  character(len = *), intent(in) :: env
60  character(len = *), intent(out) :: str
61  end subroutine sysdepenvget
62 
63  end interface
64 
65 end module sysdep
subroutine sysdepargget(idx_given, result)
Definition: sysdeparg.f90:55
integer function sysdepargcount()
Definition: sysdeparg.f90:35
subroutine sysdepabort(string)
Definition: sysdepabort.f90:34
subroutine sysdepenvget(env, str)
Definition: sysdepenv.f90:33