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


1.4
date	2004.04.02.21.46.45;	author schak;	state Exp;
branches;
next	1.3;

1.3
date	2004.03.23.21.31.21;	author schak;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.4
log
@femrefine and femrefinef are now headers
@
text
@OPTS=-g
CHARMDIR=../../../..
CHARMC=$(CHARMDIR)/bin/charmc $(OPTS) 

OBJS=cst_nl.o pgm.o 

DEST=$(CHARMDIR)/lib/libmodulerefine.a
LOBJS=refine.o tri.o femrefine.o
HEADERS=refine.h refinef.h femrefine.h femrefinef.h

all: $(DEST) pgm

pgm: $(DEST) $(OBJS)
	$(CHARMC) -L. -o pgm $(OBJS) -language fem -module netfem -module refine -memory paranoid

pgm.o: pgm.C pgm.h
	$(CHARMC) -c pgm.C

cst_nl.o: cst_nl.C pgm.h
	$(CHARMC) -c cst_nl.C

$(DEST): $(LOBJS) $(HEADERS)
	$(AR) cr $@@ $(LOBJS)
	cp $(HEADERS) $(CHARMDIR)/include/

refine.o: refine.C refine.h tri.h
	$(CHARMC) -c refine.C

femrefine.o: femrefine.C femrefine.h refine.h
	$(CHARMC) -c femrefine.C

tri.o: tri.C tri.h 
	$(CHARMC) -c tri.C

tri.h: refine.decl.h

refine.decl.h: tri.ci
	$(CHARMC) tri.ci	

clean:
	rm -f pgm fpgm *~ *.o *.decl.h *.def.h conv-host charmrun $(OBJS)
@


1.3
log
@The FEM_REFINE2D methods to refine the FEM mesh
@
text
@d9 1
a9 1
HEADERS=refine.h refinef.h
@


1.2
log
@Much simpler interface: now you get nodes A, B, and C instead
of (bizarre) values used to describe nodes.
@
text
@d1 1
a1 1
OPTS=-g -Wall
d8 1
a8 1
LOBJS=refine.o tri.o
d14 1
a14 1
	$(CHARMC) -L. -o pgm $(OBJS) -language fem -module netfem -module refine
d28 3
@


1.1
log
@Added Terry's 2d Triangle Mesh Refinement code.
@
text
@d5 1
a5 1
OBJS=libmodulerefine.a cst_nl.o pgm.o 
d7 1
d9 1
d11 1
a11 1
all: pgm
d13 1
a13 1
pgm: $(OBJS)
d22 1
a22 1
libmodulerefine.a: $(LOBJS)
d24 1
@

