psmile_extract_indices_2d_dble.F90
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 subroutine psmile_extract_indices_2d_dble (array, shape, &
00012 dstijk, ncpl, dest_vector, ierror)
00013
00014
00015
00016 use PRISM_constants
00017
00018 use PSMILe, dummy_interface => PSMILe_Extract_indices_2d_dble
00019
00020 implicit none
00021
00022
00023
00024 Integer, Intent (In) :: shape (2, ndim_2d)
00025
00026
00027
00028 Double Precision, Intent (In) :: array (shape(1,1):shape(2,1),
00029 shape(1,2):shape(2,2))
00030
00031 Integer, Intent (In) :: ncpl
00032
00033
00034
00035 Integer, Intent (In) :: dstijk (ndim_3d, ncpl)
00036
00037
00038
00039 Double Precision, Intent (Out) :: dest_vector (ncpl)
00040
00041
00042
00043 Integer, Intent (Out) :: ierror
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053 Integer :: n
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073 Character(len=len_cvs_string), save :: mycvs =
00074 '$Id: psmile_extract_indices_2d_dble.F90 2325 2010-04-21 15:00:07Z valcke $'
00075
00076
00077
00078
00079
00080
00081 #ifdef VERBOSE
00082 print 9990, trim(ch_id)
00083
00084 call psmile_flushstd
00085 #endif /* VERBOSE */
00086
00087 #ifdef PRISM_ASSERTION
00088 #endif
00089
00090 ierror = 0
00091
00092
00093 do n = 1, ncpl
00094 dest_vector (n) = array (dstijk(1, n), dstijk(2, n))
00095 end do
00096
00097
00098
00099 #ifdef VERBOSE
00100 print 9980, trim(ch_id)
00101
00102 call psmile_flushstd
00103 #endif /* VERBOSE */
00104
00105
00106
00107 9990 format (1x, a, ': psmile_extract_indices_2d_dble')
00108 9980 format (1x, a, ': psmile_extract_indices_2d_dble: eof')
00109
00110 end subroutine PSMILe_Extract_indices_2d_dble