the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: netgen
Version: 4.4
Revision: 12
Architecture: powerpc
Source: http://www.hpfem.jku.at/netgen/ngs44.tar.gz
Source-MD5: ec0519fb348d4af48c42cd018ee2baee
SourceDirectory: ngs44
License: LGPL
GCC: 3.3
Depends: tcltk, tix-shlibs (>= 8.4.3-1001)
BuildDepends: x11-dev, tcltk-dev, gcc3.3, tix (>= 8.4.3-1001)
PatchScript: <<
#!/bin/sh -ev
sed -e 's|CPLUSPLUSFLAGS2.*|CPLUSPLUSFLAGS2 = -g -O2 -I/usr/X11R6/include -I%p/include -DDARWIN -DOPENGL -DNGSOLVE|g' \
-e 's|LINKFLAGS2.*|LINKFLAGS2 = -lstdc++ -L/usr/X11R6/lib -L%p/lib -framework OpenGL -framework Accelerate|g ' \
-e 's|^CPLUSPLUS=.*|CPLUSPLUS=$(CXX)|g' \
-e 's|^LINK=.*|LINK=$(CXX)|g' \
libsrc/makefile.mach.LINUX > libsrc/makefile.mach.DARWIN
echo >> libsrc/makefile.mach.DARWIN <
goalngs = goalngs
EOF
perl -pi.bak -e 's|(&& TK_RELEASE_SERIAL==6)|//$1|g' togl/togl.cpp
perl -pi.bak -e 's|.*(extern.*matherr.*)|$1|g' ngtcltk/ngappinit.cpp
perl -pi.bak -e 's|ltix8.1.8.4|ltix8.4|' Makefile
<<
SetCXX: g++-3.3
CompileScript: <<
make MACHINE=DARWIN
<<
InstallScript: <<
mkdir -p %i/lib/%n/ngtcltk
cp ng %i/lib/%n
mkdir -p %i/bin
ln -s %p/lib/%n/ng %i/bin/ng
cp -pR demoapp ngsolve tutorials %i/lib/%n
rm -rf %i/lib/%n/ngsolve/{README.INSTALL,lecture_notes}
cp -p *.tcl %i/lib/%n
cp -p ngtcltk/*.tcl %i/lib/%n/ngtcltk
<<
DocFiles: LGPL README.INSTALL VERSION doc/ng4.pdf
RuntimeVars: NETGENDIR: %p/lib/%n
Splitoff: <<
Package: %N-doc
Files: lib/%N/demoapp lib/%N/ngsolve/{Makefile,basiclinalg,comp,doc++,fem,include,lapack,linalg,multigrid,ngs_defines.hpp,ngsolve.cpp,ngstd,solve,tutorial}
DocFiles: LGPL ngsolve/README.INSTALL VERSION ngsolve/lecture_notes/notes.pdf
Description: Documented source code for NETGEN/NGSolve
<<
Description: 3D mesh generator and Finite Element solver
DescDetail: <<
NETGEN/NGSolve is a complete 3d finite element package.
NETGEN is an automatic 3d tetrahedral mesh generator.
It accepts input from constructive solid geometry (CSG) or
boundary representation (BRep) from STL file format.
The connection to a geometry kernel allows the handling of
IGES and STEP files. NETGEN contains modules for mesh optimization
and hierarchical mesh refinement.
NGSolve is a general purpose 3D finite element solver.
Version 1.x supports scalar (heat flow), elasticity and magnetic
field problems. The package provides C++ source code such that
more advanced problem solvers can be built around it.
NGSolve performs adaptive mesh refinement, the matrix equations are
solved by optimal order multigrid methods.
NETGEN/NGSolve was developed mainly by Joachim Schoeberl within project
grants from the Austrian Science Fund FWF ( Special Research Project
"Numerical and Symbolic Scientific Computing",
Start Project "hp-FEM") at the Johannes Kepler University Linz.
Significant contributions were made by Johannes Gerstmayr
(STL geometry) and Robert Gaisbauer (OpenCascade interface).
<<
DescUsage: <<
The binary is "ng".
Run it from a directory where you have write permission, it
writes to a file ngs.ini in the current directory.
Example geometries are found in /sw/lib/netgen/tutorials.
Example pde files are in /sw/lib/netgen/ngsolve/pde_tutorial.
The directory /sw/lib/netgen/ngsolve contains further documentation
in html format in the doc folder.
Documentation in pdf Format is in the file /sw/share/doc/netgen/ng4.pdf.
If you install the netgen-doc splitoff, you have the complete source
code of ngsolve in /sw/lib/netgen/ngsolve with documentation in
the doc++ folder,
and /sw/share/doc/netgen-doc/notes.pdf contains notes of a course on
"Scientific Computing ? Software Concepts for Solving
Partial Differential Equations" by Joachim Schoeberl.
For further documentation, please visit the Web site.
<<
DescPackaging: <<
This version is compiled with g++-3.3, even in the 10.4 tree. If it is
ever updated to a more recent compiler, any packages which depend on
this one must be updated at the same time.
<<
DescPort: <<
This version uses -g -O2 as compiler flags to facilitate debugging.
From the pde_tutorial examples I am getting segmentation faults at
the end of the solution procedure. If you have an idea why this is
so, please write me. M.C.
<<
Maintainer: Martin Costabel
Homepage: http://www.hpfem.jku.at/netgen/