Controlling postprocessing of time-moment field
Posted: Wed Nov 15, 2017 9:14 pm
Hi,
I would like some help with being able to deactivate postprocessing of some time-moment fields that I create in the cs_user_time_moments function in the cs_user_parameters.c file.
I am aware that the general procedure is for e.g. in usipes subroutine
but when i use f_id = time_moment_field_id(1) for e,g, to get the field id I get the following error at run-time
I am using v4.2.0.
I guess this is because I am placing this call in the wrong place?
Please let me know how to set this correctly. Thanks for your help,
Regards,
V. Michael
I would like some help with being able to deactivate postprocessing of some time-moment fields that I create in the cs_user_time_moments function in the cs_user_parameters.c file.
I am aware that the general procedure is for e.g.
Code: Select all
call field_set_key_int(f_id, keyvis, 0)
but when i use f_id = time_moment_field_id(1) for e,g, to get the field id I get the following error at run-time
Code: Select all
cs_time_moment_get_field: Assertion `moment_id >= 0 && moment_id < _n_moments' failed
I guess this is because I am placing this call in the wrong place?
Please let me know how to set this correctly. Thanks for your help,
Regards,
V. Michael