VERSION 2.14c 
WARNING in edit the 
1) change the type mesh in msh_emc2 (default type)
2) and the new type mesh is a bd file like in bamg 


For compiling 
 edit the Makefile and change the variables:
pour la version francaise 
FRENCH =  -DFRENCH
by default english version 
# on  hp9000s700 
or use  the compilation script in english
warning the translation is no total , sorry.

build.aix
build.alpha
build.hpux
build.linux
build.sgi
build.sun
build.darwin 

compilation en francais:

fabrication.aix    
fabrication.hpux   
fabrication.sgi
fabrication.alpha  
fabrication.linux  
fabrication.sun
fabrication.darwin 

qui definissent les variables de compilation

BIN=/usr/local/bin
X11INCLUDEDIR=/usr/include/X11R5
X11LIBDIR=/usr/lib/X11R5
X11LIB= -L$(X11LIBDIR)  -lX11
CFLAGS=-O -D_HPUX_SOURCE $(FRENCH)
CC=c89 

on MacOS <10  use the CodeWarrior Pro5 compiler project 
and remove the two folders p_lhp700 u_hp700 

and change in file define-mac.h for french or english 
comment the #define FRENCH line or add

un use the emc2.mac.sea a self extracting arching of the codewarroir project

On MacOS > 9  use de build.darwin ou fabrication.darwin 
but in this case you get a X11 version 



2) edit the shell script prf_f3d  ou Unix computer other computer  no print
  this script is used to print the postscript file (softcopy)
  and to print the X11 window dump (hardcopy)
 
2) gmake
remark: on some compute the classique make have some pb,
to much routines

3) gmake install

test 
./emc2


remark: I can also get a fortran version in modulef

 If any probleme send a email to

Frederic.hecht@inria.fr

Testes  on:
HP 90000/735
DEC ALPHA 
SGI
AIX
Linux
FreeBSD
MacOS < 9
MacOS 10.3  (gcc 3.3)
sunos 4.1.2


Change:
06/03/96: change in f3d replace of all in  f3d/p_x11
from a new fortran version for correct some mouse trouble
Jeudi 11 avril 1996 17:58:32: change of int by long in f3x/p_x11/x11device for dec alpha
961108: change the file f2h.h for dec alpha 
#ifdef __alpha
typedef double real;
#else
typedef float real;
#endif
because the sizeof(integer) must be equal to sizeof(real)
and for AIX

#undef  abs
#undef  dabs
#undef  min
#undef  max

961205: add a new type of formatted mesh for
traingles and quadrangles: prefix.ftq

 read (nf,*) nbs,nbe,nbt,nbq
 do i=1,nbe
   read (nf,*)  typee(i),(nu(j,i),j=1,typee(i)),refe(i)
 enddo
 do i=1,nbs
  read (nf,*) (c(i,j),j=1,2),refs(i),i=1,nbs)
 enddo

 where
   nbs: nb of vertices
   nbs: nb of elements = nbt+ nbq
   nbt: nb of triangles
   nbq: nb of quadrangle
   typee(1:nbe) = 3 or 4 type of the element (resp. tria or quad)
   nu(1:4,1:nbe) = the 3 or 4 vertex of the element 
   refs(1:nbs) = the ref number for physics by vertex
   refe(1:nbe) = the ref number for physics by element

961210:  change in all f3d for sgi 
the probleme is 
Warning: f3d/libf3d.a(clip.o): f3d1_: multiply defined
        previous (used) definition from 'f3d/libf3d.a';
        new (ignored) definition from 'f3d/libf3d.a'

recompile all the source with  f2c -A -a -ec 
to put all the common on extern and a routine for
each common

le 13 mars 1997 pour les suns 
ajoute en tete de emc2_h.h
#include <stdio.h> sur sun4
car assert() genere des fprintf(stderr,....)



980519: change x11device.c
  correct some bug  on truecolor visual

980529: change in order of include due to PB with egcs gnu compiler on linux
-rw-r--r--   1 hecht      gamma        11025 mai 29 17:52 lread.c
-rw-r--r--   1 hecht      gamma         6264 mai 29 17:52 err.c
-rw-r--r--   1 hecht      gamma         8357 mai 29 17:51 rdfmt.c
-rw-r--r--   1 hecht      gamma         4030 mai 29 17:51 wref.c

980702:  change  in emc2.c, bug with -m argument 

991110:  change  to  recompile on MacOs small change in f2c lib
the cpp defines are  in file define-mac.h
+ correct a bug for writting mesh in ftq format in edit mesh
and add new type of mesh  
1) change the type mesh in type  msh_emc2 (default type)
2) and the new type mesh is a bd file like in bamg 

20000112: change in  file libemc2msh2.c et libemc2_11.c
 bug some time when writing mesh file undex linux 
change
#define xwork & ((real *)bdwrk1_1)
in
#define xwork ((real *)bdwrk1_1.work)


20000126: correct for dec-alpha
because   integer is long   and real is double
in  f3d/p-x11 in file 
x11device.c and perifx11.c

20000319: correct some bug in ref when
writing .msh file (v2.14c) + postscript on mac

20030210: make a darwin version and a correct carbon version 
working on MacOs 10.2 

20040318: make a darwin version (build.darwin) working on 10.3 

