Searched refs:ones (Results 1 – 2 of 2) sorted by relevance
64 Vec boundary_mask, ones; in SetBCsFromICs() local67 PetscCall(DMGetGlobalVector(dm, &ones)); in SetBCsFromICs()69 PetscCall(VecSet(ones, 1.0)); in SetBCsFromICs()70 PetscCall(DMGlobalToLocal(dm, ones, INSERT_VALUES, boundary_mask)); in SetBCsFromICs()72 PetscCall(DMRestoreGlobalVector(dm, &ones)); in SetBCsFromICs()
1342 # style sheet in the list overrules the setting of the previous ones in the2028 # style sheet in the list overrules the setting of the previous ones in the