Re: Doubts regarding cs_field_create
Posted: Fri Jun 10, 2022 5:51 pm
Thanks Yvans,
I like to use the following function, but not sure about the value of "epsilon" and "clip_coeff". I do not find the send in any documentation. Kindly inform what is a good value to use for "epsilon" and "clip_coeff" ?
cs_gradient_tensor()
void cs_gradient_tensor ( const char * var_name,
cs_gradient_type_t gradient_type,
cs_halo_type_t halo_type,
int inc,
int n_r_sweeps,
int verbosity,
cs_gradient_limit_t clip_mode,
double epsilon,
double clip_coeff,
const cs_real_6_t bc_coeff_a[],
const cs_real_66_t bc_coeff_b[],
cs_real_6_t *restrict var,
cs_real_63_t *restrict grad
)
I like to use the following function, but not sure about the value of "epsilon" and "clip_coeff". I do not find the send in any documentation. Kindly inform what is a good value to use for "epsilon" and "clip_coeff" ?
cs_gradient_tensor()
void cs_gradient_tensor ( const char * var_name,
cs_gradient_type_t gradient_type,
cs_halo_type_t halo_type,
int inc,
int n_r_sweeps,
int verbosity,
cs_gradient_limit_t clip_mode,
double epsilon,
double clip_coeff,
const cs_real_6_t bc_coeff_a[],
const cs_real_66_t bc_coeff_b[],
cs_real_6_t *restrict var,
cs_real_63_t *restrict grad
)