mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
ElmerSolver - the Solution of Partial Differential Equations.
ElmerSolver is thus an independent module that processes the computational mesh and the model input file containing references to the selected equations and model parameters. ElmerSolver makes the equations into a discrete form, handles coupled systems, non-linearities and time-dependences, and provides output data for visualization. Submitted by: Pedro F. Giffuni <giffunip@asme.org>
This commit is contained in:
parent
66268ff733
commit
4d719d4755
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160359
@ -18,6 +18,7 @@
|
||||
SUBDIR += devisor
|
||||
SUBDIR += dft++
|
||||
SUBDIR += elmer-eio
|
||||
SUBDIR += elmer-fem
|
||||
SUBDIR += elmer-hutiter
|
||||
SUBDIR += elmer-matc
|
||||
SUBDIR += elmer-meshgen2d
|
||||
|
49
science/elmer-fem/Makefile
Normal file
49
science/elmer-fem/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: elmer-fem
|
||||
# Date created: 5 Jan 2006
|
||||
# Whom: Pedro Giffuni <giffunip@asme.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fem
|
||||
PORTVERSION= 5.0.2
|
||||
CATEGORIES= science tk84
|
||||
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
|
||||
PKGNAMEPREFIX= elmer-
|
||||
|
||||
MAINTAINER= giffunip@asme.org
|
||||
COMMENT= FEM solver for use in the ELMER FEM package
|
||||
|
||||
BUILD_DEPENDS= ${FC}:${PORTSDIR}/lang/gfortran \
|
||||
${LOCALBASE}/lib/libmatc.a:${PORTSDIR}/science/elmer-matc \
|
||||
${LOCALBASE}/lib/libblas.a:${PORTSDIR}/math/elmer-mathlibs \
|
||||
${LOCALBASE}/lib/liblapack.a:${PORTSDIR}/math/elmer-mathlibs \
|
||||
${LOCALBASE}/lib/libumfpack.a:${PORTSDIR}/math/elmer-umfpack \
|
||||
${LOCALBASE}/lib/libeiof.a:${PORTSDIR}/science/elmer-eio \
|
||||
${LOCALBASE}/lib/libhuti.a:${PORTSDIR}/science/elmer-hutiter
|
||||
RUN_DEPENDS= ${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerGrid:${PORTSDIR}/science/elmergrid \
|
||||
${MACHINE_ARCH}-portbld-freebsd${OSREL}-Mesh2D:${PORTSDIR}/science/elmer-meshgen2d
|
||||
|
||||
USE_GCC= 4.1+
|
||||
WITH_FORTRAN= yes
|
||||
FC= ${LOCALBASE}/bin/gfortran41
|
||||
F77= ${FC}
|
||||
|
||||
USE_AUTOTOOLS= autoconf:259
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET=
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
DATADIR= ${PREFIX}/share/elmersolver
|
||||
PLIST_SUB= ARCH=${MACHINE_ARCH}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
||||
CFLAGS+= -fPIC
|
||||
FCFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
science/elmer-fem/distinfo
Normal file
3
science/elmer-fem/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (fem-5.0.2.tar.gz) = 562bb027d64ed049bd874c2da72ee47a
|
||||
SHA256 (fem-5.0.2.tar.gz) = 58d1ec237ae46f162543c3981b292f5796a24363c7208064d2b8b283b8dd00ff
|
||||
SIZE (fem-5.0.2.tar.gz) = 4142887
|
11
science/elmer-fem/files/patch-acx_elmer.m4
Normal file
11
science/elmer-fem/files/patch-acx_elmer.m4
Normal file
@ -0,0 +1,11 @@
|
||||
--- acx_elmer.m4.orig Sun Feb 5 18:29:13 2006
|
||||
+++ acx_elmer.m4 Sun Feb 5 18:31:24 2006
|
||||
@@ -1384,7 +1384,7 @@
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
SH_LD="$CC"
|
||||
- SH_LDFLAGS="-shared"
|
||||
+ SH_LDFLAGS="-shared -fPIC"
|
||||
;;
|
||||
alpha*-dec-osf*)
|
||||
SH_LDFLAGS="-shared"
|
11
science/elmer-fem/files/patch-configure.in
Normal file
11
science/elmer-fem/files/patch-configure.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.in.orig Wed Feb 15 18:56:07 2006
|
||||
+++ configure.in Wed Feb 15 18:56:45 2006
|
||||
@@ -68,7 +68,7 @@
|
||||
FCFLAGS="$FCFLAGS -I."
|
||||
FFLAGS="$FCFLAGS -I."
|
||||
ELMER_HOME="$prefix"
|
||||
-FCPPFLAGS="-P $TRADITIONAL_CPP_FLAGS -I. -I$prefix/include -DFULL_INDUCTION -DUSE_ARPACK"
|
||||
+FCPPFLAGS="-P -traditional -I. -I$prefix/include -DFULL_INDUCTION -DUSE_ARPACK"
|
||||
TESTS_FCFLAGS=""
|
||||
|
||||
ELMER_LIBERRORMSG="wasn't found, make sure it is in the prefix, or CFLAGS and LIBS are correct if they are somewhere else."
|
9
science/elmer-fem/pkg-descr
Normal file
9
science/elmer-fem/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
ElmerSolver - the Solution of Partial Differential Equations.
|
||||
|
||||
ElmerSolver is thus an independent module that processes the computational
|
||||
mesh and the model input file containing references to the selected
|
||||
equations and model parameters. ElmerSolver makes the equations into a
|
||||
discrete form, handles coupled systems, non-linearities and
|
||||
time-dependences, and provides output data for visualization.
|
||||
|
||||
WWW: http://www.csc.fi/elmer/elmersolve/
|
96
science/elmer-fem/pkg-plist
Normal file
96
science/elmer-fem/pkg-plist
Normal file
@ -0,0 +1,96 @@
|
||||
bin/%%ARCH%%-portbld-freebsd%%OSREL%%-SC2Elmer
|
||||
bin/ElmerSolver
|
||||
bin/GebhardtFactors
|
||||
bin/ViewFactors
|
||||
bin/elmerf90
|
||||
lib/libelmersolver.so
|
||||
%%DATADIR%%/include/adaptive.mod
|
||||
%%DATADIR%%/include/bandmatrix.mod
|
||||
%%DATADIR%%/include/bandwidthoptimize.mod
|
||||
%%DATADIR%%/include/coordinatesystems.mod
|
||||
%%DATADIR%%/include/crsmatrix.mod
|
||||
%%DATADIR%%/include/defutils.mod
|
||||
%%DATADIR%%/include/differentials.mod
|
||||
%%DATADIR%%/include/diffuseconvective.mod
|
||||
%%DATADIR%%/include/diffuseconvectivegeneral.mod
|
||||
%%DATADIR%%/include/directsolve.mod
|
||||
%%DATADIR%%/include/eigensolve.mod
|
||||
%%DATADIR%%/include/elementdescription.mod
|
||||
%%DATADIR%%/include/elementutils.mod
|
||||
%%DATADIR%%/include/freesurface.mod
|
||||
%%DATADIR%%/include/gebhardtfactorglobals.mod
|
||||
%%DATADIR%%/include/generalutils.mod
|
||||
%%DATADIR%%/include/globmat.mod
|
||||
%%DATADIR%%/include/hashtable.mod
|
||||
%%DATADIR%%/include/integration.mod
|
||||
%%DATADIR%%/include/interpolation.mod
|
||||
%%DATADIR%%/include/itersolve.mod
|
||||
%%DATADIR%%/include/linearalgebra.mod
|
||||
%%DATADIR%%/include/lists.mod
|
||||
%%DATADIR%%/include/ludecomposition.mod
|
||||
%%DATADIR%%/include/mainutils.mod
|
||||
%%DATADIR%%/include/materialmodels.mod
|
||||
%%DATADIR%%/include/maxwell.mod
|
||||
%%DATADIR%%/include/maxwellaxis.mod
|
||||
%%DATADIR%%/include/maxwellgeneral.mod
|
||||
%%DATADIR%%/include/meshutils.mod
|
||||
%%DATADIR%%/include/messages.mod
|
||||
%%DATADIR%%/include/modeldescription.mod
|
||||
%%DATADIR%%/include/multigrid.mod
|
||||
%%DATADIR%%/include/navierstokes.mod
|
||||
%%DATADIR%%/include/navierstokescylindrical.mod
|
||||
%%DATADIR%%/include/navierstokesgeneral.mod
|
||||
%%DATADIR%%/include/paralleleigensolve.mod
|
||||
%%DATADIR%%/include/parallelutils.mod
|
||||
%%DATADIR%%/include/pelementbase.mod
|
||||
%%DATADIR%%/include/pelementmaps.mod
|
||||
%%DATADIR%%/include/radiation.mod
|
||||
%%DATADIR%%/include/radiationfactorglobals.mod
|
||||
%%DATADIR%%/include/solverutils.mod
|
||||
%%DATADIR%%/include/sparitercomm.mod
|
||||
%%DATADIR%%/include/spariterglobals.mod
|
||||
%%DATADIR%%/include/spariterprecond.mod
|
||||
%%DATADIR%%/include/sparitersolve.mod
|
||||
%%DATADIR%%/include/stressgeneral.mod
|
||||
%%DATADIR%%/include/stresslocal.mod
|
||||
%%DATADIR%%/include/timeintegrate.mod
|
||||
%%DATADIR%%/include/types.mod
|
||||
%%DATADIR%%/include/viewfactorglobals.mod
|
||||
@dirrm %%DATADIR%%/include
|
||||
%%DATADIR%%/lib/AdvectionDiffusion.so
|
||||
%%DATADIR%%/lib/ArtificialCompressibility.so
|
||||
%%DATADIR%%/lib/DCRComplexSolve.so
|
||||
%%DATADIR%%/lib/ElasticSolve.so
|
||||
%%DATADIR%%/lib/ElectricForce.so
|
||||
%%DATADIR%%/lib/Electrokinetics.so
|
||||
%%DATADIR%%/lib/EliminateDirichlet.so
|
||||
%%DATADIR%%/lib/EliminatePeriodic.so
|
||||
%%DATADIR%%/lib/EnergyRelease.so
|
||||
%%DATADIR%%/lib/FDiffusion.so
|
||||
%%DATADIR%%/lib/FDiffusion3D.so
|
||||
%%DATADIR%%/lib/FluidicForce.so
|
||||
%%DATADIR%%/lib/FreeSurfaceReduced.so
|
||||
%%DATADIR%%/lib/FreeSurfaceSolver.so
|
||||
%%DATADIR%%/lib/HelmholtzBEM.so
|
||||
%%DATADIR%%/lib/HelmholtzSolve.so
|
||||
%%DATADIR%%/lib/KESolver.so
|
||||
%%DATADIR%%/lib/MagneticSolve.so
|
||||
%%DATADIR%%/lib/PoissonBEM.so
|
||||
%%DATADIR%%/lib/PoissonBoltzmannSolve.so
|
||||
%%DATADIR%%/lib/RateOfChange.so
|
||||
%%DATADIR%%/lib/ReloadInput.so
|
||||
%%DATADIR%%/lib/ResultOutputSolve.so
|
||||
%%DATADIR%%/lib/RigidBodyReduction.so
|
||||
%%DATADIR%%/lib/SOLVER.KEYWORDS
|
||||
%%DATADIR%%/lib/SaveData.so
|
||||
%%DATADIR%%/lib/Smitc.so
|
||||
%%DATADIR%%/lib/StatCurrentSolve.so
|
||||
%%DATADIR%%/lib/StatElecSolve.so
|
||||
%%DATADIR%%/lib/Stokes.so
|
||||
%%DATADIR%%/lib/StreamSolver.so
|
||||
%%DATADIR%%/lib/StressSolve.so
|
||||
%%DATADIR%%/lib/TransportEquation.so
|
||||
%%DATADIR%%/lib/elements.def
|
||||
%%DATADIR%%/lib/libelmersolver.so
|
||||
@dirrm %%DATADIR%%/lib
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user