Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex49.c720 DMDACoor2d **_prop_coords, **_vel_coords; in solve_elasticity_2d() local
785 PetscCall(DMDAVecGetArray(prop_cda, prop_coords, &_prop_coords)); in solve_elasticity_2d()
829 PetscScalar centroid_x = _prop_coords[j][i].x; /* centroids of cell */ in solve_elasticity_2d()
830 PetscScalar centroid_y = _prop_coords[j][i].y; in solve_elasticity_2d()
948 PetscCall(DMDAVecRestoreArray(prop_cda, prop_coords, &_prop_coords)); in solve_elasticity_2d()
H A Dex43.c1115 DMDACoor2d **_prop_coords, **_vel_coords; in solve_stokes_2d_coupled() local
1180 PetscCall(DMDAVecGetArray(prop_cda, prop_coords, &_prop_coords)); in solve_stokes_2d_coupled()
1224 PetscReal centroid_x = PetscRealPart(_prop_coords[j][i].x); /* centroids of cell */ in solve_stokes_2d_coupled()
1225 PetscReal centroid_y = PetscRealPart(_prop_coords[j][i].y); in solve_stokes_2d_coupled()
1397 PetscCall(DMDAVecRestoreArray(prop_cda, prop_coords, &_prop_coords)); in solve_stokes_2d_coupled()