1 The Netgen 4.3 from the web location : http://www.hpfem.jku.at/netgen/ is used
2 in the SMESH Module of Salome2 distribution.
4 Assumptions on the Netgen installation
5 --------------------------------------
7 The SMESH Engine of SALOME2 (particularly the m4 file check_Netgen.m4) assume
8 that Netgen is installed in the directory <netgen_installation_path> as follow:
10 prompt> ls <netgen_installation_path>
12 bin/ cshrc_for_netgen doc/ include/ lib/ tutorials/
14 prompt> ls <netgen_installation_path>/bin
18 prompt> ls <netgen_installation_path>/bin/LINUX/
20 demoapp/ ng ng.tcl ngtcltk/ startup.tcl
22 prompt> ls <netgen_installation_path>/bin/LINUX/demoapp/
26 prompt> ls <netgen_installation_path>/bin/LINUX/ngtcltk/
28 dialog.tcl menustat.tcl ngicon.tcl parameters.tcl
29 drawing.tcl nghelp.tcl ngvisual.tcl variables.tcl
31 prompt> ls <netgen_installation_path>/doc/
35 prompt> ls <netgen_installation_path>/include/
39 prompt> ls <netgen_installation_path>/lib/
43 prompt> ls <netgen_installation_path>/lib/LINUX/
45 libcsg.a libgeom2d.a libla.a libnginterface.a libstlgeom.a
46 libgen.a libgprim.a libmesh.a libopti.a libvis.a
48 prompt> ls <netgen_installation_path>/tutorials/
50 boxcyl.geo cylinder.geo ficherea.geo part1.stl square.in2d
51 cone.geo cylsphere.geo hinge.stl sculpture.geo trafo.geo
52 cubeandspheres.geo demo2d.in2d lshape3d.geo shaft.geo twobricks.geo
53 cube.geo ellipsoid.geo manyholes.geo sphere.geo twocubes.geo
54 cubemcyl.geo ellipticcyl.geo matrix.geo sphereincube.geo twocyl.geo
57 All *.tcl files are needed to control and initiate the Netgen mesher throughout its
58 MHI (Machine Human Interface).<netgen_installation_path>/bin/LINUX/ng is the Netgen
59 executable with its embarked MHI. All the libraries *.a should be compiled without
60 the option -DOPENGL which is only needed for the Netgen MHI. netgen43 is assumed to
61 be the directory downloaded from the above web location archive of Netgen. The library
62 <netgen_installation_path>/lib/LINUX/libnginterface.a should contain the objects
63 nglib.o (from netgen43/libsrc/interface/nglib.cpp) and ngnewdelete.o
64 (from netgen43/ngtcltk/ngnewdelete.cpp).
66 To have that kind of distribution from the version in the above web location you
67 should first compile Netgen as suggested in the netgen43/README.INSTALL file. It will
68 then produce the executable ng linked statically with the libraries *.a. Then modify
69 the Makefiles to remove -DOPENGL from compiler flags list, add the objects nglib.o
70 and ngnewdelete.o to the library libnginterface.a and recompile the libraries only.
72 From the above web location perhaps, you will have to alter some Netgen sources to
73 compile them; if you find any difficulties to do that, just ask me.
77 ********************************
79 * Ingénieur-chercheur *
80 * Engineer-Researcher *
83 * DEN/DM2S/SFME/LGLS *
85 * 91191 Gif-Sur-Yvette cédex *
87 * Tél: +33 (0)1 69 08 73 07 *
88 * Fax: +33 (0)1 69 08 96 96 *
89 * email: nadir.bouhamou@cea.fr *
90 ********************************