1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

New port: science/esys-particle: Particle-based numerical modelling software

This commit is contained in:
Yuri Victorovich 2018-11-05 05:16:35 +00:00
parent dc2fda5722
commit 613a370184
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484170
9 changed files with 112 additions and 0 deletions

View File

@ -69,6 +69,7 @@
SUBDIR += epte
SUBDIR += erd
SUBDIR += erkale
SUBDIR += esys-particle
SUBDIR += fastcap
SUBDIR += fasthenry
SUBDIR += fisicalab

View File

@ -0,0 +1,25 @@
# $FreeBSD$
PORTNAME= esys-particle
DISTVERSION= 2.3.5
CATEGORIES= science
MASTER_SITES= https://launchpad.net/esys-particle/trunk/${DISTVERSION}/+download/
DISTNAME= ESyS-Particle-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Particle-based numerical modelling software
LICENSE= APACHE20
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libmpi.so:net/mpich
USES= cmake:outsource fortran
USE_LDCONFIG= yes
LDFLAGS+= ${LOCALBASE}/lib/libboost_filesystem.so
pre-build:
@${ECHO} "static int s_bzr_revision=-1;" > ${WRKSRC}/bzrversion.h
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1541392871
SHA256 (ESyS-Particle-2.3.5.tar.gz) = 97f53fd0056c8f90771e1e2ff91bcea67a419bc68fcd91c68f7df76339680888
SIZE (ESyS-Particle-2.3.5.tar.gz) = 8197209

View File

@ -0,0 +1,22 @@
--- CMakeLists.txt.orig 2017-01-06 06:14:00 UTC
+++ CMakeLists.txt
@@ -2,8 +2,8 @@ PROJECT(Esys C CXX)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-FIND_PACKAGE(Boost COMPONENTS system filesystem python thread REQUIRED)
-INCLUDE(FindPythonLibs)
+FIND_PACKAGE(Boost COMPONENTS system filesystem thread REQUIRED)
+#INCLUDE(FindPythonLibs)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/Foundation)
@@ -25,7 +25,7 @@ ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/To
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/ntable")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/tml")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/ppa/src")
-ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/Python")
+#ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/Python")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/Parallel")

View File

@ -0,0 +1,11 @@
--- Geometry/SphAggGougeBlock.hpp.orig 2018-11-05 04:51:07 UTC
+++ Geometry/SphAggGougeBlock.hpp
@@ -36,7 +36,7 @@ namespace esys {
void SphAggGougeBlock::visitParticles(TmplVisitor& visitor) const
{
GougeBlock3D::visitParticles(visitor);
- for(vector<SBG_ptr>::iterator it = m_grainParticleGen.begin();
+ for(auto it = m_grainParticleGen.begin();
it != m_grainParticleGen.end();
it++)
{

View File

@ -0,0 +1,11 @@
--- Tools/StressCalculator/Contact.cpp.orig 2018-11-05 04:44:17 UTC
+++ Tools/StressCalculator/Contact.cpp
@@ -18,7 +18,7 @@ namespace esys
namespace lsm
{
bool ParticleData::s_is3d = true;
- const double ParticleData::FOUR_THIRDS_PI = ((4.0/3.0)*M_PIl);
+ const double ParticleData::FOUR_THIRDS_PI = ((4.0/3.0)*M_PI);
}
}

View File

@ -0,0 +1,11 @@
--- Tools/dump2vtk/frame_vtk.cpp.orig 2018-11-05 04:45:11 UTC
+++ Tools/dump2vtk/frame_vtk.cpp
@@ -1276,7 +1276,7 @@ void writeMeshFile(const string& infilen
string header,skip;
int numMeshIG;
- while (datafile >> header != NULL){
+ while (datafile >> header){
if (header == "TMIG"){
datafile >> numMeshIG;
for(int ni=0;ni<numMeshIG;ni++){

View File

@ -0,0 +1,9 @@
ESyS-Particle is Open Source Software for particle-based numerical modelling
using the Discrete Element Method (DEM); a widely adapted technique for
modelling processes involving large deformations, granular flow and/or
fragmentation. ESyS-Particle is best suited for execution on parallel
supercomputers, clusters or multi-core PCs running a Linux-based operating
system. The C++ DEM simulation engine implements spatial domain decomposition
via the Message Passing Interface (MPI).
WWW: http://www.esys-particle.org/wiki/

View File

@ -0,0 +1,19 @@
bin/dump2geo
bin/dump2vtk
bin/fcconv
bin/fracextract
bin/grainextract
bin/raw2tostress
bin/rotextract
bin/strainextract
lib/libFields.so
lib/libFoundation.so
lib/libGeometry.so
lib/libModel.so
lib/libParallel.so
lib/libTmlComm.so
lib/libTmlMessage.so
lib/libTmlType.so
lib/liblibppa.so
lib/libntable.so
lib/libpis.so