https://github.com/geodynamics/citcoms
Revision e8525af65f095ce4b1cc6782e249cc7c3433195a authored by Eh Tan on 16 March 2009, 23:17:30 UTC, committed by Eh Tan on 16 March 2009, 23:17:30 UTC
* solver.param.mineral_physics_mode: default to 3, the model of Tramper, Vacher and Vlaar's PEPI 2001.
* output_optional=seismic will write coordinates and seismic velocities in binary files for specfem comsumption.
* domain bounds file "datafile.domain": binary file with nproc * 10 doubles. The 10 doubles are (rmin, rmax) and four (theta, phi) pairs for the four bottom corner nodes. This file is written by rank-0 processor only.


1 parent ebff88c
Raw File
Tip revision: e8525af65f095ce4b1cc6782e249cc7c3433195a authored by Eh Tan on 16 March 2009, 23:17:30 UTC
Converting temperature/composition fields to seismic velocities, in a format that specfem3d portal and v4.1 can understand.
Tip revision: e8525af
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 = '2.2',

    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