Integrating on regions

Hi,

I have a question about the domains of integration. The example [Spaces and forms on subdomains] shows that the integration domains can be boundary regions:

definedon=mesh.Materials("inner")) definedon=mesh.Boundaries("t"))
Can be boundary regions of the grid nodes or points of geometry?

Hi,

you are asking for point evaluation, there is no need to use regions.
If you have a GridFunction “gfu”, just use

gfu(mesh(x,y,z))

Christoph

Hi,

I just added this feature. You can name points (in 2D geometries by now), then you can access them as co-dimension 2 regions (called BBoundaries). See the attached example.

Will be available in the nightly build tonight,

Joachim

Attachment: pointsource.py