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
// 二次元音響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> |