DAMASK_EICMD/installation/patch
Martin Diehl 20d8133fa9 diff for changes only directly related to PETSc 3.8 2017-11-21 15:15:55 +01:00
..
PETSc3.8 diff for changes only directly related to PETSc 3.8 2017-11-21 15:15:55 +01:00
README.md incorporating changes in PETSc and DAMASK 2017-11-20 12:57:30 +01:00
fwbw_derivative added patch to switch to fwbw_derivative 2016-11-29 09:52:14 -05:00

README.md

DAMASK patching

This folder contains patches that modify the functionality of the current version of DAMASK prior to the corresponding inclusion in the official release.

Usage

cd DAMASK_ROOT
patch -p1 < installation/patch/nameOfPatch

Available patches

  • fwbw_derivative switches the default spatial derivative from continuous to forward/backward difference.
    This generally reduces spurious oscillations in the result as the spatial accuracy of the derivative is then compatible with the underlying solution grid.

  • PETSc-3.8 adjusts all includes nad calls to PETSc to the 3.8.x API This allows to use the current version of PETSc

Create patch

commit your changes

git format-patch PATH_TO_COMPARE --stdout >