Skip to content

Instantly share code, notes, and snippets.

View nicolasbadano's full-sized avatar

Nicolás Badano nicolasbadano

View GitHub Profile
@nicolasbadano
nicolasbadano / generateMultiLayerWall.py
Created May 29, 2022 20:14
Generates multiple layers of particles to use as wall boundary condition on DualSPHysics
import numpy as np
from stl import mesh
import math
import numba
@numba.njit
def ray_triangle_intersection(ray_start, ray_vec, triangle):
"""Moeller–Trumbore intersection algorithm.
Parameters
@nicolasbadano
nicolasbadano / gist:d414e9696624d1c2b532
Created January 28, 2015 21:09
A3_AGM_UnitTest.ps1
$gameArgs = "-window -nosplash -world=empty -noPause -mod=@CBA_A3_DEV;@AGM_dev; -autotest=A3_AGM_UnitTest.cfg"
$gameDir = "F:\Juegos\Steam\SteamApps\common\Arma 3"
$logDir = "C:\Users\nico\AppData\Local\Arma 3"
$targetMod = "@AGM_dev"
$regex = ""
$pboFps = @()