From unknown Sun Jun 15 08:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42929] [PATCH] gnu: Add fullswof-2d. Resent-From: Paul Garlick Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Aug 2020 12:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42929@debbugs.gnu.org Cc: Paul Garlick X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159783870612023 (code B ref -1); Wed, 19 Aug 2020 12:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2020 12:05:06 +0000 Received: from localhost ([127.0.0.1]:38406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8Mq1-00037q-Hp for submit@debbugs.gnu.org; Wed, 19 Aug 2020 08:05:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:53412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8Mpz-00037e-2n for submit@debbugs.gnu.org; Wed, 19 Aug 2020 08:05:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8Mpy-0007V1-Sh for guix-patches@gnu.org; Wed, 19 Aug 2020 08:05:02 -0400 Received: from smtp.hosts.co.uk ([85.233.160.19]:55069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8Mpw-0006Lm-Nz for guix-patches@gnu.org; Wed, 19 Aug 2020 08:05:02 -0400 Received: from maikeh336.claranet.co.uk ([79.123.23.187] helo=parkin.tourbillion-technology.com.com) by smtp.hosts.co.uk with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) (envelope-from ) id 1k8Mpq-0001IS-5l; Wed, 19 Aug 2020 13:04:55 +0100 From: Paul Garlick Date: Wed, 19 Aug 2020 13:03:52 +0100 Message-Id: <1597838632-32403-1-git-send-email-pgarlick@tourbillion-technology.com> X-Mailer: git-send-email 1.8.3.1 Received-SPF: none client-ip=85.233.160.19; envelope-from=pgarlick@tourbillion-technology.com; helo=smtp.hosts.co.uk X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 08:04:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/simulation.scm (fullswof-2d): New variable. --- gnu/packages/simulation.scm | 72 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 8d57885..a95160c 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -19,6 +19,7 @@ (define-module (gnu packages simulation) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages admin) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bison) @@ -47,6 +48,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix download) + #:use-module (guix svn-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) @@ -724,3 +726,73 @@ problems that can be solved using the Finite Element Method (FEM). within the FEniCS project. It provides the python user interface to the FEniCS core components and external libraries.") (license license:lgpl3+))) + +(define-public fullswof-2d + (let ((revision 505) + (release "1.09.01")) + (package + (name "fullswof-2d") + (version release) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "https://subversion.renater.fr/" + "anonscm/svn/fullswof-2d/tags/" + "release-" version)) + (revision revision))) + (file-name (string-append "fullswof-2d-" version "-checkout")) + (sha256 + (base32 + "16v08dx7h7n4wyddzbwimazwyj74ynis12mpjfkay4243npy44b8")))) + (build-system gnu-build-system) + (native-inputs + `(("inetutils" ,inetutils))) ; for 'hostname', used in the check phase + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-after 'build 'build-tools + (lambda _ + (with-directory-excursion "Tools/ConvertFormat" + (invoke "make" "../../bin/asc2xyz") + (invoke "make" "../../bin/xyz2asc")) + (with-directory-excursion "Tools/ExtractWindow" + (invoke "make" "../../bin/cropxyz")) + #t)) + (replace 'check ; no check target + (lambda _ + (invoke "make" "benchref"))) + (replace 'install ; no install target + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (doc (string-append + out "/share/doc/" ,name "-" ,version)) + (examples (string-append doc "/Examples"))) + (with-directory-excursion "bin" + (for-each (lambda (binary) (install-file binary bin)) + (list "asc2xyz" "xyz2asc" "cropxyz" + "FullSWOF_2D"))) + (with-directory-excursion "doc" + (for-each (lambda (pdf) (install-file pdf doc)) + (list "Documentation.pdf" "refman.pdf"))) + (with-directory-excursion "Tools" + (for-each (lambda (dir) + (copy-file + (string-append dir "/README.txt") + (string-append doc "/README_" dir ".txt"))) + (list "ConvertFormat" "ExtractWindow"))) + (copy-recursively "Examples" examples) + #t)))))) + (home-page "https://www.idpoisson.fr/fullswof/") + (synopsis "Two dimensional flow solver for flood modelling") + (description "@code{FullSWOF_2d} is a numerical tool for solving +the shallow water equations on structured grids. The name FullSWOF +refers to the Full form of the Shallow Water equations for Overland +Flow. The discretized system of equations is solved using the finite +volume method. A choice of shock-capturing methods is available to +locate the transition boundaries between the wet areas and the dry +areas in the model. A semi-implicit method is used to advance the +solution in time. The tool is typically applied to the modelling of +river flooding.") + (license license:cecill)))) -- 1.8.3.1 From unknown Sun Jun 15 08:48:52 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42929] [PATCH] gnu: Add fullswof-2d. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Aug 2020 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Paul Garlick Cc: 42929@debbugs.gnu.org Received: via spool by 42929-submit@debbugs.gnu.org id=B42929.159811909521647 (code B ref 42929); Sat, 22 Aug 2020 17:59:01 +0000 Received: (at 42929) by debbugs.gnu.org; 22 Aug 2020 17:58:15 +0000 Received: from localhost ([127.0.0.1]:51368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9XmQ-0005d5-UE for submit@debbugs.gnu.org; Sat, 22 Aug 2020 13:58:15 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9XmO-0005cr-P7 for 42929@debbugs.gnu.org; Sat, 22 Aug 2020 13:58:13 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id A76A15C0044; Sat, 22 Aug 2020 13:58:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 22 Aug 2020 13:58:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=/u082zLhStfyVFXZnyF5od26 o9XPkotOzKVYUm4VCck=; b=fkHvyr6sr1GKCnZ/ZMc9/3G5FslSS2hLQ29OH3Ou yM7T1Tg/XpJFEZNJMMo7QYGAC/2Cg1KVUsDAt8QflrLWMyirhKHY1yaM4piqNOM+ TYrI6bwHC5LncY1LEccGIz1kXubHQafFcFdPu1dw8kJg+JJBvifF0UxnzKdItNxP Bi4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=/u082z LhStfyVFXZnyF5od26o9XPkotOzKVYUm4VCck=; b=r9s0LOzYaVVNr7zD14sbve FPGrWfBO/64ctDbB1my0eRxJITDoXbRQZtZdjCZBFpM0IDbK+tPHVIetuxQ0+laB mJ/8foEluHTOIN+BYrqkLb77WXlKU1zZBbp2HPXbxNWPbbTYQMVt96iLy/JFLxy/ vVlqZY8LKBXp34omXnhmYoFdELq/4F63AptasDgK/P02pDPdJuSNBYUu/xM8QKFi CMKgk10Y226gXFRKhmJitt/ioXC6bWQiL4REmOE//esC7xaLvh9/p7e8Qw+d/PlO wo3dZqfKjbFOfKXAkiNtQ6nxgP6fT7fGtTEU4+sw3gx9FzJFSjLdiynwfOyKLqbQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddugedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecukfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 34D4830600A9; Sat, 22 Aug 2020 13:58:06 -0400 (EDT) Date: Sat, 22 Aug 2020 13:58:04 -0400 From: Leo Famulari Message-ID: <20200822175804.GC12497@jasmine.lan> References: <1597838632-32403-1-git-send-email-pgarlick@tourbillion-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1597838632-32403-1-git-send-email-pgarlick@tourbillion-technology.com> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Aug 19, 2020 at 01:03:52PM +0100, Paul Garlick wrote: > * gnu/packages/simulation.scm (fullswof-2d): New variable. Thanks! Pushed as 40fc8992db016baa7048076947757baf94fb957f From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 04:46:15 2020 Received: (at control) by debbugs.gnu.org; 24 Aug 2020 08:46:15 +0000 Received: from localhost ([127.0.0.1]:55992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA87L-00023m-KJ for submit@debbugs.gnu.org; Mon, 24 Aug 2020 04:46:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA87K-00023b-Uj for control@debbugs.gnu.org; Mon, 24 Aug 2020 04:46:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41160) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kA87F-0005bO-Lg for control@debbugs.gnu.org; Mon, 24 Aug 2020 04:46:09 -0400 Received: from [2a01:e0a:19b:d9a0:51fc:698d:e660:b966] (port=54720 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kA87F-0003VF-2s for control@debbugs.gnu.org; Mon, 24 Aug 2020 04:46:09 -0400 Date: Mon, 24 Aug 2020 10:46:07 +0200 Message-Id: <87tuwse8j4.fsf@cervin.i-did-not-set--mail-host-address--so-tickle-me> To: control@debbugs.gnu.org From: Mathieu Othacehe Subject: control message for bug #42929 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) close 42929 quit