grid_tools  1.13.0
pmat2::avco Interface Reference

Private Member Functions

subroutine avco (na, nb, za, zb, z0, a, b)
 Compute one row of the coefficients for the compact mid-interval interpolation scheme characterized by matrix equation of the form, A.t = B.s (*) Where s is the vector of "source" values, t the staggered "target" values. More...
 
subroutine davco (na, nb, za, zb, z0, a, b)
 Double precision version of subroutine avco for midpoint interpolation. More...
 
subroutine tavco (xa, xb, a, b)
 Simplified computation of compact midpoint interpolation coefficients. More...
 

Detailed Description

Definition at line 56 of file pmat2.f90.

Constructor & Destructor Documentation

◆ avco()

subroutine pmat2::avco::avco ( integer(spi), intent(in)  na,
integer(spi), intent(in)  nb,
real(sp), dimension(na), intent(in)  za,
real(sp), dimension(nb), intent(in)  zb,
real(sp), intent(in)  z0,
real(sp), dimension(na), intent(out)  a,
real(sp), dimension(nb), intent(out)  b 
)
private

Compute one row of the coefficients for the compact mid-interval interpolation scheme characterized by matrix equation of the form, A.t = B.s (*) Where s is the vector of "source" values, t the staggered "target" values.

Parameters
[in]nanumber of t-points operated on by this row of the A of (*)
[in]nbnumber of s-points operated on by this row of the B of (*)
[in]zacoordinates of t-points used in this row of (*)
[in]zbcoordinates of s-points used in this row of (*)
[in]z0nominal point of application of this row of (*)
[out]athe NA coefficients A for this scheme
[out]bthe NB coefficients B for this scheme
Author
R. J. Purser, Tsukasa Fujita (JMA)
Date
1999

Definition at line 100 of file pmat2.f90.

Member Function/Subroutine Documentation

◆ davco()

subroutine pmat2::avco::davco ( integer(spi), intent(in)  na,
integer(spi), intent(in)  nb,
real(dp), dimension(na), intent(in)  za,
real(dp), dimension(nb), intent(in)  zb,
real(dp), intent(in)  z0,
real(dp), dimension(na), intent(out)  a,
real(dp), dimension(nb), intent(out)  b 
)
private

Double precision version of subroutine avco for midpoint interpolation.

Parameters
[in]nanumber of target points involved in formula
[in]nbnumber of source points involved in formula
[in]zacoordinates of target points
[in]zbcoordinates of source points
[in]z0nominal point of application of compact interpolation formula
[out]athe coefficients A for this scheme
[out]bthe coefficients B for this scheme
Author
R. J. Purser, Tsukasa Fujita (JMA)
Date
1999

Definition at line 134 of file pmat2.f90.

◆ tavco()

subroutine pmat2::avco::tavco ( real(dp), dimension(:), intent(in)  xa,
real(dp), dimension(:), intent(in)  xb,
real(dp), dimension(:), intent(out)  a,
real(dp), dimension(:), intent(out)  b 
)
private

Simplified computation of compact midpoint interpolation coefficients.

Parameters
[in]xacoordinates of target points relative to point of application
[in]xbcoordinates of source points relative to point of application
[out]athe coefficients A for this scheme
[out]bthe coefficients B for this scheme
Author
R. J. Purser, Tsukasa Fujita (JMA)
Date
1999

Definition at line 165 of file pmat2.f90.


The documentation for this interface was generated from the following file: