ComplementΒΆ
Learning targets
- Invert a domain to create the complement
This example inverts a circle so that the defined domain becomes the exterior of the circle with is truncated by the computational domain.
.jcm
Input File
layout.jcm [ASCII]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Layout2D { UnitOfLength = 1 Objects { Parallelogram { Name = "ComputationalDomain" Width = 8 Height = 8 Priority = -1 DomainId = 1 } Circle { Radius = 3 RefineAll = 2 DomainId=2 Complement = yes } } }