Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/utils/dm/
H A Ddmproject.c527 PetscInt *mpfield_cell; in DMSwarmProjectField_ApproxQ1_DA_2D() local
559 PetscCall(DMSwarmGetField(swarm, cellid, NULL, NULL, (void **)&mpfield_cell)); in DMSwarmProjectField_ApproxQ1_DA_2D()
567 e = mpfield_cell[p]; in DMSwarmProjectField_ApproxQ1_DA_2D()
593 PetscCall(DMSwarmRestoreField(swarm, cellid, NULL, NULL, (void **)&mpfield_cell)); in DMSwarmProjectField_ApproxQ1_DA_2D()
/petsc/src/ksp/ksp/tutorials/
H A Dex70.c707 PetscInt *mpfield_cell; in MaterialPoint_AdvectRK1() local
732 PetscCall(DMSwarmGetField(dm_mpoint, cellid, NULL, NULL, (void **)&mpfield_cell)); in MaterialPoint_AdvectRK1()
739 e = mpfield_cell[p]; in MaterialPoint_AdvectRK1()
780 PetscCall(DMSwarmRestoreField(dm_mpoint, cellid, NULL, NULL, (void **)&mpfield_cell)); in MaterialPoint_AdvectRK1()