5.8. domainsΒΆ

Functions to restrict real-space fields to domains.

Functions

domain_cuboid

Generate a mask for a cuboidal real-space domain.

domain_isovalue

Generate a mask for an isovalue real-space domain.

domain_sphere

Generate a mask for a spherical real-space domain.

truncate

Truncate field data for a given mask.