GTAW code GTAW (acronym for General Tokamak Alfven Wave) is an ideal MHD eigenvalue code which calculates the frequency and mode structure of Alfven eigenmodes in general tokamak geometry. GTAW reads a G-EQdsk file (g-file) to get the magnetic equilibrium information of an axisymmetric ...
In computational geometry, the point in polygon (PIP) problem asks whether a given point in the plane lies inside, outside, or on the boundary of a polygon. (http://en.wikipedia.org/wiki/Point_in_polygon) 解决这一问题的经典算法是 Ray casting algorithm, 如下是一个实现这一算法的C程序 (http://www ...