You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integer grid values are not interpolated -- the nearest parameter is used like texture mapping.
Time-varying integer values are interpolated in time using the same generic template function as real values
template <typename VALUE_TYPE> int cmzn_node_get_field_component_values(
cmzn_node *node, FE_field *field, int componentNumber, FE_value time,
int valuesCount, VALUE_TYPE *valuesOut)
Note: Unemap data formerly used short integer values to compress a range of real values; the short values won't interpolate well. Our current approach of interpolating nodal parameters first may need changing. Alternative is to evaluate at stored times as real values (including at element locations) then interpolate the final values with a time basis. The alternative approach is more amenable to adaptive mesh refinement.
The text was updated successfully, but these errors were encountered:
Integer grid values are not interpolated -- the nearest parameter is used like texture mapping.
Time-varying integer values are interpolated in time using the same generic template function as real values
with:
i.e. not nearest, not using rounding.
Note: Unemap data formerly used short integer values to compress a range of real values; the short values won't interpolate well. Our current approach of interpolating nodal parameters first may need changing. Alternative is to evaluate at stored times as real values (including at element locations) then interpolate the final values with a time basis. The alternative approach is more amenable to adaptive mesh refinement.
The text was updated successfully, but these errors were encountered: