Please check this UDF.
When I run this UDF, the following messege appears:
iter time/iter chip-exec: charge_density: wrong return type: void udf function expecteddensity The UDF is shown below: #include "udf.h" #define QM -5e-6 DEFINE_SOURCE(charge_density,c,t,dS,eqn) { real density; density=QM; printf("density", density); return density; } |
All times are GMT -4. The time now is 20:56. |