grid_tools  1.5.0
 All Data Structures Files Functions Variables
pesg::get_qofv Interface Reference

Private Member Functions

subroutine get_qofv (lam, v1, v2, v3, v4, q)
 The quadratic quantity Q depends linearly on v1 and v4 (which are already quadratic diagnostics of EL) and quadratically on v2 and v3 (which are linear diagnostics of EL). More...
 
subroutine get_qofvd (lam, v2, v3, v1d, v2d, v3d, v4d, qd)
 Like get_qofv, but for (only) the 2-vector derivatives of Q. More...
 
subroutine get_qsofvs (n, lam, v1s, v2s, v3s, v4s, qs)
 General util to convert value. More...
 

Detailed Description

Definition at line 38 of file pesg.f90.

Constructor & Destructor Documentation

subroutine pesg::get_qofv::get_qofv ( real(dp), intent(in)  lam,
real(dp), intent(in)  v1,
real(dp), intent(in)  v2,
real(dp), intent(in)  v3,
real(dp), intent(in)  v4,
real(dp), intent(out)  q 
)
private

The quadratic quantity Q depends linearly on v1 and v4 (which are already quadratic diagnostics of EL) and quadratically on v2 and v3 (which are linear diagnostics of EL).

EL = (1/2)log(G), where G=J^T.J, J the jacobian.

Parameters
[in]lam
[in]v1quadratic diagnostics of EL
[in]v2linear diagnostics of EL
[in]v3linear diagnostics of EL
[in]v4quadratic diagnostics of EL
[out]qquadratic quantity
Author
R. J. Purser

Definition at line 727 of file pesg.f90.

Member Function/Subroutine Documentation

subroutine pesg::get_qofv::get_qofvd ( real(dp), intent(in)  lam,
real(dp), intent(in)  v2,
real(dp), intent(in)  v3,
real(dp), dimension(2), intent(in)  v1d,
real(dp), dimension(2), intent(in)  v2d,
real(dp), dimension(2), intent(in)  v3d,
real(dp), dimension(2), intent(in)  v4d,
real(dp), dimension(2), intent(out)  qd 
)
private

Like get_qofv, but for (only) the 2-vector derivatives of Q.

Note that the quadratic diagnostics v1 and v4 do not participate in this formula.

Parameters
[in]lam
[in]v2
[in]v3
[in]v1d
[in]v2d
[in]v3d
[in]v4d
[out]qd
Author
R. J. Purser

Definition at line 749 of file pesg.f90.

subroutine pesg::get_qofv::get_qsofvs ( integer(spi), intent(in)  n,
real(dp), intent(in)  lam,
real(dp), dimension(n), intent(in)  v1s,
real(dp), dimension(n), intent(in)  v2s,
real(dp), dimension(n), intent(in)  v3s,
real(dp), dimension(n), intent(in)  v4s,
real(dp), dimension(n), intent(out)  qs 
)
private

General util to convert value.

Parameters
[in]n
[in]lam
[in]v1s
[in]v2s
[in]v3s
[in]v4s
[out]qs
Author
R. J. Purser

Definition at line 769 of file pesg.f90.


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