dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04116
GTS
Hi,
I've added dependencies for GLib and GTS (http://gts.sourceforge.net),
GTS requires GLib. I've made the dependency conditional though, so
it's not obligatory to have GTS (GLib could also be made
conditional). I'm not really fond of conditional dependencies though,
it means the code becomes less readable (requires #ifdefs) and some
functionality will obviosuly be disabled. On the other hand, having
too many required dependencies makes DOLFIN more tedious to
build. What do you think?
GTS provides bounding-box trees, which is likely the only feature we
will use. The geometric predicates also come from GTS, but since
they're not part of the public API I had to duplicate them in DOLFIN
(GTS has wrappers for its own mesh representation).
The bounding-box trees are used by IntersectionDetector, which
provides general cell-location (and overlap) functionality. This is in
preparation for projection between non-matching meshes, but could also
have other uses.
Johan
Follow ups
-
Re: GTS
From: Garth N. Wells, 2007-01-15