Skip to content
This code computes elliptic LCSs in 2D, and can be used to compute general null-geodesics with minor modifications.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


%                 Compute closed null-geodesics in 2D               %
%                                                                   %
%                      Mattia Serra (ETH Zurich)                    %                               
%                           %


This software is made public for research use only. It may be modified and redistributed
under the terms of the GNU General Public License. 


This code implements theoretical results developed by Serra & Haller (2016) [1] at ETH Zurich. 
Specifically, the code developed here can be used to compute closed null-geodesic in 2D flows 
in a fully automated fashion. Examples include elliptic Lagrangian Coherent Structures 
(LCSs) [3], and elliptic Objective Eulerian Coherent Structures (OECSs) [2].


Please cite [1] if you use the code in your own work.


[1] M. Serra, and G. Haller, Efficient Computation of Null-Geodesic 
    with Applications to Coherent Vortex Detection, submitted, (2016). 
[2] M. Serra, and G. Haller, Objective Eulerian Coherent Structures,  
    Chaos, 26 (2016) 053110.

[3] G. Haller, FJ. Beron-Vera, Coherent Lagrangian vortices: the black
    holes of turbulence.  J. Fluid Mech. 731 (2013) R4

Tested on Matlab R2015b.

Installation notes :

1) After you unzipped the files to mydir, 
   put the Current Directory in Matlab to mydir

2) In the Matlab command prompt,
   type "add_path" to add the necessary folders to the top of the search path

3) You can run the Main file called: ClosedNullGeodesics.m contained in the folder \Main.

The altimeter products used in this work are produced by SSALTO/DUACS and distributed by AVISO, 
with support from CNES ( 

NOTE: This code may be imporved and subject to several changes. Therefore, we suggest to visit this 
page and check if the version you downloaded is up to date.  

Maintained by Mattia Serra,
serram at ethz dot ch
November 11, 2016.
You can’t perform that action at this time.