https://github.com/geodynamics/citcoms
Revision 110bd1cb786a3753c46228e6da40f7beedcd71c3 authored by Thorsten Becker on 16 January 2010, 02:47:04 UTC, committed by Thorsten Becker on 16 January 2010, 02:47:04 UTC
search of why certain prescribed velocity models do not converge like
they should.

- allow for each inner loop solution to have a higher accuracy than
the outer, Uzawa loop. This is set by new parameter
"inner_accuracy_scale", which pre-multiplies the inner accuracy (imp)
setting (defaults to unity)

- remove any rigid body rotation at each Uzawa iteration
step. Parmaeter "inner_remove_rigid_rotation", by default off. For
this, I also added an experimental routine assign_v_to_vector() in
order to reasign the V velocities to the U solution vector after
removing the net rotations from V (how is supposed to work for the
regular operational mode?)




1 parent 33e0d0b
Raw File
Tip revision: 110bd1cb786a3753c46228e6da40f7beedcd71c3 authored by Thorsten Becker on 16 January 2010, 02:47:04 UTC
Implementation of two, perhaps entirely unnecessary features, in
Tip revision: 110bd1c
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