⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 initdata.c

📁 LPARX is a C++ class library for for implementing portable scientific applications on distributed me
💻 C
字号:
#include "redblack2d.h"//// Initialize the boundary region with random data and// the interior with zero//void initData(Grid2(double)& U)  {   for_2(j, k, U)      U(j,k) = drand48();   end_for   Region2 interior = grow(U.region(), -1);   for_2(j, k, interior);      U(j,k) = 0.0;   end_for  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -