This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
howtos:toolcoding:feedback_views [2011/06/23 14:13] chris.strashok |
howtos:toolcoding:feedback_views [2012/09/20 17:33] deryn.crockett |
||
---|---|---|---|
Line 23: | Line 23: | ||
==== Example feedback view files ==== | ==== Example feedback view files ==== | ||
- | Here is an example of the .v and .t files for a simple feedback view that modifies a model input until the model output matches some given "golden" value in the last time slice. | + | Here is the code for the .v and .t files for a simple feedback view that modifies a model input until the model output matches some given "golden" value in the last time slice. |
viewName.v: | viewName.v: | ||
Line 86: | Line 86: | ||
if ($numNotConv == 0) or ($fbViewIteration == $fbViewMaxIters) | if ($numNotConv == 0) or ($fbViewIteration == $fbViewMaxIters) | ||
- | if ( | ||
mumble (" numNotConv = ", $numNotConv, " at iteration ",$fbViewIteration, " stopping due to ") | mumble (" numNotConv = ", $numNotConv, " at iteration ",$fbViewIteration, " stopping due to ") | ||
if ($numNotConv == 0) | if ($numNotConv == 0) |