Home
last modified time | relevance | path

Searched refs:node_data_sz (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ksp/pc/impls/gamg/
H A Dgamg.c338 …rows = pc_gamg->data_cell_rows, ndata_cols = pc_gamg->data_cell_cols, node_data_sz = ndata_rows * … in PCGAMGCreateLevel_GAMG() local
345 PetscCall(VecSetSizes(dest_crd, node_data_sz * ncrs_new, PETSC_DECIDE)); in PCGAMGCreateLevel_GAMG()
351 PetscCall(PetscMalloc1(ncrs * node_data_sz, &tidx)); in PCGAMGCreateLevel_GAMG()
355 for (kk = 0; kk < node_data_sz; kk++, jj++) tidx[jj] = id * node_data_sz + kk; in PCGAMGCreateLevel_GAMG()
358 PetscCall(ISCreateGeneral(comm, node_data_sz * ncrs, tidx, PETSC_COPY_VALUES, &isscat)); in PCGAMGCreateLevel_GAMG()
363 PetscCall(VecCreateSeq(PETSC_COMM_SELF, node_data_sz * ncrs, &src_crd)); in PCGAMGCreateLevel_GAMG()
368 …PetscInt ix = ii * ndata_rows + kk + jj * stride0, jx = ii * node_data_sz + kk * ndata_cols + j… in PCGAMGCreateLevel_GAMG()
390 PetscCall(PetscMalloc1(node_data_sz * ncrs_new, &pc_gamg->data)); in PCGAMGCreateLevel_GAMG()
392 pc_gamg->data_sz = node_data_sz * ncrs_new; in PCGAMGCreateLevel_GAMG()
399 …PetscInt ix = ii * ndata_rows + kk + jj * strideNew, jx = ii * node_data_sz + kk * ndata_cols + jj; in PCGAMGCreateLevel_GAMG()