NCEPLIBS-ip
5.3.0
Toggle main menu visibility
Main Page
Modules
Modules List
Module Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
u
y
Functions/Subroutines
e
f
g
i
l
m
p
r
u
Variables
a
b
c
d
e
g
h
i
j
k
l
m
n
o
p
r
s
y
Data Types
Data Types List
Class Hierarchy
Data Fields
All
c
d
e
f
g
h
i
j
k
n
o
p
r
s
w
Functions/Subroutines
f
g
i
p
Variables
c
d
e
g
h
i
j
k
n
o
r
s
w
Files
File List
Globals
All
c
d
g
i
m
n
r
s
Functions/Subroutines
c
d
g
i
m
n
r
s
▼
NCEPLIBS-ip
►
Introduction
►
Modules
►
Data Types
▼
Files
▼
File List
▼
src
►
bicubic_interp_mod.F90
►
bilinear_interp_mod.F90
►
budget_interp_mod.F90
►
earth_radius_mod.F90
►
fftpack.F
►
gdswzd_c.F90
►
gdswzd_mod.F90
►
ip_constants_mod.F90
►
ip_equid_cylind_grid_mod.F90
►
ip_gaussian_grid_mod.F90
►
ip_grid_descriptor_mod.F90
►
ip_grid_factory_mod.F90
►
ip_grid_mod.F90
ip_grids_mod.F90
►
ip_interpolators_mod.F90
►
ip_lambert_conf_grid_mod.F90
►
ip_mercator_grid_mod.F90
ip_mod.F90
►
ip_polar_stereo_grid_mod.F90
►
ip_rot_equid_cylind_egrid_mod.F90
►
ip_rot_equid_cylind_grid_mod.F90
►
ip_station_points_grid_mod.F90
►
iplib_4.h
►
iplib_8.h
►
iplib_d.h
►
ipolates.F90
►
ipolatev.F90
►
ipxetas.F90
►
ipxwafs.F90
►
ipxwafs2.F90
►
ipxwafs3.F90
►
movect.F90
►
ncpus.F
►
neighbor_budget_interp_mod.F90
►
neighbor_interp_mod.F90
►
polfix_mod.F90
sp_mod.F
►
spanaly.f
►
spdz2uv.f
►
spectral_interp_mod.F90
►
speps.f
►
spfft.f
►
spfft1.f
►
spffte.f
►
spfftpt.f
►
spgradq.f
►
spgradx.f
►
spgrady.f
►
splaplac.f
►
splat.F
►
splegend.f
►
sppad.f
►
spsynth.f
►
sptez.f
►
sptezd.f
►
sptezm.f
►
sptezmd.f
►
sptezmv.f
►
sptezv.f
►
sptgpm.f
►
sptgpmd.f
►
sptgpmv.f
►
sptgps.f
►
sptgpsd.f
►
sptgpsv.f
►
sptgpt.f
►
sptgptd.f
►
sptgptsd.f
►
sptgptv.f
►
sptgptvd.f
►
sptran.f
►
sptrand.f
►
sptranf.f
►
sptranf0.f
►
sptranf1.f
►
sptranfv.f
►
sptranv.f
►
sptrun.f
►
sptrund.f
►
sptrung.f
►
sptrungv.f
►
sptrunl.f
►
sptrunm.f
►
sptrunmv.f
►
sptruns.f
►
sptrunsv.f
►
sptrunv.f
►
spuv2dz.f
►
spvar.f
►
spwget.f
►
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
Loading...
Searching...
No Matches
sppad.f
Go to the documentation of this file.
1
C> @file
2
C> @brief Pad or truncate a spectral field.
3
C> @author Iredell @date 92-10-31
4
5
C> Pad or truncate a spectral field.
6
C>
7
C> @param I1 input spectral domain shape
8
C> (0 for triangular, 1 for rhomboidal)
9
C> @param M1 input spectral truncation
10
C> @param Q1 ((M+1)*((I+1)*M+2)) input field
11
C> @param I2 output spectral domain shape
12
C> (0 for triangular, 1 for rhomboidal)
13
C> @param M2 output spectral truncation
14
C> @param Q2 ((M+1)*((I+1)*M+2)) output field
15
C>
16
C> @author Iredell @date 92-10-31
17
SUBROUTINE
sppad
(I1,M1,Q1,I2,M2,Q2)
18
19
REAL
Q1((M1+1)*((I1+1)*M1+2))
20
REAL
Q2((M2+1)*((I2+1)*M2+2))
21
22
DO
l=0,m2
23
DO
n=l,i2*l+m2
24
ks2=l*(2*m2+(i2-1)*(l-1))+2*n
25
IF
(l.LE.m1.AND.n.LE.i1*l+m1)
THEN
26
ks1=l*(2*m1+(i1-1)*(l-1))+2*n
27
q2(ks2+1)=q1(ks1+1)
28
q2(ks2+2)=q1(ks1+2)
29
ELSE
30
q2(ks2+1)=0
31
q2(ks2+2)=0
32
ENDIF
33
ENDDO
34
ENDDO
35
RETURN
17
SUBROUTINE
sppad
(I1,M1,Q1,I2,M2,Q2)
…
36
END
sppad
subroutine sppad(i1, m1, q1, i2, m2, q2)
Pad or truncate a spectral field.
Definition
sppad.f:18
src
sppad.f
Generated by
1.13.2