Debian Codegraph @

debian/external_deps/fetk/gamer/doc/index.html

raw
1 <!-- rcsid="$Id: index.html,v 1.4 2010/08/09 19:01:24 fetk Exp $" -->
2 <!-- ===================================================================== -->
3 <!--#include virtual="../../include/head.html"-->
4 <!-- ===================================================================== -->
5
6 <object class="largeFonts">
7 GAMer User's Guide
8 </object>
9
10 <br />
11 <br />
12
13 Version 0.1
14
15 <br />
16 <br />
17
18 <b>Table of Contents</b>
19 <ol>
20 <li> <a href="#overview">Overview</a></li>
21 <li> <a href="#resources">Information and Resources</a></li>
22 <li> <a href="#download">Obtaining GAMer</a></li>
23 <li> <a href="#faq">Frequently Asked Questions</a></li>
24 <li> <a href="#install">Installation Instructions</a></li>
25 <li> <a href="#author">Author Information</a></li>
26 <li> <a href="#license">Copyright and Terms of Use</a></li>
27 <li> <a href="#gpl">GNU GPL</a></li>
28 </ol>
29
30 <i>
31 NOTE:
32 </i>
33 This documentation provides information about installation, configuration,
34 and general usage of the GAMer libraries.
35 Information about the programming interface provided by the GAMer software
36 can be found in the <a href="api/html/index.html" target="_blank">Programmer's Guide</a>.
37
38 <br />
39 <br />
40 <!-- ===================================================================== -->
41 <hr />
42 <br />
43
44 <b><a name="overview">Overview</a></b>
45
46 <br />
47 <br />
48 GAMer (Geometry-preserving Adaptive MeshER) is mesh generation tool that
49 produces high-quality simplex meshes of surfaces and volumes (see figures below). It is built
50 on top of two state-of-the-art mesh generators: Triangle (for 2D constrained
51 Delaunay meshes in the plane) and Tetgen (for 3D constrained Delaunay meshes
52 in space), combined with a collection of algorithms for generating, improving,
53 refining, and decimating surface triangulations of imbedded interior or exterior
54 domain surfaces. GAMer can be used as a small stand-alone adaptive mesh generator.
55 <br />
56 <br />
57 <a href="images/machE-surf.png" style="text-decoration: none"><img src="images/machE-surf.png" width="250" alt="image" /></a>
58 <a href="images/machE-tetra.png" style="text-decoration: none"><img src="images/machE-tetra.png" width="250" alt="image" /></a>
59
60 <br />
61 <br />
62 GAMer can take as
63 input a number of formats, including PDB, PQR, OFF, RawIV, and XYZR. The PDB is a
64 standard format used in the <a href="http://www.rcsb.org/">Protein
65 Data Bank</a> for bio-molecules. A PQR format may be generated from PDB using
66 <a href="http://pdb2pqr.sourceforge.net/">PDB2PQR</a>. The OFF is a format used
67 in <a href="http://www.geomview.org">Geomview</a> for mesh representation. More details
68 on this format may be found at <a href="http://people.scs.fsu.edu/~burkardt/data/off/off.html">here</a>.
69 GAMer can also generate meshes from a 3D volume represented RawIV as used internally in
70 <a href="http://cvcweb.ices.utexas.edu/cvc">CVC</a> at UT-Austin. The XYZR format is a
71 simplified version of the PDB/PQR format, which contains only the center (xyz) and
72 radius (r) of each atom in a molecule. A brief structure of GAMer is shown in the following figure.
73
74 <br />
75 <br />
76 <a href="images/pipeline.jpg" style="text-decoration: none"><img src="images/pipeline.jpg" width="250" alt="image" /></a>
77 <br />
78 <br />
79 GAMer was designed primarily to generate high-quality and adaptive meshes for
80 biomedical simulation, although it can also be used for general problems that require
81 "good" surface and tetrahedral meshes. The outputs of GAMer can be used directly in
82 <a href="http://fetk.org/">FETK</a> or, with slight modifications, in other finite element
83 based numerical solvers. Ongoing projects include efficient algorithms for tetrahedral
84 mesh smoothing and localized mesh deformation for simulation of molecular/cellular dynamics.
85
86 <br />
87 <br />
88 <!-- ===================================================================== -->
89 <hr />
90 <br />
91
92 <b><a name="resources">Information and Resources</a></b>
93
94 <br />
95 <br />
96 Detailed information about GAMer can be found in the
97 <a href="index.html">User's Guide</a>
98 and
99 <a href="api/html/index.html">Programmers's Guide</a>.
100
101 <br />
102 <br />
103 While GAMer is itself a self-contained software package, it is one of several
104 components of
105 FETK
106 (the Finite Element ToolKit).
107 FETK
108 consists of the following components written in Clean OO C:
109 <ul>
110 <li> MALOC - Minimal Abstraction Layer for Object-oriented C programs.</li>
111 <li> PUNC - Portable Understructure for Numerical Computing.</li>
112 <li> GAMer - Geometry-preserving Adaptive MeshER (uses MALOC).</li>
113 <li> SG - Socket Graphics mesh display tool (uses MALOC).</li>
114 <li> MC - Manifold Code finite element package (uses MALOC and PUNC).</li>
115 <li> MCX - MC eXtension libraries (uses MALOC, PUNC, and MC). </li>
116 </ul>
117
118 <br />
119 <br />
120 MALOC is self-contained, and requires only an ANSI-C compiler on a UNIX
121 or Win32 platform. PUNC, GAMer, SG, and MC are also self-contained, but rely
122 on MALOC having been previously installed on the platform. Additional features
123 of MC are enabled if PUNC is available, but PUNC is not required to build MC.
124 The MC eXtension libraries MCX are constructed on top of MALOC and MC, and
125 in order install and use MCX one must first correctly configure and install
126 both MALOC and MC. MCX is made up of a number of individual libraries
127 developed by members of our group, or contributed by one of a number of
128 colleagues. More information about
129 FETK
130 can be found on the
131 FETK
132 website:
133 <ul>
134 <li> <a href="http://www.fetk.org/">http://www.fetk.org/</a></li>
135 </ul>
136
137 <br />
138 <!-- ===================================================================== -->
139 <hr />
140 <br />
141
142 <b><a name="download">Obtaining GAMer</a></b>
143
144 <br />
145 <br />
146 GAMer is copyrighted, but is redistributable in source and binary form
147 under the following <a href="#license">license</a>.
148 The GAMer source can be downloaded from the
149 <a href="http://www.fetk.org/codes/download/index.html">FETK Download Page</a>.
150 <br />
151 <br />
152
153 GAMer uses the low-level FETK abstraction library
154 <a href="../maloc/index.html">MALOC</a>,
155 which must be installed before installing GAMer.
156 <br />
157
158 <br />
159 <!-- ===================================================================== -->
160 <hr />
161 <br />
162
163 <b><a name="faq">Frequently Asked Questions</a></b>
164
165 <br />
166 <br />
167 <b>
168 Why did you develop GAMer, given many other mesh generation packages?
169 </b>
170
171 <br />
172 <br />
173 The existing mesh generation tools for biomedical applications, especially bio-molecular
174 surface and volumetric mesh generation, are suffering from either being slow or having
175 poorly-shaped angles (too small or too large). GAMer was developed in the hope that it
176 could provide a fast tool of finite element mesh generation with the following properties:
177 (1) feature-preservation, (2) local adaptivity, (3) high quality (measured by angles),
178 and (4) smoothness (for surface meshes).
179
180 <br />
181 <br />
182 <b>
183 What is in all of these subdirectories? Where exactly is "GAMer"?
184 </b>
185
186 <br />
187 <br />
188 GAMer consists of several (class) libraries from which you will call routines
189 to handle your application. You will need to write a main driver program
190 (and any supporting routines you need to define your problem) and then link
191 to the libraries. As described in the file "INSTALL", you will build all of the
192 libraries in one shot for your particular architecture, along with a test program to
193 verify that the various pieces are functioning correctly. After the build, you will
194 be ready to work with your particular application main driver, and you just need to
195 link to the libraries. Sample main drivers and makefiles are in the "gamer/tools/*"
196 subdirectories. Things are setup for you to work completely in one of those directories.
197 Of course, all you really have to do is link to the GAMer libraries, so you can use
198 it how you like; the makefiles and drivers in "gamer/tools/*" just provide an example
199 of how to get GAMer working correctly.
200 <br />
201 <br />
202 The following directory tree is created when you unpack the GAMer "GAMer.tgz"
203 distribution file by following the instructions in the INSTALL document:
204 <br />
205 <br />
206 <pre class="smallfonts" style="font-family: Courier New">
207 GAMer
208 |
209 ------------------------
210 / | | | \
211 config doc examples src tools
212 </pre>
213 <br />
214 The src directory has the additional subdirectory structure for each
215 library forming GAMer:
216 <br />
217 <br />
218 <pre class="smallfonts" style="font-family: Courier New">
219 src
220 |
221 ------------------------------
222 / | | | | \
223 aaa_inc aaa_lib base biom tetgen triangle
224 </pre>
225 <br />
226 Within each library source directory is an additional subdirectory,
227 "GAMer". The "GAMer" subdirectory contains public headers for the library,
228 representing the library API; these headers will be installed in the
229 specified header install directory during the install procedure after
230 building GAMer.
231
232 <br />
233 <br />
234 The following is a brief description of each subdirectory of the package.
235 <br />
236 <br />
237 <pre class="smallfonts" style="font-family: Courier New">
238 gamer - The entire GAMer package
239 gamer/config - GNU Autoconf scripts and non-unix config files
240 gamer/doc - GAMer documentation
241 gamer/examples - Complex examples and data files for using GAMer
242 gamer/src - GAMer source code (all source and headers)
243 gamer/src/aaa_inc - Header installation tools
244 gamer/src/aaa_lib - Library installation tools
245 gamer/src/*/gamer - The GAMer headers (API)
246 gamer/src/base - Source for M. Holst's BASE (GAMer foundation)
247 gamer/src/biom - Source code for GAMer mesh generation/processing
248 gamer/src/tetgen - Source code for tetrahedral generation (TetGen)
249 gamer/src/triangle - Source code for triangle generation (Triangle)
250 gamer/tools - Some examples for use with gamer
251 </pre>
252 <br />
253 <b>
254 Okay, I seem to have installed GAMer correctly; how do I actually use it now?
255 </b>
256
257 <br />
258 <br />
259 GAMer can be called as a subroutine or used as a stand-alone program. There are examples
260 in "/tools/MeshGen.C" for both cases. When GAMer is called as a subroutine, it returns the
261 tetrahedral meshes into a data structure called GemMesh defined as follows (similar to the
262 mcsf format used in FETK):
263 <br />
264 <br />
265 <pre class="smallfonts" style="font-family: Courier New">
266 typedef struct {
267 int dim;
268 int dimii;
269 int vertices;
270 int simplices;
271 FETK_VX *vv;
272 FETK_SS *ss;
273 } GemMesh;
274 </pre>
275 <br />
276 where FETK_VX and FETK_SS are defined as:
277 <br />
278 <br />
279 <pre class="smallfonts" style="font-family: Courier New">
280 typedef struct {
281 int id;
282 int chrt;
283 float x;
284 float y;
285 float z;
286 } FETK_VX;
287 </pre>
288 <br />
289 <pre class="smallfonts" style="font-family: Courier New">
290 typedef struct {
291 int id;
292 int grp;
293 int mat;
294 int fa;
295 int fb;
296 int fc;
297 int fd;
298 int na;
299 int nb;
300 int nc;
301 int nd;
302 } FETK_SS;
303 </pre>
304 <br />
305 When GAMer is used as a stand-alone program, it writes the results into a file named "abc.pdb.output.out.m",
306 assuming that the input be named "abc.pdb". This format can be used directly in FETK. The output tetrahedra
307 may be given in three forms in case of the molecular mesh generation, where a large bounding sphere is used
308 around the molecule:
309 <br />
310 <br />
311 (1) The tetrahedral mesh is generated both inside and outside the molecule:
312 <br />
313 <pre class="smallfonts" style="font-family: Courier New">
314 Usage: GAMer abd.pdb 1
315 </pre>
316 <br />
317 (2) The tetrahedral mesh is generated only inside the molecule:
318 <br />
319 <pre class="smallfonts" style="font-family: Courier New">
320 Usage: GAMer abd.pdb 2
321 </pre>
322 <br />
323 (3) The tetrahedral mesh is generated only outside the molecule:
324 <br />
325 <pre class="smallfonts" style="font-family: Courier New">
326 Usage: GAMer abd.pdb 3
327 </pre>
328
329 <br />
330 <br />
331 <b>
332 How do I specify the active sites of a molecule?
333 </b>
334
335 <br />
336 <br />
337 one or more active sites may be specified for a molecule, such that the mesh generated
338 may be made denser near the active site than the mesh elsewhere and indexed differently.
339 To generate the mesh with active sites, one can use the following sample command:
340 <br />
341 <br />
342 <pre class="smallfonts" style="font-family: Courier New">
343 Usage: GAMer abd.pdb 1(2 or 3) active_site.dat,
344 </pre>
345 <br />
346 where the active_site.dat is defined by a list of spheres as follows:
347 <br />
348 <br />
349 <pre class="smallfonts" style="font-family: Courier New">
350 # First Line:
351 # # of active sites, and # of spheres in each active site
352 #
353 # The remaining lines are grouped by active sites.
354 # For each line of an active site:
355 # (x,y,z): coordinates of sphere centers
356 # (r): radius of the sphere
357 # (index): the index used to represent the active site
358 #
359 # Note that 2,4,5 have been reserved for other purposes
360 # So, don't use these numbers for index
361 #
362 n m
363 x11 y11 z11 r11 1
364 x12 y12 z12 r12 1
365 ...
366 x1m y1m z1m r1m 1
367 x21 y21 z21 r21 2
368 x22 y22 z22 r22 2
369 ...
370 x2m y2m z2m r2m 2
371 ....
372 ....
373 </pre>
374
375 <br />
376 <br />
377 <b>
378 How do I modify the "hidden" parameters in GAMer?
379 </b>
380
381 <br />
382 <br />
383 All the "hidden" parameters may be modified in the header "gamer/src/biom/gamer/biom.h".
384 We plan to expose some of these parameters in a later version using a graphical user interface.
385
386 <br />
387 <br />
388 <!-- ===================================================================== -->
389 <hr />
390 <br />
391
392 <b><a name="install">Installation Instructions</a></b>
393
394 <br />
395 <br />
396 <b>
397 Available distribution formats
398 </b>
399
400 <br />
401 <br />
402 GAMer is distributed in both binary format (as a binary RPM file
403 GAMer-VERSION.i386.rpm for i386-based versions of Linux) and in source
404 format (as a source RPM file GAMer-VERSION.src.rpm and as a gzipped tar
405 file "GAMer-VERSION.tar.gz").
406
407 <br />
408 <br />
409 <b>
410 Installation using the binary RPM file
411 </b>
412
413 <br />
414 <br />
415 The following rpm command will install all of the GAMer headers and libraries
416 into /usr/local/include and /usr/local/lib, and will install the GAMer
417 documentation into /usr/share/doc/packages/GAMer:
418 <br />
419 <br />
420 <pre class="smallfonts" style="font-family: Courier New">
421 rpm -Uvh GAMer-VERSION.i386.rpm
422 </pre>
423
424 <br />
425 <br />
426 <b>
427 Installation and rebuilding from sources using the source RPM file
428 </b>
429
430 <br />
431 <br />
432 The following rpm command will unpack the source rpm file
433 "GAMer-VERSON.src.rpm" into the GAMer gzipped tar file containing
434 the sources called "GAMer-VERSION.tar.tar.gz" and into a small RPM
435 spec file called "GAMer-VERSON.spec":
436 <br />
437 <br />
438 <pre class="smallfonts" style="font-family: Courier New">
439 rpm -Uvh GAMer-VERSION.src.rpm
440 </pre>
441 <br />
442 The sources can then be unpacked and built using the directions for
443 the gzipped tar file below.
444 Alternatively, the following rpm command will do these steps for you:
445 <br />
446 <br />
447 <pre class="smallfonts" style="font-family: Courier New">
448 rpm -bp GAMer-VERSION.spec
449 </pre>
450
451 <br />
452 <br />
453 <b>
454 Rebuilding binary and source RPM files from the gzipped tar file
455 </b>
456
457 <br />
458 <br />
459 The GAMer sources contain the RPM spec file "GAMer-VERSON.spec" in the
460 root source directory; as a result, rebuilding the RPM files from sources
461 can be done using the rpm command:
462 <br />
463 <br />
464 <pre class="smallfonts" style="font-family: Courier New">
465 rpm -ta GAMer-VERSION.tar.gz
466 </pre>
467 <br />
468 The result will be the corresponding source and binary rpm files,
469 named "GAMer-VERSON.src.rpm" and "GAMer-VERSION.i386.rpm".
470 Normally, these files are written to /usr/src/redhat/SRPMS
471 and /usr/src/redhat/RPMS respectively, but you must be logged in
472 as root for these to work.
473 The destination directories can be overriden using arguments to the
474 rpm program (see the rpm manpage).
475
476 <br />
477 <br />
478 <b>
479 Installation and building from sources using the gzipped tar file
480 </b>
481
482 <br />
483 <br />
484 The following command will
485 unpack GAMer into a number of subdirectories and files on any UNIX machine
486 (and on any WinNT machine with the GNU-Win32 tools gzip and tar).
487 <br />
488 <br />
489 <pre class="smallfonts" style="font-family: Courier New">
490 gzip -dc GAMer.tgz | tar xvf -
491 </pre>
492 <br />
493 GAMer is essentially a multilevel adaptive finite element "kernel". It is
494 designed to be easily extended through the use of extension packages which
495 are constructed on top of GAMer. The extension packages that I have written
496 such such as GAMergp (GAMer for Geometric PDEs) are also distributed as gzipped tar
497 files (e.g. "GAMergp.tgz"). The installation instructions for such extension
498 packages are identical to the instructions below for the GAMer kernel (e.g.,
499 substitute "GAMergp" for every occurance of "GAMer" below).
500
501 <br />
502 <br />
503 <b>
504 Building the package using the GNU "configure" shell script and "make"
505 </b>
506
507 <br />
508 <br />
509 The "configure" shell script in the "GAMer" directory (the toplevel
510 directory created when you unpacked the GAMer tgz file) will build the entire
511 package. This is a standard GNU autoconf-generated configuration script.
512 For a list of the possible configuration options, type:
513 <br />
514 <br />
515 <pre class="smallfonts" style="font-family: Courier New">
516 ./configure --help
517 </pre>
518 <br />
519 You should be able to build GAMer by simply typing:
520 <br />
521 <br />
522 <pre class="smallfonts" style="font-family: Courier New">
523 ./configure
524 make
525 make install
526 </pre>
527 <br />
528 However, it is often advantageous to keep the original source directory
529 pristine; the configure script can actually be run outside the source
530 tree, which will keep all files created by the build outside the source
531 tree. (This idea is related to the section below describing how to build
532 binaries for multiple architectures at the same time using the same source
533 tree, and requires that your version of make has the VPATH facility, such
534 as GNU make.) For example, I build GAMer in a separate directory from the
535 source tree as follows:
536 <br />
537 <br />
538 <pre class="smallfonts" style="font-family: Courier New">
539 gzip -dc GAMer.tgz | tar xvf -
540 mkdir GAMer_build
541 cd GAMer_build
542 ../GAMer/configure
543 make
544 make install
545 </pre>
546
547 <br />
548 <br />
549 <b>
550 Building binaries for multiple architectures in the same source directory
551 </b>
552
553 <br />
554 <br />
555 If you have a version of "make" that supports the VPATH facility (such as
556 any recent version of GNU make), then you can build the package for multiple
557 architectures in the same source directory (in fact, you can do the compiles
558 at the same time without collisions). This is very useful if you have your
559 home directory on an NFS volume that you share among multiple architectures,
560 such as SGI, Linux, etc. To build GAMer for all the systems at the same time,
561 you simply make an additional subdirectory in the main GAMer directory for
562 each architecture, copy "configure" into it, "cd" into the subdirectory, and
563 then install as above. For example, on a linux machine you would do the
564 following:
565 <br />
566 <br />
567 <pre class="smallfonts" style="font-family: Courier New">
568 mkdir linux
569 cp configure linux/.
570 cd linux
571 ./configure
572 make
573 make install
574 </pre>
575 <br />
576 If you mount the same NFS home directory on for example an OpenStep box,
577 you could at the same time do the following:
578 <br />
579 <br />
580 <pre class="smallfonts" style="font-family: Courier New">
581 mkdir next
582 cp configure next/.
583 cd next
584 ./configure
585 make
586 make install
587 </pre>
588 <br />
589 Again, both builds can actually be done outside the source tree rather
590 than in a subdirectory of the source tree, as described in the previous
591 section.
592
593 <br />
594 <br />
595 <b>
596 Rebuilding the configure script and the Makefile.in files
597 </b>
598
599 <br />
600 <br />
601 If for some reason you actually need to rebuild the configure script or the
602 Makefile.in files using the GNU autoconf suite, you should read the block of
603 documentation at the top of the configure.in file. The commentary I put there
604 explains exactly how the GNU autoconf suite must be used and in what order,
605 and exactly what files are produced at each step of the process. A script
606 called "bootstrap" which automates this process is located in the config
607 subdirectory of the GAMer source tree.
608
609 <br />
610 <br />
611 <b>
612 Platform-specific information
613 </b>
614
615 <br />
616 <br />
617 Below is some platform-specific build/usage information for GAMer.
618 <ul>
619 <li>Linux (Source: M. Holst, UCSD)
620 <br />
621 <br />
622 Things should work as described above.
623 <br />
624 <br />
625 </li>
626 <li>FreeBSD/NetBSD/OpenBSD (Source: M. Holst, UCSD)
627 <br />
628 <br />
629 Things should work as described above.
630 <br />
631 <br />
632 </li>
633 <li>OpenStep (Source: M. Holst, UCSD)
634 <br />
635 <br />
636 Things should just work, but you may have to set the CC environment
637 variable as follows before typing ./configure:
638 <br />
639 <pre class="smallfonts" style="font-family: Courier New">
640 export CC="/bin/cc"
641 </pre>
642 or you might need to use:
643 <br />
644 <pre class="smallfonts" style="font-family: Courier New">
645 export CC="/bin/cc -ObjC"
646 </pre>
647 <br />
648 </li>
649 <li>IRIX (Source: M. Holst, UCSD)
650 <br />
651 <br />
652 If you are on a 64-bit IRIX box such as an Onyx, Octane, or Origin,
653 set the CC environment variable as follows before typing ./configure:
654 <br />
655 <pre class="smallfonts" style="font-family: Courier New">
656 export CC="/bin/cc -64"
657 </pre>
658 If you are on a 32-bit IRIX box such as an O2 or Indy,
659 set the CC environment variable as follows before typing ./configure:
660 <br />
661 <pre class="smallfonts" style="font-family: Courier New">
662 export CC="/bin/cc -32"
663 </pre>
664 <br />
665 </li>
666
667 <li>Win32 (Source: M. Holst, UCSD)
668 <br />
669 <br />
670 Unless you have the Cygwin environment, you need to use one of the
671 included project file collections for one of the commercially
672 available ANSI C or C++ compilers for the Win32 environment.
673 </li>
674 </ul>
675
676 <br />
677 <b>
678 Debugging using the ElectricFence malloc debug library
679 </b>
680
681 <br />
682 <br />
683 To allow ElectricFence to intercept all calls to malloc, free, and
684 related dynamic memory allocation system calls, simply run the configure
685 script as follows:
686
687 <br />
688 <pre class="smallfonts" style="font-family: Courier New">
689 ./configure --enable-efence
690 make clean; make; make install
691 </pre>
692
693 <br />
694 <br />
695 <!-- ===================================================================== -->
696 <hr />
697 <br />
698
699 <b><a name="author">Author Information</a></b>
700
701 <br />
702 <br />
703 GAMer was developed primarily by Zeyun Yu in the Holst Research Group at UC San Diego.
704 Below is a credits list for the people that have
705 contributed to GAMer in one way or another.
706 The fields below follow the credits file format used in the
707 Linux kernel CREDITS file to allow for easy manipulation via shell scripts.
708 The fields are as follows:
709 <br />
710 <br />
711 <pre class="smallfonts" style="font-family: Courier New">
712 N: name of contributor
713 E: email address
714 W: web address
715 P: PGP key ID and fingerprint
716 D: description of primary contributions
717 S: snail-mail address
718 </pre>
719 <br />
720 <pre class="smallfonts" style="font-family: Courier New">
721 N: Zeyun Yu
722 E: [email protected]
723 D: GAMer/doc/* -- Package documentation (with M. Holst)
724 D: GAMer/examples/* -- Package examples (in progress)
725 D: GAMer/src/biom/* -- Main source code of GAMer
726 D: GAMer/tools/* -- Tools built on the libraries
727 S: Department of Mathematics
728 S: UC San Diego
729 S: La Jolla, CA 92093 USA
730
731 N: Michael Holst
732 E: [email protected]
733 W: http://ccom.ucsd.edu/~mholst
734 P: 1024/0xB5212DCD
735 D: Makefile* -- Makefiles for GAMer
736 D: GAMer/acconfig.h -- Platform abstraction information
737 D: GAMer/configure.in -- GNU autoconf/automake structure
738 D: GAMer/config/* -- GNU autoconf/automake shell scripts
739 D: GAMer/doc/* -- Package documentation (with Z. Yu)
740 D: GAMer/src/aaa_inc/* -- Library header build structure
741 D: GAMer/src/aaa_lib/* -- Static/shared library build structure
742 D: GAMer/src/base/* -- Foundation headers
743 S: Department of Mathematics
744 S: UC San Diego, AP&amp;M 5739
745 S: La Jolla, CA 92093 USA
746 </pre>
747
748 <br />
749 <br />
750 <b>
751 Software included in the GAMer source code package
752 </b>
753
754 <br />
755 <br />
756 A complete roadmap to the source code forming the GAMer package can be
757 found above. While the core GAMer functions were developed by
758 <a href="http://ccom.ucsd.edu/~zeyun/">Zeyun Yu</a>,
759 the following libraries are currently also included with GAMer:
760 <br />
761 <br />
762 <pre class="smallfonts" style="font-family: Courier New">
763 GAMer/src/tetgen/ -- Quality Tetrahedral Mesh Generator and
764 3D Delaunay Triangulator
765 (provided by Hang Si)
766 GAMer/src/triangle/ -- Two-Dimensional Quality Mesh Generator
767 and Delaunay Triangulator
768 (provided by Jonathan Richard Shewchuk)
769 </pre>
770
771 <br />
772 <br />
773 <b>
774 Contacting the Author
775 </b>
776
777 <br />
778 <br />
779 If you have questions or comments about GAMer, please feel free to contact
780 us at <a href="mailto:[email protected]">[email protected]</a> or <a href="mailto:[email protected]">[email protected]</a>.
781
782 <br />
783 <br />
784 <!-- ===================================================================== -->
785 <hr />
786 <br />
787
788 <b><a name="license">Copyright and Terms of Use</a></b>
789 <br />
790 <br />
791 Please acknowledge your use of <i>GAMer</i> by citing:
792 <ul>
793 <li> Z. Yu, M. Holst, Y. Cheng, and J.A. McCammon, Feature-Preserving Adaptive Mesh Generation for Molecular Shape Modeling and Simulation.
794 <i>Journal of Molecular Graphics and Modeling</i>,
795 <b>26(8)</b> (2008), pp. 1370-1380.
796 </li>
797 </ul>
798
799 <br />
800 This version of GAMer is distributed under the following guidelines:
801
802 <ul>
803 <li>
804 GAMer (Geometry-preserving Adaptive MeshER)
805 <br />
806 Copyright (C) 2007-- Zeyun Yu and Michael Holst
807
808 <br />
809 <br />
810 This program is free software; you can redistribute it and/or modify it
811 under the terms of the GNU General Public License as published by the
812 Free Software Foundation; either version 2 of the License, or (at your
813 option) any later version.
814
815 <br />
816 <br />
817 This program is distributed in the hope that it will be useful,
818 but WITHOUT ANY WARRANTY; without even the implied warranty of
819 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
820 See the GNU General Public License for more details.
821
822 <br />
823 <br />
824 You should have received a copy of the GNU General Public License along
825 with this program; if not, write to the Free Software Foundation, Inc.,
826 675 Mass Ave, Cambridge, MA 02139, USA.
827 </li>
828 </ul>
829
830 <br />
831 <!-- ===================================================================== -->
832 <hr />
833 <br />
834
835 <b><a name="gpl">GNU GPL</a></b>
836
837 <br />
838 <br />
839 The GPL (GNU General Public License) below is copyrighted by the
840 Free Software Foundation. However, the instance of software that
841 it refers to, my package in this case, is copyrighted by myself as
842 the author of the package. Any additional software that I distribute
843 with my software is copyrighted by the authors of those pieces of
844 software (see the individual source files for author information).
845 ---Zeyun Yu and Michael Holst
846
847 <br />
848 <br />
849 <!-- ===================================================================== -->
850
851 <pre class="smallFonts" style="font-family: Courier New">
852 GNU GENERAL PUBLIC LICENSE
853 Version 2, June 1991
854
855 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
856 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
857 Everyone is permitted to copy and distribute verbatim copies
858 of this license document, but changing it is not allowed.
859
860 Preamble
861
862 The licenses for most software are designed to take away your
863 freedom to share and change it. By contrast, the GNU General Public
864 License is intended to guarantee your freedom to share and change free
865 software--to make sure the software is free for all its users. This
866 General Public License applies to most of the Free Software
867 Foundation's software and to any other program whose authors commit to
868 using it. (Some other Free Software Foundation software is covered by
869 the GNU Library General Public License instead.) You can apply it to
870 your programs, too.
871
872 When we speak of free software, we are referring to freedom, not
873 price. Our General Public Licenses are designed to make sure that you
874 have the freedom to distribute copies of free software (and charge for
875 this service if you wish), that you receive source code or can get it
876 if you want it, that you can change the software or use pieces of it
877 in new free programs; and that you know you can do these things.
878
879 To protect your rights, we need to make restrictions that forbid
880 anyone to deny you these rights or to ask you to surrender the rights.
881 These restrictions translate to certain responsibilities for you if you
882 distribute copies of the software, or if you modify it.
883
884 For example, if you distribute copies of such a program, whether
885 gratis or for a fee, you must give the recipients all the rights that
886 you have. You must make sure that they, too, receive or can get the
887 source code. And you must show them these terms so they know their
888 rights.
889
890 We protect your rights with two steps: (1) copyright the software, and
891 (2) offer you this license which gives you legal permission to copy,
892 distribute and/or modify the software.
893
894 Also, for each author's protection and ours, we want to make certain
895 that everyone understands that there is no warranty for this free
896 software. If the software is modified by someone else and passed on, we
897 want its recipients to know that what they have is not the original, so
898 that any problems introduced by others will not reflect on the original
899 authors' reputations.
900
901 Finally, any free program is threatened constantly by software
902 patents. We wish to avoid the danger that redistributors of a free
903 program will individually obtain patent licenses, in effect making the
904 program proprietary. To prevent this, we have made it clear that any
905 patent must be licensed for everyone's free use or not licensed at all.
906
907 The precise terms and conditions for copying, distribution and
908 modification follow.
909
910 GNU GENERAL PUBLIC LICENSE
911 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
912
913 0. This License applies to any program or other work which contains
914 a notice placed by the copyright holder saying it may be distributed
915 under the terms of this General Public License. The "Program", below,
916 refers to any such program or work, and a "work based on the Program"
917 means either the Program or any derivative work under copyright law:
918 that is to say, a work containing the Program or a portion of it,
919 either verbatim or with modifications and/or translated into another
920 language. (Hereinafter, translation is included without limitation in
921 the term "modification".) Each licensee is addressed as "you".
922
923 Activities other than copying, distribution and modification are not
924 covered by this License; they are outside its scope. The act of
925 running the Program is not restricted, and the output from the Program
926 is covered only if its contents constitute a work based on the
927 Program (independent of having been made by running the Program).
928 Whether that is true depends on what the Program does.
929
930 1. You may copy and distribute verbatim copies of the Program's
931 source code as you receive it, in any medium, provided that you
932 conspicuously and appropriately publish on each copy an appropriate
933 copyright notice and disclaimer of warranty; keep intact all the
934 notices that refer to this License and to the absence of any warranty;
935 and give any other recipients of the Program a copy of this License
936 along with the Program.
937
938 You may charge a fee for the physical act of transferring a copy, and
939 you may at your option offer warranty protection in exchange for a fee.
940
941 2. You may modify your copy or copies of the Program or any portion
942 of it, thus forming a work based on the Program, and copy and
943 distribute such modifications or work under the terms of Section 1
944 above, provided that you also meet all of these conditions:
945
946 a) You must cause the modified files to carry prominent notices
947 stating that you changed the files and the date of any change.
948
949 b) You must cause any work that you distribute or publish, that in
950 whole or in part contains or is derived from the Program or any
951 part thereof, to be licensed as a whole at no charge to all third
952 parties under the terms of this License.
953
954 c) If the modified program normally reads commands interactively
955 when run, you must cause it, when started running for such
956 interactive use in the most ordinary way, to print or display an
957 announcement including an appropriate copyright notice and a
958 notice that there is no warranty (or else, saying that you provide
959 a warranty) and that users may redistribute the program under
960 these conditions, and telling the user how to view a copy of this
961 License. (Exception: if the Program itself is interactive but
962 does not normally print such an announcement, your work based on
963 the Program is not required to print an announcement.)
964
965 These requirements apply to the modified work as a whole. If
966 identifiable sections of that work are not derived from the Program,
967 and can be reasonably considered independent and separate works in
968 themselves, then this License, and its terms, do not apply to those
969 sections when you distribute them as separate works. But when you
970 distribute the same sections as part of a whole which is a work based
971 on the Program, the distribution of the whole must be on the terms of
972 this License, whose permissions for other licensees extend to the
973 entire whole, and thus to each and every part regardless of who wrote it.
974
975 Thus, it is not the intent of this section to claim rights or contest
976 your rights to work written entirely by you; rather, the intent is to
977 exercise the right to control the distribution of derivative or
978 collective works based on the Program.
979
980 In addition, mere aggregation of another work not based on the Program
981 with the Program (or with a work based on the Program) on a volume of
982 a storage or distribution medium does not bring the other work under
983 the scope of this License.
984
985 3. You may copy and distribute the Program (or a work based on it,
986 under Section 2) in object code or executable form under the terms of
987 Sections 1 and 2 above provided that you also do one of the following:
988
989 a) Accompany it with the complete corresponding machine-readable
990 source code, which must be distributed under the terms of Sections
991 1 and 2 above on a medium customarily used for software interchange; or,
992
993 b) Accompany it with a written offer, valid for at least three
994 years, to give any third party, for a charge no more than your
995 cost of physically performing source distribution, a complete
996 machine-readable copy of the corresponding source code, to be
997 distributed under the terms of Sections 1 and 2 above on a medium
998 customarily used for software interchange; or,
999
1000 c) Accompany it with the information you received as to the offer
1001 to distribute corresponding source code. (This alternative is
1002 allowed only for noncommercial distribution and only if you
1003 received the program in object code or executable form with such
1004 an offer, in accord with Subsection b above.)
1005
1006 The source code for a work means the preferred form of the work for
1007 making modifications to it. For an executable work, complete source
1008 code means all the source code for all modules it contains, plus any
1009 associated interface definition files, plus the scripts used to
1010 control compilation and installation of the executable. However, as a
1011 special exception, the source code distributed need not include
1012 anything that is normally distributed (in either source or binary
1013 form) with the major components (compiler, kernel, and so on) of the
1014 operating system on which the executable runs, unless that component
1015 itself accompanies the executable.
1016
1017 If distribution of executable or object code is made by offering
1018 access to copy from a designated place, then offering equivalent
1019 access to copy the source code from the same place counts as
1020 distribution of the source code, even though third parties are not
1021 compelled to copy the source along with the object code.
1022
1023 4. You may not copy, modify, sublicense, or distribute the Program
1024 except as expressly provided under this License. Any attempt
1025 otherwise to copy, modify, sublicense or distribute the Program is
1026 void, and will automatically terminate your rights under this License.
1027 However, parties who have received copies, or rights, from you under
1028 this License will not have their licenses terminated so long as such
1029 parties remain in full compliance.
1030
1031 5. You are not required to accept this License, since you have not
1032 signed it. However, nothing else grants you permission to modify or
1033 distribute the Program or its derivative works. These actions are
1034 prohibited by law if you do not accept this License. Therefore, by
1035 modifying or distributing the Program (or any work based on the
1036 Program), you indicate your acceptance of this License to do so, and
1037 all its terms and conditions for copying, distributing or modifying
1038 the Program or works based on it.
1039
1040 6. Each time you redistribute the Program (or any work based on the
1041 Program), the recipient automatically receives a license from the
1042 original licensor to copy, distribute or modify the Program subject to
1043 these terms and conditions. You may not impose any further
1044 restrictions on the recipients' exercise of the rights granted herein.
1045 You are not responsible for enforcing compliance by third parties to
1046 this License.
1047
1048 7. If, as a consequence of a court judgment or allegation of patent
1049 infringement or for any other reason (not limited to patent issues),
1050 conditions are imposed on you (whether by court order, agreement or
1051 otherwise) that contradict the conditions of this License, they do not
1052 excuse you from the conditions of this License. If you cannot
1053 distribute so as to satisfy simultaneously your obligations under this
1054 License and any other pertinent obligations, then as a consequence you
1055 may not distribute the Program at all. For example, if a patent
1056 license would not permit royalty-free redistribution of the Program by
1057 all those who receive copies directly or indirectly through you, then
1058 the only way you could satisfy both it and this License would be to
1059 refrain entirely from distribution of the Program.
1060
1061 If any portion of this section is held invalid or unenforceable under
1062 any particular circumstance, the balance of the section is intended to
1063 apply and the section as a whole is intended to apply in other
1064 circumstances.
1065
1066 It is not the purpose of this section to induce you to infringe any
1067 patents or other property right claims or to contest validity of any
1068 such claims; this section has the sole purpose of protecting the
1069 integrity of the free software distribution system, which is
1070 implemented by public license practices. Many people have made
1071 generous contributions to the wide range of software distributed
1072 through that system in reliance on consistent application of that
1073 system; it is up to the author/donor to decide if he or she is willing
1074 to distribute software through any other system and a licensee cannot
1075 impose that choice.
1076
1077 This section is intended to make thoroughly clear what is believed to
1078 be a consequence of the rest of this License.
1079
1080 8. If the distribution and/or use of the Program is restricted in
1081 certain countries either by patents or by copyrighted interfaces, the
1082 original copyright holder who places the Program under this License
1083 may add an explicit geographical distribution limitation excluding
1084 those countries, so that distribution is permitted only in or among
1085 countries not thus excluded. In such case, this License incorporates
1086 the limitation as if written in the body of this License.
1087
1088 9. The Free Software Foundation may publish revised and/or new versions
1089 of the General Public License from time to time. Such new versions will
1090 be similar in spirit to the present version, but may differ in detail to
1091 address new problems or concerns.
1092
1093 Each version is given a distinguishing version number. If the Program
1094 specifies a version number of this License which applies to it and "any
1095 later version", you have the option of following the terms and conditions
1096 either of that version or of any later version published by the Free
1097 Software Foundation. If the Program does not specify a version number of
1098 this License, you may choose any version ever published by the Free Software
1099 Foundation.
1100
1101 10. If you wish to incorporate parts of the Program into other free
1102 programs whose distribution conditions are different, write to the author
1103 to ask for permission. For software which is copyrighted by the Free
1104 Software Foundation, write to the Free Software Foundation; we sometimes
1105 make exceptions for this. Our decision will be guided by the two goals
1106 of preserving the free status of all derivatives of our free software and
1107 of promoting the sharing and reuse of software generally.
1108
1109 NO WARRANTY
1110
1111 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1112 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
1113 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1114 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1115 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1116 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
1117 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
1118 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1119 REPAIR OR CORRECTION.
1120
1121 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1122 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1123 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1124 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1125 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1126 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1127 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1128 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1129 POSSIBILITY OF SUCH DAMAGES.
1130
1131 END OF TERMS AND CONDITIONS
1132
1133 How to Apply These Terms to Your New Programs
1134
1135 If you develop a new program, and you want it to be of the greatest
1136 possible use to the public, the best way to achieve this is to make it
1137 free software which everyone can redistribute and change under these terms.
1138
1139 To do so, attach the following notices to the program. It is safest
1140 to attach them to the start of each source file to most effectively
1141 convey the exclusion of warranty; and each file should have at least
1142 the "copyright" line and a pointer to where the full notice is found.
1143
1144 (one line to give the program's name and a brief idea of what it does.)
1145 Copyright (C) 19yy &lt; name of author >
1146
1147 This program is free software; you can redistribute it and/or modify
1148 it under the terms of the GNU General Public License as published by
1149 the Free Software Foundation; either version 2 of the License, or
1150 (at your option) any later version.
1151
1152 This program is distributed in the hope that it will be useful,
1153 but WITHOUT ANY WARRANTY; without even the implied warranty of
1154 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1155 GNU General Public License for more details.
1156
1157 You should have received a copy of the GNU General Public License
1158 along with this program; if not, write to the Free Software
1159 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1160
1161
1162 Also add information on how to contact you by electronic and paper mail.
1163
1164 If the program is interactive, make it output a short notice like this
1165 when it starts in an interactive mode:
1166
1167 Gnomovision version 69, Copyright (C) 19yy name of author
1168 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1169 This is free software, and you are welcome to redistribute it
1170 under certain conditions; type `show c' for details.
1171
1172 The hypothetical commands `show w' and `show c' should show the appropriate
1173 parts of the General Public License. Of course, the commands you use may
1174 be called something other than `show w' and `show c'; they could even be
1175 mouse-clicks or menu items--whatever suits your program.
1176
1177 You should also get your employer (if you work as a programmer) or your
1178 school, if any, to sign a "copyright disclaimer" for the program, if
1179 necessary. Here is a sample; alter the names:
1180
1181 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1182 `Gnomovision' (which makes passes at compilers) written by James Hacker.
1183
1184 &lt; signature of Ty Coon >, 1 April 1989
1185 Ty Coon, President of Vice
1186
1187 This General Public License does not permit incorporating your program into
1188 proprietary programs. If your program is a subroutine library, you may
1189 consider it more useful to permit linking proprietary applications with the
1190 library. If this is what you want to do, use the GNU Library General
1191 Public License instead of this License.
1192 </pre>
1193
1194 <!-- ===================================================================== -->
1195 <!--#include virtual="../../include/tail.html"-->
1196 <!-- ===================================================================== -->