On Thu, Jul 10, 2008 at 4:38 PM, asreeve <[EMAIL PROTECTED]> wrote:
>
> Daniel,
>
> The examples I am trying are out of the reference manual (page 40 and 41).

Check out http://matforge.org/fipy/browser/trunk/fipy/meshes/common/mesh.py#L70

The manual on the web doesn't correspond to trunk. This is an argument
for having the guide and manual updated at every commit, which is
possible, but we don't do it. Perhaps we should. I can't build you a
new copy of the reference manual as my build mechanism seems to be
hosed. You can always look in the code to figure out how the new
example should work.

http://matforge.org/fipy/browser/trunk/fipy/meshes/common/mesh.py#L70

You'll notice that mostly everything has been transposed between v1.2 and trunk.

> Now the values are really messed up. I haven't translated the mesh, but
> instead have added the same values to both the x and y coordinates. How do I
> add a constant to all the Y (or Y) values to translate the mesh so I can
> then concatenate them?

to add to the y-values only do "mesh + ((0,),(value,))"

> What I'm hoping I can do, but am doubtful it is possible, is to add two
> meshed together that are linked at only a some of the faces. In 2-D, you
> could envision creating a horizontal and vertical mesh, say 5 by 2 and 2 by
> 6, and linking then together so they make an L or T-shaped final mesh. The
> two original meshes would now be linked across and share two faces.

That should work fine as long as the faces are aligned. If it doesn't
then fipy is broken..

> Don't worry about any older e-mails I sent that you have not responded to.

I'd like to get to the bottom of the problem with the unstructured
half cylinder mesh you were having. It may or may not be a real bug,
but I'd like to at least understand it. Have you looked at that again?

> I've either found a work-around or figured out what I was doing wrong.

Don't like work-around. Prefer understand and fix.

> There's no rush on this either, as I'll be away for a couple weeks doing
> field work.

Enjoy the field! I wish I wasn't stuck in the Starship Enterprise everyday :-(.

-- 
Daniel Wheeler

Reply via email to