Integrating on regions

More
5 years 11 months ago #1322 by Username
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:
Code:
definedon=mesh.Materials("inner")) definedon=mesh.Boundaries("t"))
Can be boundary regions of the grid nodes or points of geometry?
More
5 years 11 months ago #1325 by cwinters
Replied by cwinters on topic Integrating on regions
Hi,

you are asking for point evaluation, there is no need to use regions.
If you have a GridFunction "gfu", just use
Code:
gfu(mesh(x,y,z))

Christoph
More
5 years 11 months ago #1326 by joachim
Replied by joachim on topic Integrating on regions
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
Attachments:
Time to create page: 0.089 seconds