https://github.com/geodynamics/citcoms
Revision bcddb74a015b2762c36ac26bd99bacbb07851722 authored by Eh Tan on 07 November 2008, 23:32:20 UTC, committed by Eh Tan on 07 November 2008, 23:32:20 UTC
* Read all parameters related to initial temperature regardless which tic_method is used. This will make the life easier when adding new tic_method.
* Fixed a bug in 'tic_method=0' for regional model. The bug causes that the sinosoidal temperature perturbation is applied at 0th processor only.
* Fixed a bug in 'tic_method=1' for regional model. 'tic_method=1' should generate a top TBL according to the input parameter 'half_space_age'. However, the code effectively multiply 25x to the age. Cookbook6 is using this tic_method, so its half_space_age needs to become 2500 to get the original temperature.
* In 'tic_method=2', compute distance in Cartesian coordinate, instead of spherical coordinate.
* Refactoring codes for temperature initial conditions.
* Merged regional_construct_tic_from_input() and full_construct_tic_from_input() to construct_tic_from_input().

1 parent ca13d76
Raw File
Tip revision: bcddb74a015b2762c36ac26bd99bacbb07851722 authored by Eh Tan on 07 November 2008, 23:32:20 UTC
* Reserved 'tic_method=100' for user-defined initial temperature.
Tip revision: bcddb74
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