Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2021 08:34:55 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f523a58d88ab - main - math/psurface: New port: Piecewise linear bijections between triangulated surfaces
Message-ID:  <202109060834.1868YtSB077461@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f523a58d88abdd8d360b09fc2b44bff0ddf95d64

commit f523a58d88abdd8d360b09fc2b44bff0ddf95d64
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-09-06 08:21:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-09-06 08:34:50 +0000

    math/psurface: New port: Piecewise linear bijections between triangulated surfaces
---
 math/Makefile           |  1 +
 math/psurface/Makefile  | 24 ++++++++++++++++++++++++
 math/psurface/distinfo  |  3 +++
 math/psurface/pkg-descr | 12 ++++++++++++
 math/psurface/pkg-plist | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 89 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index e69cf44f17c1..1c3a77624775 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -774,6 +774,7 @@
     SUBDIR += primme
     SUBDIR += prng
     SUBDIR += pspp
+    SUBDIR += psurface
     SUBDIR += py-CyLP
     SUBDIR += py-Diofant
     SUBDIR += py-GridDataFormats
diff --git a/math/psurface/Makefile b/math/psurface/Makefile
new file mode 100644
index 000000000000..19c1e4738d5f
--- /dev/null
+++ b/math/psurface/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	psurface
+DISTVERSION=	2.0.0-13
+DISTVERSIONSUFFIX=	-gb5b6825
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Piecewise linear bijections between triangulated surfaces
+
+LICENSE=	GPLv3+
+
+LIB_DEPENDS=	libhdf5.so:science/hdf5
+
+USES=		autoreconf libtool localbase
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+
+GNU_CONFIGURE=	yes
+
+INSTALL_TARGET=	install-strip
+
+TEST_TARGET=	check # 2 tests fail because the file examplefiles/tricube-anticlockwise.msh is missing, see https://github.com/psurface/psurface/issues/3
+
+.include <bsd.port.mk>
diff --git a/math/psurface/distinfo b/math/psurface/distinfo
new file mode 100644
index 000000000000..4152d9f342bd
--- /dev/null
+++ b/math/psurface/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1630913046
+SHA256 (psurface-psurface-2.0.0-13-gb5b6825_GH0.tar.gz) = 01a5876c26b6f3422be377408601ff3c05dbaf3e983237cefcf1ed3308b111e2
+SIZE (psurface-psurface-2.0.0-13-gb5b6825_GH0.tar.gz) = 220846
diff --git a/math/psurface/pkg-descr b/math/psurface/pkg-descr
new file mode 100644
index 000000000000..dbe58b6182d6
--- /dev/null
+++ b/math/psurface/pkg-descr
@@ -0,0 +1,12 @@
+Psurface is a C++ library that handles piecewise linear bijections between
+triangulated surfaces. These surfaces can be of arbitrary shape and need not
+even be manifolds.
+
+There are two main uses for psurface. When doing adaptive finite element
+simulations on grids with parametrized boundaries, psurface can store the
+parametrization. Boundary parametrizations are practically mappings from the
+coarse grid boundary to the actual boundary, and if that actual boundary is a
+triangulated surface then psurface can handle it. This is implemented, for
+example, in the dune-grid module of Dune.
+
+WWW: https://github.com/psurface/psurface
diff --git a/math/psurface/pkg-plist b/math/psurface/pkg-plist
new file mode 100644
index 000000000000..b5dc526c8219
--- /dev/null
+++ b/math/psurface/pkg-plist
@@ -0,0 +1,49 @@
+bin/psurface-convert
+bin/psurface-simplify
+bin/psurface-smooth
+include/psurface/AmiraMeshIO.h
+include/psurface/Box.h
+include/psurface/CircularPatch.h
+include/psurface/ContactMapping.h
+include/psurface/DirectionFunction.h
+include/psurface/DomainPolygon.h
+include/psurface/Domains.h
+include/psurface/EdgeIntersectionFunctor.h
+include/psurface/GlobalNodeIdx.h
+include/psurface/GmshIO.h
+include/psurface/Hdf5IO.h
+include/psurface/HxParamToolBox.h
+include/psurface/IntersectionPrimitive.h
+include/psurface/IntersectionPrimitiveCollector.h
+include/psurface/MultiDimOctree.h
+include/psurface/Node.h
+include/psurface/NodeBundle.h
+include/psurface/NormalProjector.h
+include/psurface/PSurface.h
+include/psurface/PSurfaceFactory.h
+include/psurface/PSurfaceSmoother.h
+include/psurface/PathVertex.h
+include/psurface/PlaneParam.h
+include/psurface/PointIntersectionFunctor.h
+include/psurface/QualityRequest.h
+include/psurface/SparseMatrix.h
+include/psurface/StaticMatrix.h
+include/psurface/StaticVector.h
+include/psurface/SurfaceBase.h
+include/psurface/SurfaceParts.h
+include/psurface/TargetSurface.h
+include/psurface/Triangulator.h
+include/psurface/VertexHeap.h
+include/psurface/VtkIO.h
+include/psurface/b64enc.hh
+include/psurface/common.hh
+include/psurface/dataarraywriter.hh
+include/psurface/indent.hh
+include/psurface/psurfaceAPI.h
+include/psurface/streams.hh
+include/psurface/vtuwriter.hh
+lib/libpsurface.a
+lib/libpsurface.so
+lib/libpsurface.so.0
+lib/libpsurface.so.0.0.0
+libdata/pkgconfig/psurface.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109060834.1868YtSB077461>