diff options
author | Florian Franzmann | 2019-09-20 19:02:33 +0200 |
---|---|---|
committer | Florian Franzmann | 2019-09-25 21:35:30 +0200 |
commit | 29c7ecde20a19322eb6d5d8f2df12e97a9a82347 (patch) | |
tree | 71591ab915f206236f610fce44d0c9b05dfde2a8 | |
parent | 1d4f700b419a42b211d10df2c81ecbf0c7eb9bae (diff) |
science/netgen: new spell, a multiphysics finite element software
-rw-r--r-- | ChangeLog | 1 | ||||
-rwxr-xr-x | science/netgen/BUILD | 3 | ||||
-rwxr-xr-x | science/netgen/CONFIGURE | 1 | ||||
-rwxr-xr-x | science/netgen/DEPENDS | 41 | ||||
-rwxr-xr-x | science/netgen/DETAILS | 18 | ||||
-rw-r--r-- | science/netgen/HISTORY | 3 |
6 files changed, 67 insertions, 0 deletions
@@ -7,6 +7,7 @@ 2019-09-20 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> * devel/pybind11: new spell, a C++11/Python binding generator + * science/netgen: new spell, a multiphysics finite element software 2019-09-18 Ismael Luceno <ismael@sourcemage.org> * audio-libs/portmidi: new spell, Platform Independent Library for diff --git a/science/netgen/BUILD b/science/netgen/BUILD new file mode 100755 index 0000000000..a659540447 --- /dev/null +++ b/science/netgen/BUILD @@ -0,0 +1,3 @@ +OPTS+=" -DUSE_PYTHON=OFF" && +OPTS+=" -DUSE_GUI=OFF" && +default_build diff --git a/science/netgen/CONFIGURE b/science/netgen/CONFIGURE new file mode 100755 index 0000000000..b2f02c3032 --- /dev/null +++ b/science/netgen/CONFIGURE @@ -0,0 +1 @@ +source $GRIMOIRE/CMAKE_CONFIGURE diff --git a/science/netgen/DEPENDS b/science/netgen/DEPENDS new file mode 100755 index 0000000000..4d14434a98 --- /dev/null +++ b/science/netgen/DEPENDS @@ -0,0 +1,41 @@ +. "${GRIMOIRE}/CMAKE_DEPENDS" && +depends -sub CXX gcc && +depends tcl && +depends tk && +depends zlib && + +optional_depends oce \ + "-DUSE_OCC=ON" \ + "-DUSE_OCC=OFF" \ + "use OpenCascade geometry kernel" && + +#optional_depends libx11 \ +# "-DUSE_GUI=ON" \ +# "-DUSE_GUI=OFF" \ +# "build GUI" && +# +#if is_depends_enabled $SPELL libx11; then +# depends togl1 && +# depends tcl && +# depends tk +#fi && + +optional_depends openmpi \ + "-DUSE_MPI=ON" \ + "-DUSE_MPI=OFF" \ + "use OpenMPI for parallel execution" && + +if is_depends_enabled $SPELL openmpi; then + depends metis "--with-metis=${TRACK_ROOT}/usr" +fi && + +optional_depends JPEG \ + "-DUSE_JPEG=ON" \ + "-DUSE_JPEG=OFF" \ + "allow for snapshots using some jpeg library" && + +optional_depends LIBAVCODEC \ + "-DUSE_MPEG=ON" \ + "-DUSE_MPEG=OFF" \ + "allow for video recording using some avcodec library" + diff --git a/science/netgen/DETAILS b/science/netgen/DETAILS new file mode 100755 index 0000000000..a506772a85 --- /dev/null +++ b/science/netgen/DETAILS @@ -0,0 +1,18 @@ +source "${GRIMOIRE}/CMAKE_FUNCTIONS" + SPELL=netgen + VERSION=6.2.1810 + SOURCE="${SPELL}-${VERSION}.tar.gz" + SOURCE_URL[0]=https://github.com/NGSolve/netgen/archive/v${VERSION}.tar.gz + SOURCE_HASH=sha512:b57ad0d170eb214e80f6c15f18f4175117d6f43cd94b7830edc996b29a4bdf9ea8f8714e72e5bb3be15a95b7fa3c4ca6005b2896673221d5a418fdf3d33048f5 +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" + WEB_SITE="https://ngsolve.org/" + LICENSE[0]=GPL + ENTERED=20170120 + SHORT="an automatic 3d tetrahedral mesh generator" +cat << EOF +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. +EOF diff --git a/science/netgen/HISTORY b/science/netgen/HISTORY new file mode 100644 index 0000000000..2fc8df383c --- /dev/null +++ b/science/netgen/HISTORY @@ -0,0 +1,3 @@ +2019-09-20 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> + * BUILD, CONFIGURE, DEPENDS, DETAILS: spell created + |