Hi all,
the changes previewed in the "(c)mesh + regions update" thread are almost ready to merge into master. After it is done, I will release sfepy-2013.3, so I would like to hear your feedback, especially on the documentation [1], where the new machinery is described.
There are several changes that will have to be done in your problem description files in region definitions:
- Rename "nodes" -> "vertices", "elements" -> "cells".
- All regions meant for boundary conditions or boundary/surface integrals need to have their kind set explicitly to 'facet' (or 'edge' in 2D, 'face' in 3D).
- The logical operators changed too as well as there are some new, see the docs.
- If no region kind is specified (the 'cell' default), the selector can be a string directly in the short syntax instead of the tuple.
Check the examples too (e.g. [2]) to see the new syntax.
It's a little bit inconvenient, I know, but the new code is more powerful and simpler that the old one. It will also allow adding new selectors (edge- or face-based) easily, if needed.
Best regards, r.
[1] http://sfepy.org/doc-test/users_guide.html#regions [2] http://sfepy.org/doc-test/examples/acoustics/acoustics3d.html