History log of /petsc/src/sys/classes/viewer/impls/ascii/vcreatea.c (Results 1 – 25 of 174)
Revision Date Author Comments
# 51b144c6 29-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'MarDiehl/use-bool-instead-of-enum' into 'main'

use bool instead of enum

See merge request petsc/petsc!8528


# b8b5be36 21-Jul-2025 Martin Diehl <mail@martin-diehl.net>

distinguish Boolean and Integer

MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name
this flag "iflg" (was used somewhere already).
Use MPI_LAND instead of MPI_BAND for logical op

distinguish Boolean and Integer

MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name
this flag "iflg" (was used somewhere already).
Use MPI_LAND instead of MPI_BAND for logical operations instead of
MPI_MIN, MPI_MAX, and MPI_LAND.

Note: Most of the previous code was probably working as intended, I did
the changes when debugging error related to the use of standard C Bool and
kept them because it took me a while to understand that MPI has integer
flags and PETSc has Booleans. Using different names makes this clear,
but was and is not done consistently.

show more ...


# 174dc0c8 28-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 63ad3209 25-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-04-17/rm-dollar-sign-formated-manualpages/release' into 'release'

Remove the last of the uses of $ in the first line of formatted manual pages

See merge request petsc/petsc

Merge branch 'barry/2025-04-17/rm-dollar-sign-formated-manualpages/release' into 'release'

Remove the last of the uses of $ in the first line of formatted manual pages

See merge request petsc/petsc!8332

show more ...


# b44f4de4 25-Apr-2025 Barry Smith <bsmith@mcs.anl.gov>

Remove the last of the uses of $ in the first line of formatted manual pages


# 09b68a49 04-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 1a61deb2 31-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-03-29/docs-fortran/release' into 'release'

Fix manual pages related to Fortran

See merge request petsc/petsc!8257


# feaf08ea 31-Mar-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix manual pages related to Fortran

Remove a couple of dead Fortran bindings


# 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


# a24cdd0d 21-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-17/fix-petsccallmpi-misuse' into 'main'

Introduce PetscCallReturnMPI() to check for PETSc errors in PETSc provided MPI callpacks

See merge request petsc/petsc!7844


# 7c5b2466 18-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Introduce PetscCallReturnMPI() to check for PETSc errors in PETSc provided MPI callpacks.


# fda22ce0 08-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

See merge request petsc/petsc!7667


# 648c30bc 08-Jul-2024 Barry Smith <bsmith@mcs.anl.gov>

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines

Reported-by: James Wright
Thanks-to: Jeremy L Thompson

show more ...


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 377f809a 07-Jun-2024 Barry Smith <bsmith@mcs.anl.gov>

All constructors should do PetscAssertPointer on output object

Reported-by: Blaise Bourdin

Constructors should not initialize the output to NULL upon entry, serves no purpose

Fix some formatting i

All constructors should do PetscAssertPointer on output object

Reported-by: Blaise Bourdin

Constructors should not initialize the output to NULL upon entry, serves no purpose

Fix some formatting in constructors

show more ...


# 1ed6e3ff 25-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'

Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT

See merge request petsc/petsc!7480


# cc4c1da9 14-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update source code removing all unneeded /*@C and associated manual stubs and interfaces


# 76de251a 21-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-03-15/feature-petscviewerasciiworldsetunit' into 'main'

Add PetscViewerASCIIWORLDSetFileUnit() to allow saving PETSc output in a users Fortran file

See merge request petsc

Merge branch 'barry/2024-03-15/feature-petscviewerasciiworldsetunit' into 'main'

Add PetscViewerASCIIWORLDSetFileUnit() to allow saving PETSc output in a users Fortran file

See merge request petsc/petsc!7374

show more ...


# 57b1f488 15-Mar-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix PetscViewerASCIISetFileUnit() to support PETSc's built in viewers
such as PETSC_VIEWER_STDOUT_WORLD

Add PetscViewerASCIIWORLDSetFileUnit() to allow Fortran to save output in files


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-18' into 'main'

clang-format version 18

See merge request petsc/petsc!6902


# f4f49eea 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'
git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'
git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'

show more ...


# e8e8640d 26-Sep-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/rm-first-empty-line' into 'main'

Remove first and last empty lines

See merge request petsc/petsc!6892


# 92bec4ee 26-Sep-2023 Pierre Jolivet <pierre@joliv.et>

Remove first and last empty lines


# b5b1a1b8 13-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-08-10/cannot-destroy-persistant-objects' into 'main'

(1) Fix error return codes for PetscHeaderCreate/Destroy() Cannot use || on them (2) do not allow destroying PETSC_VIEWE

Merge branch 'barry/2023-08-10/cannot-destroy-persistant-objects' into 'main'

(1) Fix error return codes for PetscHeaderCreate/Destroy() Cannot use || on them (2) do not allow destroying PETSC_VIEWER_STDOUT_SELF etc

See merge request petsc/petsc!6804

show more ...


1234567