Searched refs:yt_max_nnz (Results 1 – 1 of 1) sorted by relevance
244 PetscInt yt_nnz = 0, yt_max_nnz = 0; in xyt_generate() local308 …xt_max_nnz = yt_max_nnz = (PetscInt)(2.5 * PetscPowReal(1.0 * n_global, 1.6667) + j * n / 2) / PCT… in xyt_generate()310 y = (PetscScalar *)malloc(yt_max_nnz * sizeof(PetscScalar)); in xyt_generate()460 if ((yt_nnz + len) > yt_max_nnz) { in xyt_generate()462 yt_max_nnz *= 2; in xyt_generate()463 y_ptr = (PetscScalar *)malloc(yt_max_nnz * sizeof(PetscScalar)); in xyt_generate()492 xyt_handle->info->max_nnz = xt_max_nnz + yt_max_nnz; in xyt_generate()