diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-10 04:30:48 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-10 04:30:48 +0000 |
commit | 0d192700438edfddda1e50499000bee27fcde14c (patch) | |
tree | 86dd94757b8f054fa24456246c63c0a9363a5d9f /math/tochnog | |
parent | 4756e915c949692266ccefa9d9859594e486b24f (diff) | |
download | pkgsrc-0d192700438edfddda1e50499000bee27fcde14c.tar.gz |
Initial import of tochnog:
Finite Element Analysis Program
Diffstat (limited to 'math/tochnog')
-rw-r--r-- | math/tochnog/Makefile | 36 | ||||
-rw-r--r-- | math/tochnog/files/md5 | 5 | ||||
-rw-r--r-- | math/tochnog/files/patch-sum | 4 | ||||
-rw-r--r-- | math/tochnog/patches/patch-aa | 41 | ||||
-rw-r--r-- | math/tochnog/patches/patch-ab | 12 | ||||
-rw-r--r-- | math/tochnog/pkg/COMMENT | 1 | ||||
-rw-r--r-- | math/tochnog/pkg/DESCR | 13 | ||||
-rw-r--r-- | math/tochnog/pkg/PLIST | 215 |
8 files changed, 327 insertions, 0 deletions
diff --git a/math/tochnog/Makefile b/math/tochnog/Makefile new file mode 100644 index 00000000000..13ba2dcabc8 --- /dev/null +++ b/math/tochnog/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/10 04:30:48 jtb Exp $ + +DISTNAME= tochnog-20010210 +CATEGORIES= math +MASTER_SITES= http://tochnog.sourceforge.net/ +DISTFILES= tn.tar.gz tnu.ps.gz tnp.ps.gz + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://tochnog.sourceforge.net + +DIST_SUBDIR= ${DISTNAME} +EXTRACT_ONLY= tn.tar.gz +WRKSRC= ${WRKDIR}/tochnog/src +MAKEFILE= makefile +ALL_TARGET= netbsd + +post-patch: + @${RM} -f ${WRKDIR}/test/*.orig ${WRKDIR}/tools/*.bat + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tochnog + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnu.ps.gz ${PREFIX}/share/doc/tochnog + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnp.ps.gz ${PREFIX}/share/doc/tochnog + ${INSTALL_DATA_DIR} ${PREFIX}/share/tochnog/test + @for f in ${WRKDIR}/tochnog/test/*; do \ + i="${INSTALL_DATA} $$f ${PREFIX}/share/tochnog/test/"; \ + ${ECHO} $$i; $$i; \ + done + ${INSTALL_DATA_DIR} ${PREFIX}/share/tochnog/tools + @for f in ${WRKDIR}/tochnog/tools/*; do \ + i="${INSTALL_DATA} $$f ${PREFIX}/share/tochnog/tools/"; \ + ${ECHO} $$i; $$i; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/math/tochnog/files/md5 b/math/tochnog/files/md5 new file mode 100644 index 00000000000..f1bf7acc9d8 --- /dev/null +++ b/math/tochnog/files/md5 @@ -0,0 +1,5 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/10 04:30:48 jtb Exp $ + +MD5 (tochnog-20010207/tn.tar.gz) = 381abc76445a76b55001e45810843fbc +MD5 (tochnog-20010207/tnu.ps.gz) = 673b13ca6f8a54b70852664b4ba293e0 +MD5 (tochnog-20010207/tnp.ps.gz) = b57e9aba63b8fe16a6cbb1436a34b9c1 diff --git a/math/tochnog/files/patch-sum b/math/tochnog/files/patch-sum new file mode 100644 index 00000000000..9ef96397162 --- /dev/null +++ b/math/tochnog/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/02/10 04:30:48 jtb Exp $ + +MD5 (patch-aa) = fbb6b17621e0722fcc00b1ed3ba993e2 +MD5 (patch-ab) = 79acaa8f1a5f8bebf540c7e31fa3cffe diff --git a/math/tochnog/patches/patch-aa b/math/tochnog/patches/patch-aa new file mode 100644 index 00000000000..e1c4b1f9797 --- /dev/null +++ b/math/tochnog/patches/patch-aa @@ -0,0 +1,41 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/10 04:30:48 jtb Exp $ + +--- makefile.orig Sun Jan 28 09:45:23 2001 ++++ makefile +@@ -21,7 +21,7 @@ + PROFILE= + + # *********** default environment ******************* +-SRC_CPP=cc ++SRC_CPP=$(CC) + SRC_C=c + SYS_FILE=sysother + BCPP=-P +@@ -65,7 +65,7 @@ + ALL_LIB= $(PETSC_LIB) $(SUPERLU_LIB) $(F2C) + + # *********** default platform ******************* +-default: linux_old ++default: netbsd + + # single and multi-processor windows; borland c++ compiler + # set SYS_FILE above to syswin32 for multi-processor +@@ -230,6 +230,18 @@ + "COMPILER_CPP=gcc" \ + "LINK_FLAGS_BEFORE=" \ + "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) -lstdcpp -lm -o tochnog" ++ ++netbsd: ++ make tochnog \ ++ "SYS_FILE=sysother" \ ++ "OBJ=o" \ ++ "BCPP=" \ ++ "VCPP=" \ ++ "COMPILER_C=$(CC)" \ ++ "COMPILER_CPP=$(CXX)" \ ++ "COMPILER_FLAGS=$(CFLAGS) -ansi -c $(PROFILE) $(ALL_INCLUDE)" \ ++ "LINK_FLAGS_BEFORE=" \ ++ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) -lm -o tochnog" + + tochnog: adjust.$(OBJ) area.$(OBJ) \ + beam.$(OBJ) bounda.$(OBJ) calcul.$(OBJ) \ diff --git a/math/tochnog/patches/patch-ab b/math/tochnog/patches/patch-ab new file mode 100644 index 00000000000..b8b38f1725f --- /dev/null +++ b/math/tochnog/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/10 04:30:48 jtb Exp $ + +--- ../test/makefile.orig Fri Feb 9 21:45:48 2001 ++++ ../test/makefile +@@ -1,6 +1,6 @@ + default: small + +-TN="../src/tochnog" ++TN=tochnog + + all: small large very_large + diff --git a/math/tochnog/pkg/COMMENT b/math/tochnog/pkg/COMMENT new file mode 100644 index 00000000000..4ff4c2754d6 --- /dev/null +++ b/math/tochnog/pkg/COMMENT @@ -0,0 +1 @@ +Finite Element Analysis Program diff --git a/math/tochnog/pkg/DESCR b/math/tochnog/pkg/DESCR new file mode 100644 index 00000000000..32102babb3e --- /dev/null +++ b/math/tochnog/pkg/DESCR @@ -0,0 +1,13 @@ +TOCHNOG is a free finite element program with many features. TOCHNOG +accepts free format input. Boundary conditions can be imposed at +geometrical entities, as well as nodes and elements. + +Among the FE models supported are: differential equations (materials), +convection-diffusion equations, Stokes and Navier-Stokes (fluids), +elasticity (isotropy and transverse isotropy), plasticity (Von-Mises, +Mohr-Coulomb, etc.; plastic surfaces can be arbitrarily +combined). Residues in equations and error estimates for all data can +be printed or plotted using gnuplot/plotmtv + +TOCHNOG supports a choice of description frames including Lagrangian, +Eulerian and arbitrary Eulerian-Lagrangian (AEL). diff --git a/math/tochnog/pkg/PLIST b/math/tochnog/pkg/PLIST new file mode 100644 index 00000000000..180fd15528e --- /dev/null +++ b/math/tochnog/pkg/PLIST @@ -0,0 +1,215 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/10 04:30:50 jtb Exp $ +bin/tochnog +share/doc/tochnog/tnp.ps.gz +share/doc/tochnog/tnu.ps.gz +share/tochnog/test/absorp1.dat +share/tochnog/test/axisym1.dat +share/tochnog/test/axisym2.dat +share/tochnog/test/axisym3.dat +share/tochnog/test/axisym4.dat +share/tochnog/test/axisym5.dat +share/tochnog/test/beam2d.dat +share/tochnog/test/beam2d_1.dat +share/tochnog/test/beam2d_2.dat +share/tochnog/test/beam3d.dat +share/tochnog/test/bimet1.dat +share/tochnog/test/blatz1.dat +share/tochnog/test/calcul1.dat +share/tochnog/test/calcul2.dat +share/tochnog/test/condif1.dat +share/tochnog/test/condif10.dat +share/tochnog/test/condif2.dat +share/tochnog/test/condif3.dat +share/tochnog/test/condif5.dat +share/tochnog/test/condif6.dat +share/tochnog/test/condif7.dat +share/tochnog/test/condif8.dat +share/tochnog/test/condif9.dat +share/tochnog/test/conspr1.dat +share/tochnog/test/conspr2.dat +share/tochnog/test/conspr3.dat +share/tochnog/test/conspr4.dat +share/tochnog/test/contac1.dat +share/tochnog/test/contac2.dat +share/tochnog/test/contac3.dat +share/tochnog/test/contac4.dat +share/tochnog/test/convec1.dat +share/tochnog/test/convec2.dat +share/tochnog/test/crack1.dat +share/tochnog/test/crack2.dat +share/tochnog/test/crack3.dat +share/tochnog/test/ctvmis1.dat +share/tochnog/test/ctvmis2.dat +share/tochnog/test/damage1.dat +share/tochnog/test/dataput1.dat +share/tochnog/test/delete1.dat +share/tochnog/test/dens1.dat +share/tochnog/test/depend1.dat +share/tochnog/test/diprisc1.dat +share/tochnog/test/disk1.dat +share/tochnog/test/disk2a.dat +share/tochnog/test/distri1.dat +share/tochnog/test/druckpr1.dat +share/tochnog/test/eigen1.dat +share/tochnog/test/eigen3.dat +share/tochnog/test/elasti1.dat +share/tochnog/test/elasti2.dat +share/tochnog/test/elasti3.dat +share/tochnog/test/elasti4.dat +share/tochnog/test/examp1.dat +share/tochnog/test/examp10.dat +share/tochnog/test/examp11.dat +share/tochnog/test/examp12.dat +share/tochnog/test/examp13.dat +share/tochnog/test/examp14.dat +share/tochnog/test/examp15.dat +share/tochnog/test/examp16.dat +share/tochnog/test/examp17.dat +share/tochnog/test/examp18.dat +share/tochnog/test/examp19.dat +share/tochnog/test/examp2.dat +share/tochnog/test/examp20.dat +share/tochnog/test/examp22.dat +share/tochnog/test/examp23.dat +share/tochnog/test/examp24.dat +share/tochnog/test/examp3.dat +share/tochnog/test/examp4.dat +share/tochnog/test/examp5.dat +share/tochnog/test/examp6.dat +share/tochnog/test/examp7.dat +share/tochnog/test/examp8.dat +share/tochnog/test/examp9.dat +share/tochnog/test/expans1.dat +share/tochnog/test/expans2.dat +share/tochnog/test/force1.dat +share/tochnog/test/force2.dat +share/tochnog/test/force3.dat +share/tochnog/test/force4.dat +share/tochnog/test/force5.dat +share/tochnog/test/genera1.dat +share/tochnog/test/genera2.dat +share/tochnog/test/ground1.dat +share/tochnog/test/ground2.dat +share/tochnog/test/ground3.dat +share/tochnog/test/ho_heat1.dat +share/tochnog/test/ho_heat2.dat +share/tochnog/test/ho_mech1.dat +share/tochnog/test/ho_mech2.dat +share/tochnog/test/ho_mech3.dat +share/tochnog/test/ho_mech4.dat +share/tochnog/test/ho_othr1.dat +share/tochnog/test/ho_othr2.dat +share/tochnog/test/ho_othr3.dat +share/tochnog/test/ho_othr4.dat +share/tochnog/test/hypo1.dat +share/tochnog/test/hypo2.dat +share/tochnog/test/hypo3.dat +share/tochnog/test/hypo4.dat +share/tochnog/test/incnav1.dat +share/tochnog/test/incnav2.dat +share/tochnog/test/incnav3.dat +share/tochnog/test/incnav4.dat +share/tochnog/test/incnav5.dat +share/tochnog/test/interac1.dat +share/tochnog/test/inver1.dat +share/tochnog/test/inver2.dat +share/tochnog/test/inver3.dat +share/tochnog/test/makefile +share/tochnog/test/matrix1.dat +share/tochnog/test/matrix2.dat +share/tochnog/test/matrix3.dat +share/tochnog/test/matrix4.dat +share/tochnog/test/matrix5.dat +share/tochnog/test/matrix6.dat +share/tochnog/test/matrix7.dat +share/tochnog/test/matrix8.dat +share/tochnog/test/matrix9.dat +share/tochnog/test/membran1.dat +share/tochnog/test/membran2.dat +share/tochnog/test/merge1.dat +share/tochnog/test/mohrcou1.dat +share/tochnog/test/mohrcou2.dat +share/tochnog/test/mohrcou3.dat +share/tochnog/test/mohrcou4.dat +share/tochnog/test/nodfor1.dat +share/tochnog/test/petsc1.dat +share/tochnog/test/post1.dat +share/tochnog/test/post2.dat +share/tochnog/test/post3.dat +share/tochnog/test/post4.dat +share/tochnog/test/post5.dat +share/tochnog/test/post6.dat +share/tochnog/test/pridbs.dat +share/tochnog/test/radiate1.dat +share/tochnog/test/radiate2.dat +share/tochnog/test/refine1.dat +share/tochnog/test/refine2.dat +share/tochnog/test/refine3.dat +share/tochnog/test/refine4.dat +share/tochnog/test/refine5.dat +share/tochnog/test/remesh1.dat +share/tochnog/test/repeat1.dat +share/tochnog/test/repeat2.dat +share/tochnog/test/silo1.dat +share/tochnog/test/skip1.dat +share/tochnog/test/slide1.dat +share/tochnog/test/slope.dat +share/tochnog/test/soften1.dat +share/tochnog/test/spring1.dat +share/tochnog/test/spring2.dat +share/tochnog/test/spring3.dat +share/tochnog/test/spring4.dat +share/tochnog/test/spring5.dat +share/tochnog/test/strconv1.dat +share/tochnog/test/taylor3.dat +share/tochnog/test/temp1.dat +share/tochnog/test/temp2.dat +share/tochnog/test/temp3.dat +share/tochnog/test/temp4.dat +share/tochnog/test/temp5.dat +share/tochnog/test/tendon1.dat +share/tochnog/test/tendon10.dat +share/tochnog/test/tendon2.dat +share/tochnog/test/tendon3.dat +share/tochnog/test/tendon4.dat +share/tochnog/test/tendon6.dat +share/tochnog/test/tendon7.dat +share/tochnog/test/tendon8.dat +share/tochnog/test/tension1.dat +share/tochnog/test/tet10.dat +share/tochnog/test/total1.dat +share/tochnog/test/total2.dat +share/tochnog/test/total3.dat +share/tochnog/test/transv1.dat +share/tochnog/test/tria6.dat +share/tochnog/test/trubea1.dat +share/tochnog/test/trubea2.dat +share/tochnog/test/trubea3.dat +share/tochnog/test/trubea4.dat +share/tochnog/test/truss1.dat +share/tochnog/test/truss2.dat +share/tochnog/test/truss3.dat +share/tochnog/test/truss4.dat +share/tochnog/test/truss5.dat +share/tochnog/test/truss6.dat +share/tochnog/test/truss7.dat +share/tochnog/test/trussbea.dat +share/tochnog/test/tube1.dat +share/tochnog/test/update1.dat +share/tochnog/test/visc_pl1.dat +share/tochnog/test/visc_pl2.dat +share/tochnog/test/viscel1.dat +share/tochnog/test/viscos1.dat +share/tochnog/test/volume1.dat +share/tochnog/test/volume2.dat +share/tochnog/test/vonmis1.dat +share/tochnog/test/vonmis2.dat +share/tochnog/test/wave1.dat +share/tochnog/tools/aba2tn.cc +share/tochnog/tools/gmsh2tn.awk +share/tochnog/tools/mkansys.awk +share/tochnog/tools/mkgmsh.awk +@dirrm share/tochnog/test +@dirrm share/tochnog/tools +@dirrm share/tochnog +@dirrm share/doc/tochnog |