https://github.com/geodynamics/citcoms
Revision 24ec419dee1953dd6bfe329f0fd9e83281f4a243 authored by Eh Tan on 11 March 2007, 05:27:50 UTC, committed by Eh Tan on 11 March 2007, 05:27:50 UTC
Each tracer has a "flavor" (can only be either 0 or 1 currently). In the ratio
method, the composition of an element is determined by:
  (# of tracers of flavor i)/(# of total tracers)

1 parent 11698e0
Raw File
Tip revision: 24ec419dee1953dd6bfe329f0fd9e83281f4a243 authored by Eh Tan on 11 March 2007, 05:27:50 UTC
A new way to compute composition.
Tip revision: 24ec419
__init__.py
#!/usr/bin/env python
# 
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 
#<LicenseText>
#
# CitcomS.py by Eh Tan, Eun-seo Choi, and Pururav Thoutireddy.
# Copyright (C) 2002-2005, California Institute of Technology.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#</LicenseText>
# 
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 

def copyright():
    return "CitcomS pyre module: Copyright (c) 1998-2003 California Institute of Technology";


# version
def _getVersion():
    try:
        from config import makefile
        return makefile['PACKAGE_VERSION']
    except ImportError, KeyError:
        return "development"

__version__ = _getVersion()
__id__ = "$Id$"

#  End of file 
back to top