Lines Matching refs:celldm
454 DMSwarmCellDM celldm; in InitializeParticles_Centroid() local
480 PetscCall(DMSwarmGetCellDMByName(sw, "velocity", &celldm)); in InitializeParticles_Centroid()
481 PetscCall(DMSwarmCellDMGetDM(celldm, &vdm)); in InitializeParticles_Centroid()
498 PetscCall(DMSwarmGetCellDMActive(sw, &celldm)); in InitializeParticles_Centroid()
499 PetscCall(DMSwarmCellDMGetCellID(celldm, &cellidname)); in InitializeParticles_Centroid()
580 DMSwarmCellDM celldm; in InitializeWeights() local
599 PetscCall(DMSwarmGetCellDMByName(sw, "velocity", &celldm)); in InitializeWeights()
600 PetscCall(DMSwarmCellDMGetDM(celldm, &vdm)); in InitializeWeights()
923 DMSwarmCellDM celldm; in CreateSwarm() local
941 PetscCall(DMSwarmCellDMCreate(dm, 2, fieldnames, 1, fieldnames, &celldm)); in CreateSwarm()
942 PetscCall(DMSwarmAddCellDM(*sw, celldm)); in CreateSwarm()
943 PetscCall(DMSwarmCellDMDestroy(&celldm)); in CreateSwarm()
949 PetscCall(DMSwarmCellDMCreate(vdm, 1, vfieldnames, 1, &fieldnames[1], &celldm)); in CreateSwarm()
950 PetscCall(DMSwarmAddCellDM(*sw, celldm)); in CreateSwarm()
951 PetscCall(DMSwarmCellDMDestroy(&celldm)); in CreateSwarm()
959 PetscCall(DMSwarmCellDMCreate(mdm, 1, vfieldnames, 1, fieldnames, &celldm)); in CreateSwarm()
961 PetscCall(DMSwarmAddCellDM(*sw, celldm)); in CreateSwarm()
962 PetscCall(DMSwarmCellDMDestroy(&celldm)); in CreateSwarm()