This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%GMSH2PDETOOLBOX Reads a mesh in msh format, version 1 or 2 and returns the | |
%arrays p, e and t according to the MATLAB pde toolbox syntax. Filename | |
%refers to the .msh file. Note that only triangular 2D mesh are processed | |
%since these are the only elements allowed in pde toolbox. | |
% | |
%SEE ALSO load_gmsh load_gmsh4 initmesh | |
% | |
% Copyright (C) 2014 Arthur Levy. https://github.com/arthurlevy/ | |
% | |
% This fucntion uses the routine load_gmsh4 in load_gmsh2.m: Copyright (C) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%.hex: %.asm | |
avra -fI $< | |
rm *.eep.hex *.obj *.cof | |
all: $(patsubst %.asm,%.hex,$(wildcard *.asm)) | |
upload: ${program}.hex | |
avrdude -c arduino -p m328p -P /dev/arduino-uno -b 115200 -U flash:w:$< | |
monitor: |
Hello, Rust community!
My name is Hadrien and I am a software performance engineer in a particle physics lab. My daily job is to figure out ways to make scientific software use hardware more efficiently without sacrificing its correctness, primarily by adapting old-ish codebases to the changes that occured in the software and computing landscape since the days where they were designed:
- CPU clock rates and instruction-level parallelism stopped going up, so optimizing code is now more important.
- Multi-core CPUs went from an exotic niche to a cheap commodity, so parallelism is not optional anymore.
- Core counts grow faster than RAM prices go down, so multi-processing is not enough anymore.
- SIMD vectors become wider and wider, so vectorization is not a gimmick anymore.