找回密码
 注册
查看: 1488|回复: 0

udf错在何处?

[复制链接]
发表于 2011-7-5 21:56:48 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
/**************************************************************/
/* Implementation of the P1 model using user-defined scalars  */
/**************************************************************/

#include "udf.h"

#define        a 0.5 /*公式中的a*/




DEFINE_ADJUST(adjust_fcn,d)
{
  Thread *t;
  cell_t c;

  if (! Data_Valid_P())
    return;

  thread_loop_c(t,d)
    {
    if (FLUID_THREAD_P(t))
       {
        begin_c_loop_all(c,t)
            {
      
         
            }
        end_c_loop_all(c,t)
       }
    }
}

[ 本帖最后由 yingkesong88 于 2011-7-12 09:01 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表