Searched refs:Me2D (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex51.c | 31 PetscScalar *Ke1D, *Ke2D, *Me1D, *Me2D; in main() local 76 PetscCall(PetscMalloc1(num2Dnodes * num2Dnodes, &Me2D)); in main() 88 PetscCall(Form2DElementMass(p, Me1D, Me2D)); in main() 98 PetscCall(MatSetValues(Mass, num2Dnodes, idx, num2Dnodes, idx, Me2D, ADD_VALUES)); in main() 107 PetscCall(PetscFree(Me2D)); in main() 263 static PetscErrorCode Form2DElementMass(PetscInt P, PetscScalar *Me1D, PetscScalar *Me2D) in Form2DElementMass() argument 276 Me2D[indx3] = Me1D[indx1] * Me1D[indx2]; in Form2DElementMass()
|