History log of /petsc/src/sys/utils/mathinf.c (Results 26 – 50 of 90)
Revision Date Author Comments
# 609837fc 13-Aug-2017 Lisandro Dalcin <dalcinl@gmail.com>

Math: Update IsInf/IsNan fallbacks and update tests

Update after concerns raised by Jed in pull request #733.

* Don't use `volatile` qualifier in IsInf/IsNan fallbacks.
* Generate inf/nan test valu

Math: Update IsInf/IsNan fallbacks and update tests

Update after concerns raised by Jed in pull request #733.

* Don't use `volatile` qualifier in IsInf/IsNan fallbacks.
* Generate inf/nan test values using division by zero.

show more ...


# 9f4f8022 07-Aug-2017 Lisandro Dalcin <dalcinl@gmail.com>

Math: Refactor IsInf/IsNan checker routines

* Add PetscIsInfReal() checker with `a && a/2 == a` as fallback.
A separate checker for infinity is useful elsewhere to distinguish
between infinitiy

Math: Refactor IsInf/IsNan checker routines

* Add PetscIsInfReal() checker with `a && a/2 == a` as fallback.
A separate checker for infinity is useful elsewhere to distinguish
between infinitiy and not-a-number floating point values.
* Reimplement PetscIsInfOrNanReal() using IsInf and IsNan checkers.

show more ...


# 3948c36e 07-Aug-2017 Lisandro Dalcin <dalcinl@gmail.com>

Math: Fix PetscIsXXX{Real|Scalar}() to return PetscBool

Also fix IsNan fallback to use `a != a`, otherwise it gives the wrong result
for infinity floating point input values.


# ec14d8c8 27-May-2017 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-sphere-mesh

* master: (2633 commits)
Bib: Added ref
SNES ex56: Update test output
add a citation to petsc.bib
Plex: Initialize variables
ini

Merge branch 'master' into knepley/feature-plex-sphere-mesh

* master: (2633 commits)
Bib: Added ref
SNES ex56: Update test output
add a citation to petsc.bib
Plex: Initialize variables
initialize ap as complained by the nightly tests
Plex ex3: Update to new point function API
initialize some variables as complained by nightly tests
SNES ex12: Mix misnaming Nf --> Nc
update tests
add tests
add MatView_SeqXAIJ_ASCII_structonly(); enable A->structure_only in MatSetValuesBlocked_SeqBAIJ
typo
fill-in some references
Bib: Fixed ref
Plex: Added PLY to file support
Plex: Adding PLY support
PetscDS: Turn off Fortran bindings for Constants
Plex tests: Updated to new point function API
SNES ex56: Moved tests to new format
DM: Allow field projection functions to take an array of scalars - This will allow us to pass in user data to kernels without void *, more efficiency than aux fields
...

Conflicts:
config/builder.py
include/petscdmplex.h
src/dm/impls/plex/examples/tests/ex1.c
src/dm/impls/plex/plexcreate.c
src/dm/impls/plex/plexgmsh.c
src/snes/examples/tutorials/ex63.c

show more ...


# c90b701e 14-Mar-2017 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-pragmatic-parallel

* master: (1379 commits)
Minor fixes for tchem examples due to changes in PETSc infrastructure
update webpage about API changes

Merge branch 'master' into knepley/feature-plex-pragmatic-parallel

* master: (1379 commits)
Minor fixes for tchem examples due to changes in PETSc infrastructure
update webpage about API changes
add help menu for MatCreateSubMatricesMPI()
rename struct Mat_SubMat -> Mat_SubSppt
add a little information to the manual about using tchem
rename MatCreateSubMatrixComposite -> MatCreateSubMatrixVirtual; Mat_SubMatrix -> Mat_SubVirtual
need to protect the \ passed on the makefile on my Mac
Bib: Updated ref
update src/mat/examples/tests/output/ex23_#.out
rename MatGetSubMat -> MatCreateSubMat
Mark MatCreateMPIAIJWithSplitArrays() and MatMPIAIJSetPreallocationCSR() with MAT_NO_OFF_PROC_ENTRIES
superlu: libray is installed in PREFIX/lib64 - fix this to use PREFIX/lib
backport fixes cc105cc3 2b35c90a - required for 3bf428d - that was backported from master - 80c96bb
'echo -n' fails on opensolaris/osx - so avoid using it.
fix diffs in nightlybuilds due to options in ~/.petscrc
add Kelley03 to src/docs/tex/petsc.bib
build: determine moudles, mpi.h used during buildtime and print in 'info'
fix analyzer warnings
fix build failure on opensolaris - where -lm from flibs is removed due to -lm in cxxlibs. But then - only flib gets used for some configure tests [blaslapack, parms]
config: prefer __restrict over C99 restrict keyword
...

show more ...


# 71752422 21-Dec-2016 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/half-precision'


# 570b7f6d 16-Dec-2016 Barry Smith <bsmith@mcs.anl.gov>

Support for half-precision using __fp16.

Requires repository trunk of gcc and ARM systems
Configure with --with-precision=__fp16 --download-f2cblaslapack --with-fc=0 --with-cxx=0
Many standard PETSc

Support for half-precision using __fp16.

Requires repository trunk of gcc and ARM systems
Configure with --with-precision=__fp16 --download-f2cblaslapack --with-fc=0 --with-cxx=0
Many standard PETSc tests fail due to lack of precision

Funded-by: ECP
Project: fp16
Time: 24 hours

show more ...


# af25d912 06-Mar-2016 Stefano Zampini <stefano.zampini@gmail.com>

Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint

Conflicts:
src/ksp/pc/impls/bddc/bddc.c
src/ksp/pc/impls/bddc/bddcgraph.c
src/ksp/pc/impls/bddc/bddcprivate.c
src/ksp/pc/imp

Merge branch 'master' into stefano_zampini/feature-pcbddc-saddlepoint

Conflicts:
src/ksp/pc/impls/bddc/bddc.c
src/ksp/pc/impls/bddc/bddcgraph.c
src/ksp/pc/impls/bddc/bddcprivate.c
src/ksp/pc/impls/bddc/bddcscalingbasic.c
src/ksp/pc/impls/bddc/bddcschurs.c
src/mat/impls/is/matis.c

show more ...


# f37e7628 21-Feb-2016 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/add-pcfieldsplit-logevent


# f44c6289 28-Jan-2016 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/add-pcreset-hypre-for-master

Needed to move PCDestroy_HYPRE() added to master to PCReset_HYPRE() since that was introduced
as a bug fix for maint


# c3d89e0a 19-Dec-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into hongzh/checkpointing

Manual merges for a couple of PetscOptions changes in master


# b49bb413 12-Dec-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into pr391/zianekhodja/lilia/tsirm/master


# 2a61db43 08-Nov-2015 Toby Isaac <tisaac@uchicago.edu>

Merge branch 'tisaac/dm-label-promote' into tisaac/dmforest

* tisaac/dm-label-promote: (319 commits)
snes tutorial ex69: give mesh a name for regression purposes
DM: make DMLabel labels a part o

Merge branch 'tisaac/dm-label-promote' into tisaac/dmforest

* tisaac/dm-label-promote: (319 commits)
snes tutorial ex69: give mesh a name for regression purposes
DM: make DMLabel labels a part of all DMs
builder: update regression tests
builder: update some missing package requirements
DM: set coordinate vector name
ts tutorials ex11_sa: make it compile
mark variable as unused so compiler doesn't warn about unused value
configure: use 'git cat-file -e' to check for existance of a commit in localrepo. ['git rev-parse' does not give error for a hash thats not in repo]
petsc4py: revert to manually syncing petsc4py with petsc master changes
configure: revert gitcommit default value to Null. If a pacakge using giturl does not change this value - raise an error
fix: revert change in a44bcdf that breaks with pgf90
update test output for fixed to hypre interface that now actually pass the interp vectors to BoomerAMG
Error message should say use negative threshold value to prevent filtering out zeros
Calls to HYPRE_BoomerAMGSetInterpVectors() did not actually copy the vector data pointer from the PETSc vector to the hypre vector thus resulting in the hypre interp vectors being identically zero and hence not affecting the quality of the AMG hierarchy produced/
DMPlex: Silence overzealous compiler warnings
add row/col orientation to MatConvert_Elemental_Dense
fix formatting error in previous commit [broke nightlybuilds]
fix formating of TSTHETA manual page and add missing command line option
run hwloc with MPIEXEC and binding so it runs on the correct machine
fix: memory leaks [in valgrind test]
...

show more ...


# de90943d 07-Nov-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/petscoptions-object' into stefano_zampini/feature-pardiso-schur


# 8276244a 05-Nov-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/petscoptions-object


# b29554e8 05-Nov-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/not-single-precision


# 17354880 04-Nov-2015 Fande Kong <fdkong.jd@gmail.com>

Merge remote-tracking branch 'petsc/master' into moved-partitioning-to-pcgasmsetup


# 2bb71647 03-Nov-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/all-petscoptionssetvalue-beforepetscinitialize


# bae46576 28-Oct-2015 Barry Smith <bsmith@mcs.anl.gov>

Allow VecSet() and other routines that use PetscValidLogicalCollectiveScalar() and PetscValidLogicalCollectiveReal()
to handle Nan without error

Requested-by: Robert P Fischer <rpf2116@columbia.edu>


# 3aa2d9e3 15-Aug-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf

Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and
an abuse of

Merge branch 'barry/fix-nonew-notcollective/maint' into jed/mat-assembly-perf

Jed this fucking 6+ month running thing in next that is not in master is a royal fucking pain in the ass and
an abuse of git. I think it is not justified to ever have anything in next for more than a few weeks at most.
Either take it out of next if it is broken or put it in master if it is not broken. Hanging around in next but
not master for ever is not a good policy.

show more ...


# e1b06f76 20-May-2015 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/solkx

* master: (6933 commits)
Bib: Added reference
Includegraph: Updated for compatibility with new folder layout.
Add SNESLineSearchReason to fortran inclu

Merge branch 'master' into knepley/solkx

* master: (6933 commits)
Bib: Added reference
Includegraph: Updated for compatibility with new folder layout.
Add SNESLineSearchReason to fortran includes Also truncate names to fit 32 char fortran limit
fix compile warnings /usr/home/balay/petsc.clone-2/src/vec/vec/interface/vector.c:1944: warning: division by zero in '1.0e+0 / 0.' /usr/home/balay/petsc.clone-2/src/ksp/ksp/interface/itfunc.c:508: warning: 'vec_rhs' may be used uninitialized in this function
updated output for new trust region initial size
initial size of the trust region is set as a percent of the norm of the initial guess, it should not be related to the initial norm of the function (which is kind of nuts).
The default bounds for SNESVISetVariableBounds() in the manual page were reversed from correct values
Bib: Added refs
Bib: Update MPICH webpage
Plex: Forgot to close file
removed nonexistent ex46f from makefile test rule
Revert "fixed bad merge into master"
fixed bad merge into master
fix memory leak in mkl_pardiso fix some formatting in mkl_pardiso code
mv runex111 from TESTEXAMPLES_C to TESTEXAMPLES_DATAFILESPATH
Mat+Doc: More Fortran docs
Plex ex3: Run tests with the correct number of field components
Bib: Added TetGen cite
parmetis: make sure 'ldd libparmetis.so' points to the correct libmetis.so that its linked with.
small fix as reported by the nightly test
...

Conflicts:
config/builder.py

show more ...


# 898446f9 11-Mar-2015 Shri Abhyankar <abhyshr@mcs.anl.gov>

Merge branch 'master' into shri/ts-is-for-differential-variables

Conflicts:
include/petsc-private/tsimpl.h
src/ts/impls/eimex/eimex.c
src/ts/interface/ts.c


# f2dee214 06-Mar-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into jed/chem
Note merging a branch with good stuff in it for a year and a half is insane!

Conflicts:
src/ts/examples/tutorials/makefile
src/ts/interface/ts.c


# a197972a 11-Feb-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/saws-options-merge-master

Totally confusing manual merge, could be wrong

Conflicts:
include/petscoptions.h
src/dm/impls/da/dacreate.c
src/sys/objects/aoptions.c

Merge branch 'master' into barry/saws-options-merge-master

Totally confusing manual merge, could be wrong

Conflicts:
include/petscoptions.h
src/dm/impls/da/dacreate.c
src/sys/objects/aoptions.c
src/sys/threadcomm/interface/threadcomm.c

show more ...


# 50705773 10-Feb-2015 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into pr252/dmay/PetscViewerBinarySkipHeaderVecViewLoad
Manual merge of makefile

Conflicts:
src/sys/classes/viewer/examples/tutorials/makefile


1234