science/bout++-merging-filaments: New port: Simulation of reconnection during merging of current filaments

This commit is contained in:
Yuri Victorovich 2022-12-24 17:19:25 -08:00
parent 44934e890d
commit 5d3cbf5c9d
5 changed files with 56 additions and 0 deletions

View File

@ -39,6 +39,7 @@
SUBDIR += berkeleygw
SUBDIR += bodr
SUBDIR += bout++
SUBDIR += bout++-merging-filaments
SUBDIR += buddy
SUBDIR += cantera
SUBDIR += cardioid

View File

@ -0,0 +1,29 @@
PORTNAME= bout++-merging-filaments
DISTVERSION= g20200812
CATEGORIES= science # physics
MAINTAINER= yuri@FreeBSD.org
COMMENT= Simulation of reconnection during merging of current filaments
WWW= https://github.com/boutproject/merging-filaments
LICENSE= GPLv3 # based on the parent project BOUT++
BUILD_DEPENDS= gmake:devel/gmake
LIB_DEPENDS= libbout++.so:science/bout++ # also wronglfully linked with all dependencies of BOUT++, see https://github.com/boutproject/BOUT-dev/issues/2622
USES= cmake:testing gettext
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= boutproject
GH_PROJECT= merging-filaments
GH_TAGNAME= ee5a7b9
BINARY_ALIAS= make=${GMAKE}
PLIST_FILES= bin/merging-flux
post-patch:
@${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1671846750
SHA256 (boutproject-merging-filaments-g20200812-ee5a7b9_GH0.tar.gz) = 8a2200a6851ccfc84c0497dd6da0cbbbba3eba00c2e2d14ebb9e642b21b2d257
SIZE (boutproject-merging-filaments-g20200812-ee5a7b9_GH0.tar.gz) = 1980412

View File

@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.13)
project(merging-filaments LANGUAGES CXX)
find_package(bout++ REQUIRED)
bout_add_example(merging-flux
SOURCES merging-flux.cxx cephes/ellpe.cxx cephes/ellpk.cxx
)
install(
TARGETS
merging-flux
DESTINATION
bin
)

View File

@ -0,0 +1,7 @@
BOUY++-based simulation of reconnection during merging of current filaments.
BOUT++ is a framework for writing fluid and plasma simulations in curvilinear
geometry. It is intended to be quite modular, with a variety of numerical
methods and time-integration solvers available. BOUT++ is primarily designed
and tested with reduced plasma fluid models in mind, but it can evolve any
number of equations, with equations appearing in a readable form.