grid_tools  1.13.0
pmat4::cross_product Interface Reference

Private Member Functions

real(dp) function, dimension(3) cross_product_d (a, b)
 Return the cross product of two double precision real 3-vectors. More...
 
real(sp) function, dimension(3) cross_product_s (a, b)
 Return the cross product of two single precision real 3-vectors. More...
 
real(dp) function, dimension(4) triple_cross_product_d (u, v, w)
 Return the triple_cross_product for 4-vectors. More...
 
real(sp) function, dimension(4) triple_cross_product_s (u, v, w)
 Deliver the triple-cross-product, x, of the three 4-vectors, u, v, w, with the sign convention that ordered, {u,v,w,x} form a right-handed quartet in the generic case (determinant >= 0). More...
 

Detailed Description

Definition at line 64 of file pmat4.f90.

Member Function/Subroutine Documentation

◆ cross_product_d()

real(dp) function, dimension(3) pmat4::cross_product::cross_product_d ( real(dp), dimension(3), intent(in)  a,
real(dp), dimension(3), intent(in)  b 
)
private

Return the cross product of two double precision real 3-vectors.

Parameters
[in]areal type input 3-vector
[in]breal type input 3-vector
Returns
c result, double precision real 3-vector
Author
R. J. Purser

Definition at line 215 of file pmat4.f90.

◆ cross_product_s()

real(sp) function, dimension(3) pmat4::cross_product::cross_product_s ( real(sp), dimension(3), intent(in)  a,
real(sp), dimension(3), intent(in)  b 
)
private

Return the cross product of two single precision real 3-vectors.

Parameters
[in]areal type input 3-vector
[in]breal type input 3-vector
Returns
c result, single precision real 3-vector
Author
R. J. Purser

Definition at line 202 of file pmat4.f90.

◆ triple_cross_product_d()

real(dp) function, dimension(4) pmat4::cross_product::triple_cross_product_d ( real(dp), dimension(4), intent(in)  u,
real(dp), dimension(4), intent(in)  v,
real(dp), dimension(4), intent(in)  w 
)
private

Return the triple_cross_product for 4-vectors.

Parameters
[in]ureal type input 4-vector
[in]vreal type input 4-vector
[in]wreal type input 4-vector
Returns
x result, triple-cross-product 4-vector
Author
R. J. Purser

Definition at line 253 of file pmat4.f90.

◆ triple_cross_product_s()

real(sp) function, dimension(4) pmat4::cross_product::triple_cross_product_s ( real(sp), dimension(4), intent(in)  u,
real(sp), dimension(4), intent(in)  v,
real(sp), dimension(4), intent(in)  w 
)
private

Deliver the triple-cross-product, x, of the three 4-vectors, u, v, w, with the sign convention that ordered, {u,v,w,x} form a right-handed quartet in the generic case (determinant >= 0).

Parameters
[in]ureal type input 4-vector
[in]vreal type input 4-vector
[in]wreal type input 4-vector
Returns
x result, triple-cross-product 4-vector
Author
R. J. Purser

Definition at line 232 of file pmat4.f90.


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