Searched refs:idxLoc (Results 1 – 2 of 2) sorted by relevance
188 PetscInt idxLoc; in main() local190 idxLoc = 0; in main()191 pos[idxLoc].i = e; /* This element in the 1d ordering */ in main()192 pos[idxLoc].loc = ELEMENT; /* Element-centered dofs (p) */ in main()193 pos[idxLoc].c = 0; /* Component 0 : first (and only) p dof */ in main()194 val[idxLoc] = 0.0; /* p - u'(x) = 0 */ in main()195 ++idxLoc; in main()199 pos[idxLoc].i = e; /* This element in the 1d ordering */ in main()200 pos[idxLoc].loc = LEFT; /* Left vertex */ in main()201 pos[idxLoc].c = 0; in main()[all …]
96 PetscInt idxLoc; in CreateSystem1d() local100 idxLoc = 0; in CreateSystem1d()101 pos[idxLoc].i = e; in CreateSystem1d()102 pos[idxLoc].loc = DMSTAG_ELEMENT; in CreateSystem1d()103 pos[idxLoc].c = 0; in CreateSystem1d()104 val[idxLoc] = 1.0; /* 0 pressure forcing term (physical) */ in CreateSystem1d()105 ++idxLoc; in CreateSystem1d()107 idxLoc = 0; in CreateSystem1d()108 pos[idxLoc].i = e; in CreateSystem1d()109 pos[idxLoc].loc = DMSTAG_ELEMENT; in CreateSystem1d()[all …]