Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Integrating on regions

More
5 years 4 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 4 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 4 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.152 seconds