| dcca6d9d | 03-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
PetscMalloc[2-7]: remove type arguments, infer from pointer type
This change can be performed almost entirely by this script:
git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \ -e ' s@PetscMalloc
PetscMalloc[2-7]: remove type arguments, infer from pointer type
This change can be performed almost entirely by this script:
git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \ -e ' s@PetscMalloc2\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc2($1,$3,$4,$6)@; s@PetscMalloc3\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc3($1,$3,$4,$6,$7,$9)@; s@PetscMalloc4\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc4($1,$3,$4,$6,$7,$9,$10,$12)@; s@PetscMalloc5\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc5($1,$3,$4,$6,$7,$9,$10,$12,$13,$15)@; s@PetscMalloc6\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc6($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18)@; s@PetscMalloc7\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc7($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18,$19,$21)@; '
show more ...
|
| a8a0fb17 | 20-Oct-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Merge branch 'emil/ts-rk-rehab'
Renovate explicit Runge-Kutta methods to use TSAdapt and support easy registration of additional schemes.
* emil/ts-rk-rehab: TSRK: remove TSRKSetTolerance because
Merge branch 'emil/ts-rk-rehab'
Renovate explicit Runge-Kutta methods to use TSAdapt and support easy registration of additional schemes.
* emil/ts-rk-rehab: TSRK: remove TSRKSetTolerance because we now use TSAdapt Updated the documentation for using RK schemes with variable timesteps Changed the default RK type to be RK3BS (Bogacki-Shampine) which has an embedded method minor edits in rk and adding petsc math types in ex31 Added comments documenting the Dormand-Prince and Bogacki-Shampine RK methods... Added a Boolean variable to indicate of method is FSAL Added Dormand-Prince and Bogacki-Shampine RK schemes... Implemented the renovated RK. The first 6 commits are squashed and the text is preserved below.
show more ...
|