History log of /petsc/src/sys/utils/sorti.c (Results 76 – 100 of 275)
Revision Date Author Comments
# 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()


# e1c17254 08-Feb-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# be653235 07-Feb-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-docs-petscsortintpermutation' into 'release'

Docs: missing With in PetscSortIntWithPermutation

See merge request petsc/petsc!4817


# 66f49146 07-Feb-2022 Pierre Jolivet <pierre@joliv.et>

Docs: missing With in PetscSortIntWithPermutation


# 6762c164 15-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'psanan-release-patch-82973' into 'main'

Developer docs, style: remove rule about using "if (!rank)" and replace all "!rank" usage with "rank == 0"

See merge request petsc/petsc!4146


# dd400576 26-Jul-2021 Patrick Sanan <patrick.sanan@gmail.com>

Style: replace "!rank" with "rank == 0"

In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les

Style: replace "!rank" with "rank == 0"

In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds less
tightly, so the result of the computation would otherwise change.

show more ...


# c1bf08c5 06-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/spelling-errors' into 'main'

Fix many spelling errors in manpages and comments

See merge request petsc/petsc!4283


# a5b23f4a 03-Sep-2021 Jose E. Roman <jroman@dsic.upv.es>

Fix spelling errors in manpages and comments


# f482f063 21-Jun-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/checkstack' into 'main'

Check Push/Pop

See merge request petsc/petsc!4077


# 362febee 10-Jun-2021 Stefano Zampini <stefano.zampini@gmail.com>

PetscStack : check for correct push/pop

Enforce checkstack for CI jobs
Fixes from testsuite


# 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


# 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 ...


# fac60ca8 08-Sep-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/7-2020/feature/timsort' into 'master'

Feature: PetscTimSort[WithArray]

See merge request petsc/petsc!3019


# 676f2a66 27-Jul-2020 Jacob Faibussowitsch <jacob.fai@gmail.com>

PetscTimSort[WithArray]() implements Tim Peters hybrid sort algorithm
(https://bugs.python.org/file4451/timsort.txt) which takes advantage of already ordered
consecutive elements in data to sort "rea

PetscTimSort[WithArray]() implements Tim Peters hybrid sort algorithm
(https://bugs.python.org/file4451/timsort.txt) which takes advantage of already ordered
consecutive elements in data to sort "real world data" faster.

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


# 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}/


# c4762a1b 18-Mar-2020 Jed Brown <jed@jedbrown.org>

Promote examples/{tests,tutorials}/ to {tests,tutorials}/

This shortens paths and improves consistency between test target names
and paths to the source and output files. Most of the work was
compl

Promote examples/{tests,tutorials}/ to {tests,tutorials}/

This shortens paths and improves consistency between test target names
and paths to the source and output files. Most of the work was
completed by this script, followed by mild cleanup of nonconforming
cases.

for makefile in `git ls-files 'src/*makefile'`; do
if rg -q 'DIRS.*\bexamples\b' $makefile; then
base=$(dirname $makefile)
dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo)
perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile
git rm $base/examples/makefile
for t in $dirs; do
git mv $base/examples/$t $base/
perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t
done
fi
done

git grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g'
git checkout @ \
src/docs/website/documentation/changes/ \
src/benchmarks/results/

show more ...


# a9e32f46 12-Dec-2019 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/petscpartitioner-target-weights' into 'master'

Fix PetscPartitioner and add support for target partition weights

See merge request petsc/petsc!2333


# fb61b9e4 27-Nov-2019 Stefano Zampini <stefano.zampini@gmail.com>

PetscSortedIntRemoveDups: use PetscCheckSorted


# 5c01c09e 06-Nov-2019 Satish Balay <balay@mcs.anl.gov>

Merge branch 'haplav/feature-petscsortedint' into 'master'

PetscFind{Int,MPIInt,Real}: Check in debug mode whether input array is sorted.

See merge request petsc/petsc!2248


# 6a7c706b 31-Oct-2019 Vaclav Hapla <vaclav.hapla@erdw.ethz.ch>

PetscFind{Int,MPIInt,Real}: Check in debug mode whether input array is sorted.

* Add PetscSorted macro.
* Add PetscSorted{Int,MPIInt,Real} functions using it.
* Use it in ISGetInfo_Sorted.
*

PetscFind{Int,MPIInt,Real}: Check in debug mode whether input array is sorted.

* Add PetscSorted macro.
* Add PetscSorted{Int,MPIInt,Real} functions using it.
* Use it in ISGetInfo_Sorted.
* Add PetscCheckSorted debug mode macro using it.
* Use it in PetscFind{Int,MPIInt,Real}.

show more ...


1234567891011