FV3 Bundle
laplacian_2d.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine laplacian_2d (x, del2x, nx, ny, deltax, deltay)
 Horizontal Laplacian operator. More...
 

Function/Subroutine Documentation

◆ laplacian_2d()

subroutine laplacian_2d ( real(kind=kind_real), dimension(nx,ny), intent(in)  x,
real(kind=kind_real), dimension(nx,ny), intent(out)  del2x,
integer, intent(in)  nx,
integer, intent(in)  ny,
real(kind=kind_real), intent(in)  deltax,
real(kind=kind_real), intent(in)  deltay 
)

Horizontal Laplacian operator.

Nothing fancy here. It's just the standard 5-point finite-difference Laplacian.

Parameters
[in]nxZonal grid dimension
[in]nyMeridional grid dimension
[in]xStreamfunction
[out]del2xResult of applying Laplacian to x
[in]deltaxZonal grid spacing (non-dimensional)
[in]deltayMeridional grid spacing (non-dimensional)

Definition at line 15 of file laplacian_2d.f90.

Here is the caller graph for this function: