| 44e31281 | 04-Dec-2018 |
Karl Rupp <me@karlrupp.net> |
Merge branch 'barry/fix-trivial-format-issue/maint' [PR #1256]
* barry/fix-trivial-format-issue/maint: Script that generates HTML version of the code produced the single line else {PetscObjectQuery
Merge branch 'barry/fix-trivial-format-issue/maint' [PR #1256]
* barry/fix-trivial-format-issue/maint: Script that generates HTML version of the code produced the single line else {PetscObjectQuery(...);} because it strips out lines with PetscValidHeaderSpecific(...). Hence separating code into the "error checking part" and the "functional part", which is better style anyways.
show more ...
|
| d27375ac | 02-Dec-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Script that generates HTML version of the code produced the single line
else {PetscObjectQuery((PetscObject)B,"SNESMatFDColoring",(PetscObject*)&color);}
for this function; because it strips out li
Script that generates HTML version of the code produced the single line
else {PetscObjectQuery((PetscObject)B,"SNESMatFDColoring",(PetscObject*)&color);}
for this function; because it strips out lines with PetscValidHeaderSpecific(color,MAT_FDCOLORING_CLASSID,6)
Therefor seperate code into the "error checking part" and the "functional part", which is better style anyways.
Commit-type: style-fix, documentation Reported-by: Dave May <dave.mayhem23@gmail.com>
show more ...
|
| a0c90127 | 19-Nov-2018 |
Fande Kong <fdkong.jd@gmail.com> |
Destroy mviewer if it was created in SNESTestJacobian
Otherwise we will have something like
[ 1]32 bytes PetscFunctionListAdd_Private() line 246 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-
Destroy mviewer if it was created in SNESTestJacobian
Otherwise we will have something like
[ 1]32 bytes PetscFunctionListAdd_Private() line 246 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-opt/PR-1239/src/sys/dll/reg.c [ 1]32 bytes PetscStrallocpy() line 192 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-opt/PR-1239/src/sys/utils/str.c [ 1]32 bytes PetscFunctionListAdd_Private() line 213 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-opt/PR-1239/src/sys/dll/reg.c [ 1]96 bytes PetscViewerCreate_ASCII() line 852 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-opt/PR-1239/src/sys/classes/viewer/impls/ascii/filev.c [ 1]16 bytes PetscStrallocpy() line 192 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-opt/PR-1239/src/sys/utils/str.c [ 1]752 bytes PetscViewerCreate() line 396 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-opt/PR-1239/src/sys/classes/viewer/interface/viewreg.c [ 1]16 bytes PetscCommDuplicate() line 143 in /home/petsc/jenkins/arch-jenkins-linux-gcc-pkgs-opt/PR-1239/src/sys/objects/tagm.c
show more ...
|