head	1.3;
access;
symbols
	charm6_1:1.3
	charm_6_0_1:1.3
	charm6_0_1:1.3
	charm6_0:1.3
	ChaNGa_1-0:1.3
	charm5_9:1.3;
locks; strict;
comment	@# @;


1.3
date	2004.01.23.19.43.07;	author olawlor;	state Exp;
branches;
next	1.2;

1.2
date	2003.12.03.19.54.59;	author wilmarth;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.03.19.22.47;	author olawlor;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Much simpler interface: now you get nodes A, B, and C instead
of (bizarre) values used to describe nodes.
@
text
@This is a triangle mesh refinement library,
and pgm.C is a (poor) example code.

1. Get charm from CVS or wherever.  Build FEM for your system.  For example,
   for me, I type:
   build FEM net-linux -g

The -g is for debugging.

2. cd net-linux/tmp/libs/ck-libs/tmr

3. Build the program and library with 'make'.

4. Run it with 'charmrun pgm +vp1'.  If everything is working,
it will run forever, refining the mesh.

5. You could also try using NetFEM to visualize it.  Download
netfem_client_linux_3.tgz from
http://charm.cs.uiuc.edu/research/fem/netfem/.  Unzip and untar this.
In the resulting directory, there will be a bin dir with 'netfem'
binary in it.  First run the sample program in one window: 
charmrun pgm +vp1 ++server ++server-port 1234 

5b. Then run 'netfem' in another window.  A dialog box will pop up asking
for where your running your FEM program.  If you are on the same
machine, the default value should work: localhost:1234.

5c. A view window and a controller window will pop up.  Play around
with it.  Hit update repeatedly to see how the mesh is changing.

@


1.2
log
@Expanded with info on running, and using NetFEM.
@
text
@a3 5
You'll have to run the program with at least
+vp2, because it depends on having at least two
virtual processors. (I think this should work with 1 vp now -- Terry).


d10 1
a10 2
2. Get fem_tmr8.tar and untar it.  
   tar xvf fem_tmr8.tar
d12 1
a12 2
3. Change directory to fem_tmr8 and edit the Makefile so that CHARMC (the 
   second line) has the proper path to your charm installation.
d14 2
a15 1
4. Build the program with 'make'.
d17 1
a17 5
5. Run it with 'charmrun pgm +vp1'.  Right now it doesn't appear to
exit gracefully...  Try it also with +vp2.  I think it gets weird with
+vp higher than 2.

6. Now try using NetFEM to visualize it.  Download
d24 1
a24 1
7. Then run 'netfem' in another window.  A dialog box will pop up asking
d28 1
a28 1
8. A view window and a controller window will pop up.  Play around
d30 1
@


1.1
log
@Added Terry's 2d Triangle Mesh Refinement code.
@
text
@d6 34
a39 1
virtual processors.
@

