Skip to content

Instantly share code, notes, and snippets.

@peace098beat
peace098beat / fdtd_2d_c_sjis.c
Last active February 8, 2020 13:24
[FDTD] FDTDによる音の可視化 C->pythonにポーティング
// 二次元音響FDTDサンプル for C (by Masahiro TOYODA)
// gnu gcc -> gcc fdtd_2d_c_sjis.c -lm -O3 -fopenmp -o fdtd_2d_c_sjis.exe
// intel c -> icc fdtd_2d_c_sjis.c /O3 /Qopenmp
//■■■ヘッダーの読み込み■■■
#include <stdio.h>
#include <stdlib.h>
#include <math.h>