generates a NumericalRegion object from a region r.
generates a NumericalRegion object from a region r restricted to the bounding box .
- ToNumericalRegion[r] generates a NumericalRegion object that keeps the original representation of the region r together with ElementMesh approximations that may be computed later.
- The specification for region r is similar to the one given for ToElementMesh.
- The region r should be a constant region for which ConstantRegionQ gives True.
- ToNumericalRegion has the following options:
"MessageHead" Automatic symbol for messages
Examplesopen all close all
Basic Examples (7)
Extract the ElementMesh:
The ElementMesh field is now populated:
The boundary ElementMesh is now also populated:
Define a NumericalRegion based on the mesh:
Retrieve the predicate and the symbolic region of the NumericalRegion: