Leandro Martínez
Leandro Martínez
In this repository I have added an implementation of a elastic collision simulation and compared the performance, basically of the `interacting_pairs` function, with and without the use of `CellListMap`: https://github.com/lmiq/ElasticCollisions.jl...
I have this MWE, where I get segmentation faults (frequently, but not deterministically), when trying to run some script that uses multi-threading on the Julia side. I have used before...
I've noticed that the package does not have a logo, so I created one. Feel free to ignore :-) . The image is a pictorial representation of the standard kilogram:...
I had a `Project.toml` file that contained a section like this: ``` [targets] test = [ "Test", "TestItemRunner", "Chemfiles", "NearestNeighbors", "ForwardDiff", "Unitful", "Measurements", "BenchmarkTools", ] ``` While this did not...
When systems are highly non-homogeneous, the number of cells can explode to be much greater than the number of particles: ```julia using StaticArrays using CellListMap function points_in_sphere(r,N) p = SVector{3,Float64}[]...
See: https://discourse.julialang.org/t/juliacall-pass-numpy-array-to-julia-function-as-vector-float64/87728/6?u=lmiq
I originally tried to run the Julia benchmark, but the `using LinearAlgebra: norm` was missing. Then I sort of "julianized" a little bit further the code. What I did is:...
Having the default legend position to assume a minimum-overlapping position with the data would be nice. Matplotlib already does that, and apparently (see https://github.com/JuliaPlots/Plots.jl/issues/3399#issuecomment-809493284) Plots already passes the `:best` symbol...
example: ``` julia> using GR, LaTeXStrings julia> x = rand(10) y = rand(10) plot(x[1:10], y, xlabel=L"\textrm{This is } \alpha") ```  adding tildes `~` solves the lack of spacing between...
Until Julia 1.2 (as much as I tested), the following code rendered correctly: ``` using Plots, LaTeXStrings plot(title=L"\textrm{\sffamily 0.5~mol~L}^{-1}") ``` With GR 0.50.1, installed initially in Julia 1.5, the "\textrm"...