Lines Matching refs:dmc

466 static PetscErrorCode DMSwarmComputeMassMatrix_Private(DM dmc, DM dmf, Mat mass, PetscBool useDelta…  in DMSwarmComputeMassMatrix_Private()  argument
496 PetscCall(DMSwarmGetCellDMActive(dmc, &celldm)); in DMSwarmComputeMassMatrix_Private()
530 PetscCall(DMSwarmSortGetAccess(dmc)); in DMSwarmComputeMassMatrix_Private()
546 PetscCall(DMSwarmSortGetPointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrix_Private()
568 PetscCall(DMSwarmSortRestorePointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrix_Private()
589 …for (PetscInt i = 0; i < Nfc; ++i) PetscCall(DMSwarmGetField(dmc, coordFields[i], &bs[i], NULL, (v… in DMSwarmComputeMassMatrix_Private()
597 PetscCall(DMSwarmSortGetPointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrix_Private()
626 PetscCall(DMSwarmSortRestorePointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrix_Private()
630 …for (PetscInt i = 0; i < Nfc; ++i) PetscCall(DMSwarmRestoreField(dmc, coordFields[i], &bs[i], NULL… in DMSwarmComputeMassMatrix_Private()
633 PetscCall(DMSwarmSortRestoreAccess(dmc)); in DMSwarmComputeMassMatrix_Private()
689 static PetscErrorCode DMSwarmComputeMassMatrixSquare_Private(DM dmc, DM dmf, Mat mass, PetscBool us… in DMSwarmComputeMassMatrixSquare_Private() argument
719 PetscCall(DMSwarmGetCellDMActive(dmc, &celldm)); in DMSwarmComputeMassMatrixSquare_Private()
747 PetscCall(DMSwarmSortGetAccess(dmc)); in DMSwarmComputeMassMatrixSquare_Private()
755 PetscCall(DMSwarmSortGetPointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrixSquare_Private()
768 PetscCall(DMSwarmSortGetPointsPerCell(dmc, ncell, &numNCIndices, &ncindices)); in DMSwarmComputeMassMatrixSquare_Private()
787 PetscCall(DMSwarmSortRestorePointsPerCell(dmc, ncell, &numNCIndices, &ncindices)); in DMSwarmComputeMassMatrixSquare_Private()
791 PetscCall(DMSwarmSortRestorePointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrixSquare_Private()
815 …for (PetscInt i = 0; i < Nfc; ++i) PetscCall(DMSwarmGetField(dmc, coordFields[i], &bs[i], NULL, (v… in DMSwarmComputeMassMatrixSquare_Private()
823 PetscCall(DMSwarmSortGetPointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrixSquare_Private()
859 PetscCall(DMSwarmSortRestorePointsPerCell(dmc, cell, &numCIndices, &cindices)); in DMSwarmComputeMassMatrixSquare_Private()
862 …for (PetscInt i = 0; i < Nfc; ++i) PetscCall(DMSwarmRestoreField(dmc, coordFields[i], &bs[i], NULL… in DMSwarmComputeMassMatrixSquare_Private()
866 PetscCall(DMSwarmSortRestoreAccess(dmc)); in DMSwarmComputeMassMatrixSquare_Private()
2551 DM dmc, subdmc; in DMSwarmGetCellSwarm() local
2569 PetscCall(DMSwarmGetCellDM(sw, &dmc)); in DMSwarmGetCellSwarm()
2571 PetscCall(DMAddLabel(dmc, label)); in DMSwarmGetCellSwarm()
2573 …PetscCall(DMPlexFilter(dmc, label, 1, PETSC_FALSE, PETSC_FALSE, PetscObjectComm((PetscObject)dmc),… in DMSwarmGetCellSwarm()
2574 PetscCall(PetscObjectGetName((PetscObject)dmc, &name)); in DMSwarmGetCellSwarm()
2600 DM dmc; in DMSwarmRestoreCellSwarm() local
2610 PetscCall(DMSwarmGetCellDM(cellswarm, &dmc)); in DMSwarmRestoreCellSwarm()
2611 PetscCall(DMDestroy(&dmc)); in DMSwarmRestoreCellSwarm()