Searched refs:gp_weight (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex42.c | 228 …c void ConstructGaussQuadrature3D(PetscInt *ngp, PetscScalar gp_xi[][NSD], PetscScalar gp_weight[]) in ConstructGaussQuadrature3D() argument 257 gp_weight[0] = 1.0; in ConstructGaussQuadrature3D() 258 gp_weight[1] = 1.0; in ConstructGaussQuadrature3D() 259 gp_weight[2] = 1.0; in ConstructGaussQuadrature3D() 260 gp_weight[3] = 1.0; in ConstructGaussQuadrature3D() 262 gp_weight[4] = 1.0; in ConstructGaussQuadrature3D() 263 gp_weight[5] = 1.0; in ConstructGaussQuadrature3D() 264 gp_weight[6] = 1.0; in ConstructGaussQuadrature3D() 265 gp_weight[7] = 1.0; in ConstructGaussQuadrature3D() 596 PetscScalar gp_weight[GAUSS_POINTS]; in FormStressOperatorQ13D() local [all …]
|
| H A D | ex70.c | 102 static void CreateGaussQuadrature(PetscInt *ngp, PetscScalar gp_xi[][2], PetscScalar gp_weight[]) in CreateGaussQuadrature() argument 113 gp_weight[0] = 1.0; in CreateGaussQuadrature() 114 gp_weight[1] = 1.0; in CreateGaussQuadrature() 115 gp_weight[2] = 1.0; in CreateGaussQuadrature() 116 gp_weight[3] = 1.0; in CreateGaussQuadrature() 145 PetscScalar gp_xi[GAUSS_POINTS][NSD], gp_weight[GAUSS_POINTS]; in BForm_DivT() local 152 CreateGaussQuadrature(&ngp, gp_xi, gp_weight); in BForm_DivT() 171 tildeD[0] = 2.0 * gp_weight[p] * J_p * eta[p]; in BForm_DivT() 172 tildeD[1] = 2.0 * gp_weight[p] * J_p * eta[p]; in BForm_DivT() 173 tildeD[2] = gp_weight[p] * J_p * eta[p]; in BForm_DivT() [all …]
|
| H A D | ex43.c | 174 static void ConstructGaussQuadrature(PetscInt *ngp, PetscScalar gp_xi[][2], PetscScalar gp_weight[]) in ConstructGaussQuadrature() argument 185 gp_weight[0] = 1.0; in ConstructGaussQuadrature() 186 gp_weight[1] = 1.0; in ConstructGaussQuadrature() 187 gp_weight[2] = 1.0; in ConstructGaussQuadrature() 188 gp_weight[3] = 1.0; in ConstructGaussQuadrature() 495 PetscScalar gp_weight[GAUSS_POINTS]; in FormStressOperatorQ1() local 502 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormStressOperatorQ1() 521 tildeD[0] = 2.0 * gp_weight[p] * J_p * eta[p]; in FormStressOperatorQ1() 522 tildeD[1] = 2.0 * gp_weight[p] * J_p * eta[p]; in FormStressOperatorQ1() 523 tildeD[2] = gp_weight[p] * J_p * eta[p]; in FormStressOperatorQ1() [all …]
|
| H A D | ex49.c | 179 static void ConstructGaussQuadrature(PetscInt *ngp, PetscScalar gp_xi[][2], PetscScalar gp_weight[]) in ConstructGaussQuadrature() argument 190 gp_weight[0] = 1.0; in ConstructGaussQuadrature() 191 gp_weight[1] = 1.0; in ConstructGaussQuadrature() 192 gp_weight[2] = 1.0; in ConstructGaussQuadrature() 193 gp_weight[3] = 1.0; in ConstructGaussQuadrature() 421 PetscScalar gp_weight[GAUSS_POINTS]; in FormStressOperatorQ1() local 429 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormStressOperatorQ1() 462 for (j = 0; j < 3; j++) constit_D[i][j] = factor * constit_D[i][j] * gp_weight[p] * J_p; in FormStressOperatorQ1() 485 PetscScalar gp_weight[GAUSS_POINTS]; in FormMomentumRhsQ1() local 492 ConstructGaussQuadrature(&ngp, gp_xi, gp_weight); in FormMomentumRhsQ1() [all …]
|