Dan,
I am having some trouble getting an error free response to this command
that you suggest:
$ python setup.py copy_script --From=examples/diffusion/mesh1D.py
--To=myMesh1D.py
My questions about how to execute this are basic.
You don't have to do this, you could just cut and paste the python syntax you need. However,
to execute this command do the following:
- Open up a Windows command prompt utility:
0) Click on "Start"
1) Click on "Programs"
2) Click on "Accessories"
3) Click on "Command Prompt"
- Do the following commands:
1) "cd C:\Python24\FiPy-1.1" or wherever your base fipy directory is.
2) "C:\Python24\python setup.py copy_script --From=examples\diffusion\mesh1D.py --To=myMesh1D.py"
- You can now edit myMesh1D.py with IDLE, it will be in "C:\Python24\FiPy-1.1"
Which environment in my Windows installation is appropriate for this
command?
The above doesn't require any environment changes because you are specifying the path to python.
I've tried IDLE and Python. Also, how does one set the
operating directory in
these environments (e.g., at a DOS command line, I would use
cd\dirname) ?
I've been looking around in
but I haven't hit on anything that works (yet).
Thank you.
Terry
Terry McDaniel
Seagate Research (209) 295-6735
Daniel Wheeler
<[EMAIL PROTECTED]
ist.gov> To
Available cc
Subject
07/24/2006 08:02 Re: Code for my example
AM
Terry,
Go ahead and take a stab at coding your own problem. If you are having
problems debugging or have specific questions,
we will certainly answer them.
In this case, I think the first example in the manual pretty much covers
your problem. I would recommending
taking that example and modifying it for your needs. If you want, you can
extract the python from all the comments
by issuing the following command:
$ python setup.py copy_script --From=examples/diffusion/mesh1D.py
--To=myMesh1D.py
You'll have to be in the base fipy directory to do this. Also, I
would recommend signing up to the mailing list.
There are others who may give you different feedback.
Cheers
Daniel Wheeler
Daniel,
You may recall my initial mention of the heat conduction
problem that
I wished to solve. Here is a brief description of it. (See
attached
file: Yukiko_setup.doc)
I am reading through the FiPy Programmer's Reference now. I was
brought up
on FORTRAN and APL and APL2 a long time ago, so the OOP is a bit
foreign to
me. I am happy to take a stab at coding my problem in FiPy, working
off of
your published examples. I am going to do that. However, I thought
that
coding this little problem would probably be trivial for you. If you
wouldn't mind taking the time to set it up, I'm sure I could benefit
from
seeing an expert's approach to it.
Thank you.
Terry McDaniel
Seagate Research (209) 295-6735
<Yukiko_setup.doc>
Daniel Wheeler