SCALE-RM
Modules | Functions/Subroutines | Variables
scale_vector.F90 File Reference

Go to the source code of this file.

Modules

module  scale_vector
 module vector
 

Functions/Subroutines

subroutine, public scale_vector::vectr_xyz2latlon (x, y, z, lat, lon)
 
subroutine, public scale_vector::vectr_latlon2xyz (lat, lon, x, y, z, radius)
 
subroutine, public scale_vector::vectr_cross (nv, a, b, c, d)
 exterior product of vector a->b and c->d More...
 
subroutine, public scale_vector::vectr_dot (l, a, b, c, d)
 interior product of vector a->b and c->d More...
 
subroutine, public scale_vector::vectr_abs (l, a)
 length of vector o->a More...
 
subroutine, public scale_vector::vectr_angle (angle, a, b, c)
 calc angle between two vector(b->a,b->c) More...
 
subroutine, public scale_vector::vectr_intersec (ifcross, p, a, b, c, d)
 judge intersection of two vector More...
 
subroutine, public scale_vector::vectr_anticlockwise (vertex, nvert)
 bubble sort anticlockwise by angle More...
 
real(rp) function, public scale_vector::vectr_triangle (a, b, c, polygon_type, radius)
 calc triangle area More...
 
real(rp) function, public scale_vector::vectr_triangle_plane (a, b, c)
 calc triangle area on plane More...
 
subroutine, public scale_vector::vectr_rotation (a, angle, iaxis)
 Apply rotation matrix. More...
 
subroutine, public scale_vector::vectr_distance (r, lon1, lat1, lon2, lat2, dist)
 Get horizontal distance on the sphere. More...
 

Variables

integer, parameter, public scale_vector::i_xaxis = 1
 
integer, parameter, public scale_vector::i_yaxis = 2
 
integer, parameter, public scale_vector::i_zaxis = 3