On Fri, Jan 24, 2014 at 7:23 PM, Jane Hung <[email protected]> wrote:
> Could you give more details about how to extend the overlaps along the top
> and bottom of the mesh? Should it be something like this
> mesh=Grid2D(nx=500,ny=500,dx=0.25, dy=0.25, overlap=2) ? How could you
> specify the top and bottom need to be joined?
Having thought about this, it's non-trivial. Hence the reason why is
hasn't been implemented. If you're interested in working on this,
you'll need to look at
http://matforge.org/fipy/browser/fipy/fipy/meshes/builders/abstractGridBuilder.py?rev=6dbc25dde8bdbcb208009a4ee0eef79bb5e0ed31#L105
and
http://matforge.org/fipy/browser/fipy/fipy/meshes/builders/abstractGridBuilder.py?rev=6dbc25dde8bdbcb208009a4ee0eef79bb5e0ed31#L274
Those areas of the code will need to be modified and new grid builders
created for periodic grids. AT least that seems to be what's needed.
Sorry that I can't implement this right now.
--
Daniel Wheeler
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
[ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]