C语言高手,谁能帮忙解释下这段程序什么意思:
#include"udf.h"DEFINE_SOURCE(J_heat,c,t,dS,eqn){realx[ND_ND];realsource;C_CENTROID(x,...
#include "udf.h"
DEFINE_SOURCE(J_heat,c,t,dS,eqn)
{
real x[ND_ND];
real source;
C_CENTROID(x,c,t);
source = 0.5*C_R(c,t)*x[1];
dS[eqn] = 0.0;
return source;
} 展开
DEFINE_SOURCE(J_heat,c,t,dS,eqn)
{
real x[ND_ND];
real source;
C_CENTROID(x,c,t);
source = 0.5*C_R(c,t)*x[1];
dS[eqn] = 0.0;
return source;
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询