History log of /petsc/src/vec/is/sf/tutorials/ex1.c (Results 1 – 25 of 57)
Revision Date Author Comments
# 732aec7a 22-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/remove-cast' into 'main'

Use NULL or nullptr instead of casted 0

See merge request petsc/petsc!7857


# c8025a54 21-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Use NULL or nullptr instead of casted 0


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


# 9ddca861 09-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/bugfix-sfwindow' into 'main'

Add PetscSFRegisterPersistent() and fix PETSCSFWINDOW for empty ranks

See merge request petsc/petsc!7786


# 8e54d7e8 03-Sep-2024 Toby Isaac <toby.isaac@gmail.com>

PetscSF: Create PetscSFRegisterPersistent()/PetscSFDeregisterPersistent()

PetscSF: use PetscSFRegisterPersistent()/PetscSFDeregisterPeristent() in examples


# 73667fc3 18-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2024-06-14/feature-improve-mpi-pkg-macros' into 'main'

Improve various MPI packages' macro and try to make them consistent with other packages

See merge request petsc/petsc!76

Merge branch 'jczhang/2024-06-14/feature-improve-mpi-pkg-macros' into 'main'

Improve various MPI packages' macro and try to make them consistent with other packages

See merge request petsc/petsc!7633

show more ...


# e3c15826 14-Jun-2024 Junchao Zhang <jczhang@anl.gov>

Config: get rid of PETSC_HAVE_MPICH_NUMVERSION and use petscpkg_version.h


# e9c2de13 14-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/vectorsf' into 'main'

PetscSF: implement PetscSFCreateStridedSF

See merge request petsc/petsc!7359


# 0dd791a8 11-Mar-2024 Stefano Zampini <stefano.zampini@gmail.com>

PetscSF: implement PetscSFCreateStridedSF


# 5a7a9864 14-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jeremy/less-strcpy-strcat' into 'main'

Use Petsc[Strncpy,Strlcat,Memcpy] over Petsc[Strcpy,Strcat]

Closes #1332

See merge request petsc/petsc!6115


# c6a7a370 24-Feb-2023 Jeremy L Thompson <jeremy@jeremylt.org>

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over PetscMemcpy() as appropriate for string buffer copying
- Use built in string from name over hardcoding
- Use sizeof over hardcoded length
- Replace some Strlcat with Strncpy when offset is known

show more ...


# 31d78bcd 02-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'

Feature: Non-discardable PetscErrorCode

See merge request petsc/petsc!5923


# 3ba16761 10-Dec-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make PetscErrorCode a non-discardable enum


# 061e922f 22-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'

Feature: Bicycle Storage Facility 2

See merge request petsc/petsc!5661


# d71ae5a4 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

source code format changes due to .clang-format changes


# f0af967e 29-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-style-one-liners' into 'main'

Remove braces from one-liners w/o PetscCall()

See merge request petsc/petsc!5561


# ad540459 29-Aug-2022 Pierre Jolivet <pierre@joliv.et>

Remove braces from one-liners w/o PetscCall()


# 38f67375 27-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-style-one-liners' into 'main'

Remove braces from one-liners

See merge request petsc/petsc!5557


# 48a46eb9 27-Aug-2022 Pierre Jolivet <pierre@joliv.et>

Remove braces from one-liners


# 58d68138 23-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-21/clang-format-source' into 'main'

format repository with clang-format

See merge request petsc/petsc!5541


# 9371c9d4 22-Aug-2022 Satish Balay <balay@mcs.anl.gov>

clang-format: convert PETSc sources to comply with clang-format


# 5cab5458 26-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-07-23/add-petscbeginuser' into 'main'

Add PetscFunctionBeginUser to all PETSc C/C++ examples

See merge request petsc/petsc!5470


# 327415f7 23-Jul-2022 Barry Smith <bsmith@mcs.anl.gov>

Add PetscFunctionBeginUser to all PETSc C/C++ examples

Now the stack frames will contain the main program and the correct line numbers in them

git ls-files | egrep "(tutorials|tests)" | xargs sed -

Add PetscFunctionBeginUser to all PETSc C/C++ examples

Now the stack frames will contain the main program and the correct line numbers in them

git ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"

Commit-type: error-checking, testing-fix
/spend 15m

show more ...


# 527ad957 11-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-04-01/fix-petsc-options-begin-end/release' into 'main'

Remove bogus error returns from Begin/End() macros

See merge request petsc/petsc!5069


123