OpenCMISS-Iron Internal API Documentation
coordinate_routines::coordinate_delta_calculate Interface Reference

Calculates the difference (or delta) between two points in a coordinate system. Discontinuities for polar coordinate systems are accounted for. More...

Private Member Functions

real(dp) function, dimension(size(x, 1)) coordinate_delta_calculate_dp (COORDINATE_SYSTEM, X, Y, ERR, ERROR)
 Calculates the difference (or detlta) between the point X and the point Y i.e., Y-X, in the given coordinate system. 0->2Pi discontinuities with polar coordinates are accounted for. More...
 

Detailed Description

Calculates the difference (or delta) between two points in a coordinate system. Discontinuities for polar coordinate systems are accounted for.

Definition at line 133 of file coordinate_routines.f90.

Member Function/Subroutine Documentation

real(dp) function, dimension(size(x,1)) coordinate_routines::coordinate_delta_calculate::coordinate_delta_calculate_dp ( type(coordinate_system_type), intent(in)  COORDINATE_SYSTEM,
real(dp), dimension(:), intent(in)  X,
real(dp), dimension(:), intent(in)  Y,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Calculates the difference (or detlta) between the point X and the point Y i.e., Y-X, in the given coordinate system. 0->2Pi discontinuities with polar coordinates are accounted for.

Parameters
[in]coordinate_systemThe coordinate system to calculate the delta for
[in]xThe first coordinate
[in]yThe second coordinate
[out]errThe error code
[out]errorThe error string

Definition at line 598 of file coordinate_routines.f90.