Home
last modified time | relevance | path

Searched refs:copy2 (Results 1 – 4 of 4) sorted by relevance

/petsc/src/tao/tutorials/
H A Dex4.c315 Vec copy1, copy2, copy3; in HessianRegularization() local
329 copy2 = ctx->workRight[2]; in HessianRegularization()
338 PetscCall(VecCopy(x, copy2)); in HessianRegularization()
339 PetscCall(VecPow(copy2, 2)); in HessianRegularization()
346 PetscCall(VecPointwiseDivide(copy2, copy2, copy3)); in HessianRegularization()
347 PetscCall(VecScale(copy2, -1.)); in HessianRegularization()
348 PetscCall(VecShift(copy2, 1.)); in HessianRegularization()
349 PetscCall(VecAXPY(copy1, 1., copy2)); in HessianRegularization()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dtest_main.py30 shutil.copy2(str(self.fname), str(self.temp_path))
/petsc/config/
H A Dinstall.py133 def copyfile(self, src, dst, symlinks = False, copyFunc = shutil.copy2):
205 …def copytree(self, src, dst, symlinks = False, copyFunc = shutil.copy2, exclude = [], exclude_ext=…
540 shutil.copy2(src, dst)
/petsc/lib/petsc/bin/maint/
H A Dgcov.py371 return shutil.copy2(reports[0], dest_path)