History log of /petsc/include/petsccxxcomplexfix.h (Results 26 – 39 of 39)
Revision Date Author Comments
# 77ba14db 09-Sep-2021 Stefano Zampini <stefano.zampini@gmail.com>

NEC: silence warnings on unrecognized pragma

"/home/zampins/src/petsc/include/petsccxxcomplexfix.h", line 10: warning:
unrecognized #pragma
#pragma GCC system_header


# 0e5d4aae 20-May-2021 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/jczhang/fix-gcc4-complex'

Disable petsccomplexfix.h with C++14 and GNU-4

See merge request petsc/petsc!3989


# a966371c 18-May-2021 Junchao Zhang <jczhang@mcs.anl.gov>

Sys: revise conditions for including petsccxxcomplexfix.h


# 1cd963cc 07-Mar-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'balay/fix-mswin-C_DOUBLE_COMPLEX-check' into 'main'

MSWIN: set HAVE_MPI_C_DOUBLE_COMPLEX on successful compile, and always compile PetscSum_Local() etc MPI utilities

See merge request

Merge branch 'balay/fix-mswin-C_DOUBLE_COMPLEX-check' into 'main'

MSWIN: set HAVE_MPI_C_DOUBLE_COMPLEX on successful compile, and always compile PetscSum_Local() etc MPI utilities

See merge request petsc/petsc!3672

show more ...


# 7a19d461 04-Mar-2021 Satish Balay <balay@mcs.anl.gov>

PETSC_HAVE_COMPLEX: set flag only if CLANGUAGE (i.e library build language) supports complex, and cleanup logic wrt c/c++, library/user code.
Also cleanup dependent code (wrt PETSC_HAVE_COMPLEX usage

PETSC_HAVE_COMPLEX: set flag only if CLANGUAGE (i.e library build language) supports complex, and cleanup logic wrt c/c++, library/user code.
Also cleanup dependent code (wrt PETSC_HAVE_COMPLEX usage).

show more ...


# 9596e0e7 30-Jan-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'dalcinl/fix-warnings' into 'master'

PetscComplex: Silence -Wfloat-equal warnings in workaround header

See merge request petsc/petsc!2483


# 963eeaaa 30-Jan-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'dalcinl/fix-null' into 'master'

Sys: Replace 0 -> NULL for pointers

See merge request petsc/petsc!2482


# 4cdc28b3 30-Jan-2020 Lisandro Dalcin <dalcinl@gmail.com>

PetscComplex: Silence -Wfloat-equal warnings in workaround header


# 02c9f0b5 29-Jan-2020 Lisandro Dalcin <dalcinl@gmail.com>

Sys: Replace 0 -> NULL for pointers


# 29ad97fd 07-Aug-2019 Karl Rupp <me@karlrupp.net>

Merge branch 'dalcinl/feature-math' [PR #1904]

* dalcinl/feature-math:
Math & PetscComplex: Various enhancements
- Define PetscXXXScalar to PetscXXXReal for real scalar type
- Add PetscCbrtReal(), P

Merge branch 'dalcinl/feature-math' [PR #1904]

* dalcinl/feature-math:
Math & PetscComplex: Various enhancements
- Define PetscXXXScalar to PetscXXXReal for real scalar type
- Add PetscCbrtReal(), PetscHypotReal(), and PetscAtan2Real()
- Add PetscArgComplex() and PetscArgScalar()
- Add PetscAtan{Real|Complex|Scalar}()
- Add PetscA{sin|cos|tan}h{Real|Complex|Scalar}()
- Docs: Petsc{Real|Imaginary}Part() return PetscReal
- Define __fp16 constants to use "F" suffix (ie. single precision)
- Fix PETSC_[SQRT_]MACHINE_EPSILON values for __fp16

PetscComplex: Remove PETSC_USE_CXX_COMPLEX_FLOAT_WORKAROUND

- Move the C++ complex fixes to its own header file
- Define PETSC_SKIP_CXX_COMPLEX_FIX to skip the C++ complex fixes

show more ...


# d4baf660 02-Aug-2019 Lisandro Dalcin <dalcinl@gmail.com>

PetscComplex: Workaround C++ complex fix broken for old glib versions


# b6f7a5a8 26-Jul-2019 Lisandro Dalcin <dalcinl@gmail.com>

PetscComplex: Workaround C++ complex fix broken for old glib versions

std::complex<T>::{real|imag}() are not const methods, so use const_cast


# f636a84a 25-Jul-2019 Barry Smith <bsmith@mcs.anl.gov>

Add text explaining the reason for petsccxxcomplexfix.h and its use.

Commit-type: documentation


# 39829747 25-Jul-2019 Lisandro Dalcin <dalcinl@gmail.com>

PetscComplex: Remove PETSC_USE_CXX_COMPLEX_FLOAT_WORKAROUND

* Move the C++ complex fixes to its own header file
* Define PETSC_SKIP_CXX_COMPLEX_FIX to skip the C++ complex fixes


12