On May 5, 2006, at 9:53 AM, Daniel Lewis wrote:

Can you create a list object in FiPy using the cell variables defined below?

Sure,

phase = [
        CellVariable(name = "alpha", mesh = mesh),
        CellVariable(name = "beta", mesh = mesh),
        CellVariable(name = "liquid", mesh = mesh)
]

will work, as will

phase = [alpha, beta, liquid]

if you want to keep named references to the individual phases for some other reason.

--
Jonathan E. Guyer, PhD
Metallurgy Division
National Institute of Standards and Technology
<http://www.metallurgy.nist.gov/>



Reply via email to