Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex49.c716 Vec properties, l_properties; in solve_elasticity_2d() local
780 PetscCall(DMCreateLocalVector(da_prop, &l_properties)); in solve_elasticity_2d()
781 PetscCall(DMDAVecGetArray(da_prop, l_properties, &element_props)); in solve_elasticity_2d()
952 PetscCall(DMDAVecRestoreArray(da_prop, l_properties, &element_props)); in solve_elasticity_2d()
953 PetscCall(DMLocalToGlobalBegin(da_prop, l_properties, ADD_VALUES, properties)); in solve_elasticity_2d()
954 PetscCall(DMLocalToGlobalEnd(da_prop, l_properties, ADD_VALUES, properties)); in solve_elasticity_2d()
1029 PetscCall(VecDestroy(&l_properties)); in solve_elasticity_2d()
H A Dex43.c1112 Vec properties, l_properties; in solve_stokes_2d_coupled() local
1175 PetscCall(DMCreateLocalVector(da_prop, &l_properties)); in solve_stokes_2d_coupled()
1176 PetscCall(DMDAVecGetArray(da_prop, l_properties, &element_props)); in solve_stokes_2d_coupled()
1401 PetscCall(DMDAVecRestoreArray(da_prop, l_properties, &element_props)); in solve_stokes_2d_coupled()
1402 PetscCall(DMLocalToGlobalBegin(da_prop, l_properties, ADD_VALUES, properties)); in solve_stokes_2d_coupled()
1403 PetscCall(DMLocalToGlobalEnd(da_prop, l_properties, ADD_VALUES, properties)); in solve_stokes_2d_coupled()
1612 PetscCall(VecDestroy(&l_properties)); in solve_stokes_2d_coupled()