Skip to content

cihankayacihan/gamer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release snapshot of GAMer
=========================

GAMer is a surface mesh improvement library included in the FEtk 
software umbrella. It depends on Maloc a Minimal Abstraction Layer 
for Object-oriented C, which all modules in FEtk depends on. Maloc 
is provided in this snapshot.


Installation
------------
This installation instructions should work on any UNIX based platform.

  # Only needed during install
  export PREFIX=installation/path
  export FETK_INCLUDE=$PREFIX/include
  export FETK_LIBRARY=$PREFIX/lib

  cd maloc
  configure --prefix=$PREFIX
  make
  make install

  cd gamer
  configure --prefix=$PREFIX
  make
  make install

Installation of PyGAMer
~~~~~~~~~~~~~~~~~~~~~~~

  cd gamer/swig
  configure --prefix=$PREFIX
  make
  make install

To compile the Python extension module of GAMer you need to have SWIG, 
the Python header files and NumPy installed.
 
For Python3 configuration set environment variable PYTHON

  export PYTHON=/usr/bin/python3.2
 
Make sure to set LD_LIBRARY_PATH or (DYLD_LIBRARY_PATH on Mac) and 
PYTHONPATH before you run any programs or try using PyGAMer

  export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
  export PYTHONPATH=$PREFIX/lib/python2.6/site-packages:$PYTHONPATH

On Mac:

  export DYLD_LIBRARY_PATH=$PREFIX/lib:$DYLD_LIBRARY_PATH
  export PYTHONPATH=$PREFIX/lib/python2.6/site-packages:$PYTHONPATH

If you have another python installation than 2.6 you need to change that.

Installation of GAMer applications
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cd gamer/tools/{ImproveSurfMesh, MolecularMesh, GenerateMesh}
  configure --prefix=$PREFIX
  make
  make install

PyGAMer
-------
PyGAMer is a Python wrapper of the core GAMer library. To test the
main functionality you can run the test script in gamer/swig/test.

  cd gamer/swig/test
  python gamer_test.py

Blender (upy)
-------------
A blender plug-in for GAMer is provided in:

  gamer/tools/blender

In addition to following the instructions in the README file in the 
blender directory you also need to have a functional PyGAMer installation.

For the blender plugin to work you also need to install upy. This software 
is provided in the upy subdirectory.

  cd upy
  python setup.py install --prefix=$PREFIX

Contact
-------
Please report any problems to:

  Johan Hake <[email protected]>

Oslo 20-12-12

About

Geometry-preserving Adaptive Mesh Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 24.3%
  • C 21.8%
  • Shell 17.9%
  • HTML 15.9%
  • Python 15.6%
  • TeX 2.7%
  • Other 1.8%