Page 1 of 1

Default format of probes

Posted: Wed Oct 02, 2019 6:36 pm
by konst
Hello!

I define a set of monitoring probes in the cs_user_postprocess.c:

Code: Select all

/* Define monitoring probes */

  /* A writer (id = CS_POST_WRITER_PROBES) using the format "time_plot" is
     associated by default to a set of monitoring probes.
     This is not the case for a profile. */
      {

     cs_coord_t a = 0.00333333;
     cs_coord_t base = 1.03;
     cs_coord_t x = 0.0;
     cs_coord_t y = 0.0;
     cs_coord_t z = 0.0;
     int N = 230;
     char y_str[128]; memset(y_str, '\0', sizeof(y_str));


     cs_probe_set_t  *pset = cs_probe_set_create("Monitoring");
     for(int i = 0; i<N; i++){
             y = a*pow(base,i)-a;
             sprintf(y_str,"%.6f", y);
             cs_probe_set_add_probe(pset, x, y, z, y_str);
     }

  }
I have a problem linked to the update of a CSv6.0. In the previous versions of CS the default format associated by default to a set of monitoring probes was .csv, but now it is .dat format. Is that correct?

Is that possible change the format of associated by default to a set of monitoring probes?

Thanks,
Konstantin

Re: Default format of probes

Posted: Thu Oct 03, 2019 8:22 am
by Yvan Fournier
Hello Constantin,

It should not have changed but I think there was a bug fix related to the value set in the GUI not being handled correctly.

Which setting do you have In the GUI ?

Best regards,

Yvsn