**Discussion Closed** This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

## Problem with re-specifying periodic BCs on re-drawn model (Bug workaround?)

Posted 2009年7月7日 GMT-4 15:16 1 Reply

Please login with a confirmed email address before reporting spam

Hello,

When I modify my model by redrawing the geometry, with the result having fewer total vertices than the previous version, I run into a problem when re-specifying the periodic boundary conditions.

In particular, the periodic BC dialog box remembers the vertex numbers from the first version of the geometry. When some of these retained vertices have number-labels larger than the new total number of vertices, I get an error:

Error: 9040

Fatal error.

- Type: ArrayIndexOutOfBoundsException

The catch-22 is that it wont let me remove the out-of-bounds vertex numbers because there are too many of them for the Javascript routine to work with.

Any pointers on how to avoid this? My sub-domain and other settings are rather elaborate, and I would really not have to re-jigger them every time I tweak the geometry. (For context, I am solving Schroedinger's equation on 3D in semiconductor nanostructures that are periodic in 2D, finding the Bloch states.)

When I modify my model by redrawing the geometry, with the result having fewer total vertices than the previous version, I run into a problem when re-specifying the periodic boundary conditions.

In particular, the periodic BC dialog box remembers the vertex numbers from the first version of the geometry. When some of these retained vertices have number-labels larger than the new total number of vertices, I get an error:

Error: 9040

Fatal error.

- Type: ArrayIndexOutOfBoundsException

The catch-22 is that it wont let me remove the out-of-bounds vertex numbers because there are too many of them for the Javascript routine to work with.

Any pointers on how to avoid this? My sub-domain and other settings are rather elaborate, and I would really not have to re-jigger them every time I tweak the geometry. (For context, I am solving Schroedinger's equation on 3D in semiconductor nanostructures that are periodic in 2D, finding the Bloch states.)

1 Reply Last Post 2009年7月13日 GMT-4 02:10