The definition of two functions in the model of d3q27_psm #522
Unanswered
Jing-Lee-tj
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I tried to learn more about the d3q27_psm model, I couldn't find the definitions of two functions:
1.The PV function: For example, uf = PV("uf");. This seems to be a function for converting a string to a value. The only related code I found is PV = function(...) { 0 } in dictionary.h.Rt. However, this appears to be just a dictionary of function definitions. What is the prototype definition of this function?
2.The C function: This function is used in two ways:
(1) C(sum(f));
(2) C(uf, f[V[i,1]]); C(f[V[i,1]], f[V[i,2]]); C(f[V[i,2]], uf);
The first usage seems to involve type conversion of a value, and the second usage seems to be related to value swapping. However, I couldn't find the prototype definition of this function. Could you provide more details on it?
Beta Was this translation helpful? Give feedback.
All reactions