History log of /petsc/src/snes/tutorials/ex5.c (Results 51 – 75 of 76)
Revision Date Author Comments
# b122ec5a 24-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+ return 0;

show more ...


# 5f80ce2a 24-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

chkerr and friends wrapped


# 1241a243 13-Feb-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-01-05/c99' into 'main'

Feature: C99 and C++11

See merge request petsc/petsc!4700


# 2c71b3e2 11-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()


# 9ace16cd 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

add PetscAssert() and PetscAssertFalse()


# 98921bda 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

SETERRQ[1-9]+ begone


# 3bd0db69 29-Nov-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2021-11-24/feature-plex-clearer-cells-per-rank' into 'main'

Fix DMView_Plex_ASCII to have clearer indications of what the numbers after i-cells are (per rank)

See merge request

Merge branch 'barry/2021-11-24/feature-plex-clearer-cells-per-rank' into 'main'

Fix DMView_Plex_ASCII to have clearer indications of what the numbers after i-cells are (per rank)

See merge request petsc/petsc!4599

show more ...


# 9880b877 25-Nov-2021 Barry Smith <bsmith@mcs.anl.gov>

Fix DMView_Plex_ASCII to have clearer indications of what the numbers after i-cells are (per rank)

Update the test output files

Commit-type: debugability
\spend 45m


# a7bd641c 19-Oct-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2021-06-10/fix-chkerrq' into 'main'

Fix missing ierr =, removed incorrect CHKERRQ(), change CHKStringError

See merge request petsc/petsc!4078


# 2f613bf5 10-Jun-2021 Barry Smith <bsmith@petsc.dev>

Fix missing ierr =, removed incorrect CHKERRQ()

Commit-type: error-checking, style-fix
\spend 45m


# 168bb9f7 13-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'balay/fix-misleading-indentation' into 'main'

g++11: fix -Werror=misleading-indentation

See merge request petsc/petsc!4298


# 60d4fc61 10-Sep-2021 Satish Balay <balay@mcs.anl.gov>

g++11: fix -Werror=misleading-indentation


# 568088ac 08-Aug-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/unify-getctx' into 'main'

Unify XXGetYYContext calls

See merge request petsc/petsc!4212


# 3ec1f749 04-Aug-2021 Stefano Zampini <stefano.zampini@gmail.com>

Unify XXGetYYContext calls

always use void*


# a8cf78f8 24-May-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2021-05-16/fix-double-lines' into 'main'

Fix typos in source

See merge request petsc/petsc!3984


# 4e278199 16-May-2021 Barry Smith <bsmith@mcs.anl.gov>

Remove all double blank lines from source

Commit-type: petsc-style
/2h


# 49824467 13-Apr-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2021-04-06/fix-bad-error-code-returns' into 'main'

Fix bad error code returns in various places in PETSc

See merge request petsc/petsc!3846


# d8185827 07-Apr-2021 Barry Smith <bsmith@mcs.anl.gov>

Fix code that did not pass appropriate PETSc error flags to SETERRQ()

Add checkbadSource check for use of SETERRQ() without an appropriate error flag

Commit-type: error-checking, bug-fix, testing-f

Fix code that did not pass appropriate PETSc error flags to SETERRQ()

Add checkbadSource check for use of SETERRQ() without an appropriate error flag

Commit-type: error-checking, bug-fix, testing-fix, style-fix
/spend 2.5h

show more ...


# bdea225a 30-Dec-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-10-08/fix-mpi-error-codes' into 'master'

Convert MPI error type to PETSc error with string message for all MPI calls

See merge request petsc/petsc!3326


# ffc4695b 08-Oct-2020 Barry Smith <bsmith@mcs.anl.gov>

Convert MPI error type to PETSc error with string message for all MPI calls

Now PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro

Convert MPI error type to PETSc error with string message for all MPI calls

Now PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their
errors better.

The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces
seemingly random failures.

Commit-type: error-checking
/spend 30m

show more ...


# 16924cb1 26-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc!3064

show more ...


# 2da392cc 17-Aug-2020 Barry Smith <bsmith@mcs.anl.gov>

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

Commit-type: portability-fix, testing-fix, style-fix, feature, maintainability
/spend 1.5h


# 9c15a9aa 24-Apr-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jed/defined-nocpp' into 'master'

PetscDefined: test whether a configuration macro is defined without #ifdef

See merge request petsc/petsc!157


# 4e1ad211 27-Mar-2014 Jed Brown <jed@jedbrown.org>

PetscDefined: test whether a configuration macro is defined without #ifdef

This allows testing configuration macros from normal code, thus avoiding
unused variable warnings and allowing the compiler

PetscDefined: test whether a configuration macro is defined without #ifdef

This allows testing configuration macros from normal code, thus avoiding
unused variable warnings and allowing the compiler to check for syntax
errors throughout all alternatives. This uses C99-style variadic
macros with a second expansion to appease MSVC's non-conforming
implementation of variadic macros.

This trick was introduced by "comex" on Google+ in response to a
question posed by Linus Torvalds.
https://plus.google.com/+LinusTorvalds/posts/9gntjh57dXt

This technique (modulo MSVC support) was implemented in the Linux kernel by Paul Gortmaker:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=69349c2dc01c489eccaa4c472542c08e370c6d7e

show more ...


# c20d7725 22-Mar-2020 Jed Brown <jed@jedbrown.org>

Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]

* jed/promote-examples-tests-tutorials:
Promote examples/{tests,tutorials}/ to {tests,tutorials}/


1234