Searched refs:coord_x (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex43.c | 390 PetscScalar coord_x, coord_y; in DMDAViewGnuplot2d() local 393 coord_x = _coords[j][i].x; in DMDAViewGnuplot2d() 396 …PetscCall(PetscFPrintf(PETSC_COMM_SELF, fp, "%1.6e %1.6e ", (double)PetscRealPart(coord_x), (doubl… in DMDAViewGnuplot2d() 450 PetscScalar coord_x, coord_y; in DMDAViewCoefficientsGnuplot2d() local 453 coord_x = _coefficients[j][i].gp_coords[2 * p]; in DMDAViewCoefficientsGnuplot2d() 456 …PetscCall(PetscFPrintf(PETSC_COMM_SELF, fp, "%1.6e %1.6e ", (double)PetscRealPart(coord_x), (doubl… in DMDAViewCoefficientsGnuplot2d() 1226 PetscReal coord_x, coord_y; in solve_stokes_2d_coupled() local 1243 coord_x = centroid_x; in solve_stokes_2d_coupled() 1246 coord_x = PetscRealPart(element_props[j][i].gp_coords[2 * p]); in solve_stokes_2d_coupled() 1251 if (coord_x > opts_xc) element_props[j][i].eta[p] = opts_eta1; in solve_stokes_2d_coupled() [all …]
|
| H A D | ex49.c | 337 PetscScalar coord_x, coord_y; in DMDAViewGnuplot2d() local 340 coord_x = _coords[j][i].x; in DMDAViewGnuplot2d() 343 …PetscCall(PetscFPrintf(PETSC_COMM_SELF, fp, "%1.6e %1.6e ", (double)PetscRealPart(coord_x), (doubl… in DMDAViewGnuplot2d() 397 PetscScalar coord_x, coord_y; in DMDAViewCoefficientsGnuplot2d() local 400 coord_x = _coefficients[j][i].gp_coords[2 * p]; in DMDAViewCoefficientsGnuplot2d() 403 …PetscCall(PetscFPrintf(PETSC_COMM_SELF, fp, "%1.6e %1.6e ", (double)PetscRealPart(coord_x), (doubl… in DMDAViewCoefficientsGnuplot2d() 831 PETSC_UNUSED PetscScalar coord_x, coord_y; in solve_elasticity_2d() local 862 coord_x = centroid_x; in solve_elasticity_2d() 865 coord_x = element_props[j][i].gp_coords[2 * p]; in solve_elasticity_2d() 871 if (PetscRealPart(coord_x) > PetscRealPart(opts_xc)) { in solve_elasticity_2d()
|
| H A D | ex42.c | 1869 PetscReal coord_x = PetscRealPart(cell->gp_coords[NSD * p]); in solve_stokes_3d_coupled() local 1875 cell->fx[p] = 0.0 * coord_x; in solve_stokes_3d_coupled() 1876 … cell->fy[p] = -PetscSinReal(2.2 * PETSC_PI * coord_y) * PetscCosReal(1.0 * PETSC_PI * coord_x); in solve_stokes_3d_coupled() 1894 PetscReal coord_x = PetscRealPart(cell->gp_coords[NSD * p]); in solve_stokes_3d_coupled() local 1898 pos[0] = coord_x; in solve_stokes_3d_coupled() 1923 PetscReal coord_x = PetscRealPart(cell->gp_coords[NSD * p]); in solve_stokes_3d_coupled() local 1930 … cell->fy[p] = -PetscSinReal(3.0 * PETSC_PI * coord_y) * PetscCosReal(1.0 * PETSC_PI * coord_x); in solve_stokes_3d_coupled()
|