[Gfs-devel] Value of a GfsvariableTracerVOF in a cell: strange error

20 views
Skip to first unread message

Manoj Kumar Tripathi

unread,
Oct 21, 2014, 3:59:07 AM10/21/14
to gfs-devel
Hello everyone,

I need to find the value of a GfsvariableTracerVOF in an cell, and I am writing the following to do so:
GFS_VALUE(cell, sv) = GFS_VALUE(cell, GFS_VARIABLE(v->t));
where "v" is a pointer to a structure having a member "t" of type GfsvariableTracerVOF*, and sv is a GfsVariable*. 

When I see the values of sv, they do not match with the values of t (sv has the values above 1 also, whereas t is bounded between 0 and 1).

Can anyone suggest, how can I get the correct value of tracerVOF variable in a cell? And I do not know the cause of this problem; if you could tell me that would be a bonus.

Thanks.
-- 
Manoj Kumar Tripathi
Reply all
Reply to author
Forward
0 new messages