Revision 1e7ff88de3b5c248cc75ed65dfbac5c63f7c59d1 authored by Eh Tan on 12 July 2011, 16:27:58 UTC, committed by Eh Tan on 12 July 2011, 16:27:58 UTC
- A new input parameter 'vtk_format', which can be either 'ascii' (default) or
  'binary'. When 'binary', gzip and base64 encoding are used.
- The node ordering is changed to CitcomS native ordering. The consequence is the
  axis are rotated as z in CitcomS is mapped to X in vtk, and x to Y, y to Z.
- More data can be outputted in vtk format
- Using .pvts file for regional model; .vtm and .visit file for global model
  (.vtm format provided by Tobias Hoeink at Rice, .visit format provided by Kat
   at visitusers.org/forum)

1 parent 56f6015
Raw File
setup.py

from archimedes import use_merlin
use_merlin()

from merlin import setup, find_packages, require

install_requires = ['pythia[mpi] >= 0.8.1.0, < 0.8.2a']

import os
want_exchanger = os.environ.get('want_exchanger', 'auto')
exchanger = "Exchanger >= 1, < 2a"
if want_exchanger == 'auto':
    # Use Exchanger if it's available.
    try:
        require(exchanger)
    except Exception, e:
        pass
    else:
        install_requires.append(exchanger)
elif want_exchanger == 'yes':
    # Require Exchanger.
    install_requires.append(exchanger)

setup(
    
    name = 'CitcomS', 
    version = '3.1',

    zip_safe = False,
    packages = find_packages(),
    
    install_requires = install_requires,

    author = 'Louis Moresi, et al.',
    author_email = 'cig-mc@geodynamics.org',
    description = """A finite element mantle convection code.""",
    long_description = """CitcomS is a finite element code designed to solve thermal convection problems relevant to Earth's mantle. Written in C, the code runs on a variety of parallel processing computers, including shared and distributed memory platforms.""",
    license = 'GPL',
    url = 'http://www.geodynamics.org/cig/software/packages/mc/citcoms/',

)
back to top