Sets persistent object to initial state

ss_pers_reset is a function defined in sspers.c.

Synopsis:

herr_t ss_pers_reset(ss_pers_t *pers, unsigned flags)

Formal Arguments:

  • pers: The object to be reset
  • flags: Bit flags such as SS_ALLSAME

Description: This function sets a persistent object to an initial state of an all-zero bit pattern. The ss_foo``*obj*``_tm and ss_foo``*obj*``_tf parts of the C struct are set to zero but the other stuff is left unmodified (except the dirty bit is set).

Return Value: Returns non-negative on success; negative on failure.

Parallel Notes: Independent. However, if the SS_ALLSAME bit flag is set then this function should be called collectively across the communicator of the scope that owns the object.

See Also: