Skip to content

Instantly share code, notes, and snippets.

View H0R5E's full-sized avatar
🐴

Mathew Topper H0R5E

🐴
View GitHub Profile
@H0R5E
H0R5E / dtocean_pre_install.bat
Created February 14, 2017 20:26
Pre-load the DTOcean installation directory registry key
@ECHO OFF
IF [%1] == [] GOTO ASKUSER
SET FOLDER=%1
GOTO :COMMONEXIT
:ASKUSER
SET /P FOLDER=Enter a folder name:
@H0R5E
H0R5E / Get-Delft3D-Tag.ps1
Last active March 12, 2025 11:29
Guide and helper scripts for compiling Delft3D FM with Visual Studio 2019 and Intel oneAPI [ARCHIVED]
<#
.Description
Checkout a given Delft3D-FM tag from the Delft3D SVN repository.
.PARAMETER TAG
Tag number to checkout.
.PARAMETER USERNAME
Username for accessing the Delft3D SVN repository.
.PARAMETER PATH
PATH to store checkout.
.PARAMETER PWD
@H0R5E
H0R5E / Check-Out-SVN.ps1
Last active August 11, 2021 11:39
PowerShell script which checks out a path in an SVN repository and continuously retries if connection is lost
<#
.Description
Check out a path in an SVN repository and continuously retry if connection is lost.
.PARAMETER DST
Local destination path to store checkout.
.PARAMETER SRC
Source path of SVN repository.
.PARAMETER USR
Username for accessing SVN repository.
.PARAMETER PWD
@H0R5E
H0R5E / prepare_sln_auto.py
Last active May 11, 2022 11:15
Delft3D prepare_sln_auto.py script for Intel Parallel Studio
# Copyright [email protected] 2017
# Copyright Mathew Topper 2020
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@H0R5E
H0R5E / README.md
Last active January 16, 2024 00:37
Instructions for compiling the SNL-Delft3D-CEC version of Delft3D-4

Delft3D-4 (SNL-Delft3D-CEC) Compilation

This is a short guide for compiling and testing the SNL-Delft3D-CEC current energy converter modification for the Deltares Delft3D-4 solver.

Download SNL-Delft3D-CEC source code

The [SNL-Delft3D-CEC Home Page] contains details regarding installing and running the code. As the version in the master branch is out of date, I have created a [pull request] to update the code to [tag 65936] from the Deltares SVN servers which is the recommended version for Delft3D-4 according to the Deltares [Get Started] page.

The code in the pull request can be downloaded as a zip file from this link. Unzip this code to some path, which we will refer to as \path\to\Delft3D below.

@H0R5E
H0R5E / README.md
Last active February 20, 2025 19:49
Instructions for compiling Deflt3D using Windows Subsystem for Linux

Compiling Deflt3D using Windows Subsystem for Linux

This is a guide for compiling Delft3D for Linux using Windows Subsystem for Linux (WSL). Because the Linux compilation instructions are [quite specific][1] using WSL gives the advantage of easily using any Linux distribution. The [Deltares compilation notes][1] are provided for [CentOS][2] version 7, so we will recreate a similar environment using WSL. An outline of the steps in this guide is as follows:

  1. Set up WSL