CSGGeometry

class dolfin.cpp.mesh.CSGGeometry(*args, **kwargs)

Bases: dolfin.cpp.common.Variable

Geometry described by Constructive Solid Geometry (CSG)

Box = 0
Circle = 5
Cone = 2
Difference = 11
Ellipse = 6
Intersection = 10
Polygon = 8
Rectangle = 7
Sphere = 1
Surface3D = 4
Tetrahedron = 3
Union = 9
dim()

Return dimension of geometry

getType()
has_subdomains()
is_operator()
set_subdomain()

Define subdomain. This feature is 2D only. The subdomain is itself a CSGGeometry and the corresponding cells in the resulting will be marked with i If subdomains overlap, the latest added will take precedence.

subdomains
thisown

The membership flag