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

📄 propagate.c

📁 一个关于LB的经典程序。希望大家有好的东东就那出来
💻 C
字号:
#include "global.h"
void propagate()
{
/* definition of e_i/** 6 2 5 * 3 0 1* 7 4 8*/
/* the only trick here is to have loop directions antiparallel to the lattice vectors */	register int x,y;	
  for(y=max_y-1;y>=0;y--)
   {++)	
       {			
        f[6][y][x]=f[6][y-1][x+1];	
       }	
     }		
   for(y=0;y<max_y-1;y++)	
     {
      for(x=max_x-1;x>0;x--)	
       {		
        f[8][y][x]=f[8][y+1][x-1];
       }		
      for(x=0;x<max_x-1;x++)		
       {			
        f[7][y][x]=f[7][y+1][x+1];		
     

⌨️ 快捷键说明

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