Computational Conformal Geometry Library - CCGL
CCGL logo

Introduction

Getting CCGL
    Download
    Installation


Development Guide
    Architecture
    Performance


Gallery
    Snapshots
    Movies

Mesh Data Structure
    Viewer

Topology
    Cut Graph
    Slicer
    Double Cover
    Homology Basis

Conformal Maps
    Harmonic Map
    Spherical Harmonic Map
    LSCM

Holomorphic 1-Form
    Integration
    Harmonic 1-Form
    Holomorphic 1-Form
    Slit Map

Curvature Flow
    Euclidean Ricci Flow
    Poly Annulus Ricci Flow
    Hyperbolic Ricci Flow
    Yamabe Flow

Documentation
    Reference Book

Acknowledgements
Installation Guide

Computational Conformal Geometry Library is written in generic C++ with standard template library (STL). Although current version is develop on windows platform using Visual.net 2003, the code can be easily imported to Linux, unix and other platforms.

CCGL needs a linear package to solve linear system equations. It has a general sparse matrix interface to the linear package. Current version uses matlab C++ library as the lineary system solver. It can be replaced by another other linear packages. In order to compile all the source codes, the user needs to set up the include file directories and link the libraries. The following explains how to set Matlab external C++ libary in Visual.net 2003:

  1. Choose the main menu, select Tools, go to the bottom of the menu, and choose Options



  2. The dialog window will pop up. On the left text box choose Projects, then select item VC++ Directories. In the upper right text box, choose Include Files. In the right bottom text box, type in the Matlab extern library include directory.



  3. Choose the main menu, select Project, go to the bottom of the menu to choose Project Properties



  4. The dialog window will pop up. On the left text box choose Linker, then select item Input. In the right text box, choose Additional Dependencies, type in the Matlab extern libraries libmx.lib libmat.lib libeng.lib winmm.lib.



The viewer program needs glut32 library, which can be downloaded from the link here. Then

  • Put the header files glut.h to the visual studio header directory
    C:\Program Files\Microsoft Visual Studio\VC98\Include\GL.
  • Put the lib files glut32.lib to the visual studio lib directory
    C:\Program Files\Microsoft Visual Studio\VC98\Lib.
  • Put the dll files glut32.dll to the system directory
    C:\WINDOWS\system32.

      Each application has a project file, it can be directly open and compile once you have set up the matlab library and glut library. If you want to test the binary codes, you need to rebuild the projects once you changed the machine.