Searched refs:ngp (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex70.c | 102 static void CreateGaussQuadrature(PetscInt *ngp, PetscScalar gp_xi[][2], PetscScalar gp_weight[]) in CreateGaussQuadrature() argument 104 *ngp = 4; in CreateGaussQuadrature() 149 PetscInt p, i, j, k, ngp; in BForm_DivT() local 152 CreateGaussQuadrature(&ngp, gp_xi, gp_weight); in BForm_DivT() 155 for (p = 0; p < ngp; p++) { in BForm_DivT() 196 PetscInt p, i, j, di, ngp; in BForm_Grad() local 199 CreateGaussQuadrature(&ngp, gp_xi, gp_weight); in BForm_Grad() 202 for (p = 0; p < ngp; p++) { in BForm_Grad() 242 PetscInt p, i, j, ngp; in BForm_Stabilisation() local 245 CreateGaussQuadrature(&ngp, gp_xi, gp_weight); in BForm_Stabilisation() [all …]
|
| H A D | ex43.c | 174 static void ConstructGaussQuadrature(PetscInt *ngp, PetscScalar gp_xi[][2], PetscScalar gp_weight[]) in ConstructGaussQuadrature() argument 176 *ngp = 4; in ConstructGaussQuadrature() 493 PetscInt ngp; in FormStressOperatorQ1() local 502 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormStressOperatorQ1() 505 for (p = 0; p < ngp; p++) { in FormStressOperatorQ1() 543 PetscInt ngp; in FormGradientOperatorQ1() local 552 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormGradientOperatorQ1() 555 for (p = 0; p < ngp; p++) { in FormGradientOperatorQ1() 593 PetscInt ngp; in FormStabilisationOperatorQ1() local 602 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormStabilisationOperatorQ1() [all …]
|
| H A D | ex42.c | 228 static void ConstructGaussQuadrature3D(PetscInt *ngp, PetscScalar gp_xi[][NSD], PetscScalar gp_weig… in ConstructGaussQuadrature3D() argument 230 *ngp = 8; in ConstructGaussQuadrature3D() 594 PetscInt ngp; in FormStressOperatorQ13D() local 604 ConstructGaussQuadrature3D(&ngp, gp_xi, gp_weight); in FormStressOperatorQ13D() 607 for (p = 0; p < ngp; p++) { in FormStressOperatorQ13D() 667 PetscInt ngp; in FormGradientOperatorQ13D() local 676 ConstructGaussQuadrature3D(&ngp, gp_xi, gp_weight); in FormGradientOperatorQ13D() 679 for (p = 0; p < ngp; p++) { in FormGradientOperatorQ13D() 717 PetscInt ngp; in FormStabilisationOperatorQ13D() local 726 ConstructGaussQuadrature3D(&ngp, gp_xi, gp_weight); in FormStabilisationOperatorQ13D() [all …]
|
| H A D | ex49.c | 179 static void ConstructGaussQuadrature(PetscInt *ngp, PetscScalar gp_xi[][2], PetscScalar gp_weight[]) in ConstructGaussQuadrature() argument 181 *ngp = 4; in ConstructGaussQuadrature() 419 PetscInt ngp; in FormStressOperatorQ1() local 429 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormStressOperatorQ1() 432 for (p = 0; p < ngp; p++) { in FormStressOperatorQ1() 483 PetscInt ngp; in FormMomentumRhsQ1() local 492 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormMomentumRhsQ1() 495 for (p = 0; p < ngp; p++) { in FormMomentumRhsQ1() 796 PetscInt ngp; in solve_elasticity_2d() local 801 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in solve_elasticity_2d()
|