Revision a77c1860f5d3dabed475294dd6c8eb899e0495bb authored by Thorsten Becker on 09 August 2007, 01:27:32 UTC, committed by Thorsten Becker on 09 August 2007, 01:27:32 UTC
- added a compositional viscosity function, CDEPV, based on two tracer
  flavors

- for this to work, I had to move viscosity_input() *behind*
  tic_input() and tracer_input() in Instructions.c

- built in restart facilities for temperature and tracers when using
  gzdir I/O



1 parent 8e448b0
Raw File
citcoms_datadir
#!/usr/bin/env python

def get_var():
    # get your username on this machine, and make it upper case
    import os
    var = os.environ.get("USER")
    return var.upper()


# invariant prefix of datadir
prefix = "/scratch/"

# invariant suffix of datadir
suffix = ""

# get the machine-dependent part of datadir
var_path = get_var()

# construct the full string for datadir
print "%s%s%s" % ( prefix, var_path, suffix )
back to top