History log of /petsc/include/petsccxxcomplexfix.h (Results 1 – 25 of 39)
Revision Date Author Comments
# a17a2c17 05-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 4fef4db8 05-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Revert "Merge branch 'jczhang/2025-10-15/remove-PetscComplex-const-cast' into 'main'"

This reverts commit ef65705368fe00700dae88adb12c6563d9150781, reversing
changes made to 941063a0c6742edd6ba3de04

Revert "Merge branch 'jczhang/2025-10-15/remove-PetscComplex-const-cast' into 'main'"

This reverts commit ef65705368fe00700dae88adb12c6563d9150781, reversing
changes made to 941063a0c6742edd6ba3de0434f3e015738e856a.

show more ...


# 0f49422d 05-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-10-31/fix-petsccomplex' into 'release'

Another fix of PetscComplex

See merge request petsc/petsc!8820


# 8ecb7dbc 31-Oct-2025 Junchao Zhang <jczhang@anl.gov>

Sys: fix PetscComplex

The old fix caused errors with deal.II wth g++11.3

/home/jczhang/dealii/include/deal.II/grid/tria_accessor.h:5701:39: error: ambiguous overload for 'operator!=' (operand types

Sys: fix PetscComplex

The old fix caused errors with deal.II wth g++11.3

/home/jczhang/dealii/include/deal.II/grid/tria_accessor.h:5701:39: error: ambiguous overload for 'operator!=' (operand types are 'const dealii::RefinementCase<2>' and 'dealii::RefinementPossibilities<2>::Possibilities')
5701 | Assert(this_refinement_case != RefinementCase<2>::no_refinement,
| ~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| const dealii::RefinementCase<2> dealii::RefinementPossibilities<2>::Possibilities
/home/jczhang/dealii/include/deal.II/base/exception_macros.h:563:17: note: in definition of macro 'Assert'
563 | if (!(cond)) \
| ^~~~
/home/jczhang/dealii/include/deal.II/grid/tria_accessor.h:5701:39: note: candidate: 'operator!=(int, int)' (built-in)
5701 | Assert(this_refinement_case != RefinementCase<2>::no_refinement,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jczhang/dealii/include/deal.II/base/exception_macros.h:563:17: note: in definition of macro 'Assert'
563 | if (!(cond)) \
| ^~~~
In file included from /scratch/jczhang/petsc/include/petscsystypes.h:592,
from /scratch/jczhang/petsc/include/petscis.h:7,
from /home/jczhang/dealii/include/deal.II/base/index_set.h:47,
from /home/jczhang/dealii/include/deal.II/base/partitioner.h:23,
from /home/jczhang/dealii/include/deal.II/distributed/tria_base.h:24,
from /home/jczhang/dealii/include/deal.II/distributed/tria.h:27,
from /home/jczhang/dealii/source/distributed/p4est_wrappers.cc:17:
/scratch/jczhang/petsc/include/petsccxxcomplexfix.h:107:1: note: candidate: 'bool operator!=(const float&, const PetscComplex&)'
107 | PETSC_CXX_COMPLEX_FIX(float)
| ^~~~~~~~~~~~~~~~~~~~~
/scratch/jczhang/petsc/include/petsccxxcomplexfix.h:114:1: note: candidate: 'bool operator!=(const long double&, const PetscComplex&)'
114 | PETSC_CXX_COMPLEX_FIX(long double)
| ^~~~~~~~~~~~~~~~~~~~~
/scratch/jczhang/petsc/include/petsccxxcomplexfix.h:117:1: note: candidate: 'bool operator!=(const __float128&, const PetscComplex&)'
117 | PETSC_CXX_COMPLEX_FIX(__float128)
| ^~~~~~~~~~~~~~~~~~~~~
/scratch/jczhang/petsc/include/petsccxxcomplexfix.h:120:1: note: candidate: 'bool operator!=(const signed char&, const PetscComplex&)'

https://github.com/dealii/dealii/blob/master/include/deal.II/base/geometry_info.h#L779

template <int dim>
class RefinementCase : public RefinementPossibilities<dim>
{...}

template <int dim>
struct RefinementPossibilities
{
enum Possibilities : std::uint8_t
{
no_refinement = 0,
isotropic_refinement = 0xFF
};
};

show more ...


# ef657053 16-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-10-15/remove-PetscComplex-const-cast' into 'main'

Remove the unneeded const_cast as we don't mutate the input PetscComplex

See merge request petsc/petsc!8787


# 941063a0 16-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 6ac2a56f 15-Oct-2025 Junchao Zhang <jczhang@anl.gov>

Sys: remove the unneeded const_cast as we don't mutate the input PetscComplex


# 33de97a6 15-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-09-25/fix-petsccomplex' into 'release'

Fix a petsccxxcomplexfix bug

See merge request petsc/petsc!8736


# 108513bb 15-Oct-2025 Junchao Zhang <jczhang@mcs.anl.gov>

sys: fix a petsccxxcomplexfix bug

With the old code, if PetscReal is double, then the following code,

float a = 0.5;
PetscScalar b = a * PETSC_i;

will render b to 0 + 0i, because we only defined P

sys: fix a petsccxxcomplexfix bug

With the old code, if PetscReal is double, then the following code,

float a = 0.5;
PetscScalar b = a * PETSC_i;

will render b to 0 + 0i, because we only defined PETSC_CXX_COMPLEX_FIX(PetscInt), which forced 'a' to be promoted to integer 0.

show more ...


# 0ff9d02e 17-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-06-10/add-fortran-stubs-from-static-functions-in-includes' into 'main'

Automatically generate Fortran C stubs for static inline functions in include directory

See merge req

Merge branch 'barry/2025-06-10/add-fortran-stubs-from-static-functions-in-includes' into 'main'

Automatically generate Fortran C stubs for static inline functions in include directory

See merge request petsc/petsc!8469

show more ...


# 1850900d 10-Jun-2025 Barry Smith <bsmith@mcs.anl.gov>

add missing MANSEC from include files


# 9dd11ecf 25-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'

Check header guards

See merge request petsc/petsc!6822


# a4963045 18-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Convert all header guards to pragma once


# a207d08e 30-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# ed31fb71 30-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/codespell-typos' into 'release'

A few more codespell fixes

See merge request petsc/petsc!5786


# d5b43468 29-Oct-2022 Jose E. Roman <jroman@dsic.upv.es>

A few more codespell fixes


# 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


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

Transform all header-guards into ifndefs to make clang-format ignore them for preprocessor indentation


# 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


# 12a812dd 14-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# bb0e558e 14-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/nec' into 'main'

Initial support for NEC-SX Aurora Tsubasa

See merge request petsc/petsc!3987


# f5078ed4 12-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2021-09-12/cxxcomplexfix-remove-double-gcc-pragma/release' into 'release'

Remove the double gcc pragma system header from petsccxxcomplexfix.h

See merge request petsc/petsc!4307


# 2aed1ede 12-Sep-2021 Jacob Faibussowitsch <jacob.fai@gmail.com>

remove the double gcc pragma system header from petsccxxcomplexfix.h


12