Lines Matching refs:celldm

299     DMSwarmCellDM celldm;  in SetupContext()  local
306 PetscCall(DMSwarmGetCellDMByName(sw, "velocity", &celldm)); in SetupContext()
307 PetscCall(DMSwarmCellDMGetDM(celldm, &vdm)); in SetupContext()
455 DMSwarmCellDM celldm; in computeVelocityFEMMoments() local
462 PetscCall(DMSwarmGetCellDMActive(sw, &celldm)); in computeVelocityFEMMoments()
463 PetscCall(DMSwarmCellDMGetDM(celldm, &vdm)); in computeVelocityFEMMoments()
1156 DMSwarmCellDM celldm; in InitializeParticles_Centroid() local
1182 PetscCall(DMSwarmGetCellDMByName(sw, "velocity", &celldm)); in InitializeParticles_Centroid()
1183 PetscCall(DMSwarmCellDMGetDM(celldm, &vdm)); in InitializeParticles_Centroid()
1200 PetscCall(DMSwarmGetCellDMActive(sw, &celldm)); in InitializeParticles_Centroid()
1201 PetscCall(DMSwarmCellDMGetCellID(celldm, &cellidname)); in InitializeParticles_Centroid()
1277 DMSwarmCellDM celldm; in InitializeWeights() local
1296 PetscCall(DMSwarmGetCellDMByName(sw, "velocity", &celldm)); in InitializeWeights()
1297 PetscCall(DMSwarmCellDMGetDM(celldm, &vdm)); in InitializeWeights()
1459 DMSwarmCellDM celldm; in CreateSwarm() local
1479 PetscCall(DMSwarmCellDMCreate(dm, 2, fieldnames, 1, fieldnames, &celldm)); in CreateSwarm()
1480 PetscCall(DMSwarmAddCellDM(*sw, celldm)); in CreateSwarm()
1481 PetscCall(DMSwarmCellDMDestroy(&celldm)); in CreateSwarm()
1486 PetscCall(DMSwarmCellDMCreate(vdm, 1, vfieldnames, 1, &fieldnames[1], &celldm)); in CreateSwarm()
1487 PetscCall(DMSwarmAddCellDM(*sw, celldm)); in CreateSwarm()
1488 PetscCall(DMSwarmCellDMDestroy(&celldm)); in CreateSwarm()
1496 PetscCall(DMSwarmCellDMCreate(mdm, 1, vfieldnames, 1, fieldnames, &celldm)); in CreateSwarm()
1498 PetscCall(DMSwarmAddCellDM(*sw, celldm)); in CreateSwarm()
1499 PetscCall(DMSwarmCellDMDestroy(&celldm)); in CreateSwarm()