Move higher level (IS level) hdf5 function prototypes to new file petsclayouthdf5.hThis is a fix for PETSc v3.11.3 which cannot compile code that does not include the -I search path for HDF5 even t
Move higher level (IS level) hdf5 function prototypes to new file petsclayouthdf5.hThis is a fix for PETSc v3.11.3 which cannot compile code that does not include the -I search path for HDF5 even thoughthe code do not use HDF5 since the #if defined(PETSC_HAVE_HDF5) #include <H5Ipublic.h> is directly in petscis.hThis prevents polluting the public IS level include files with HDF5 materialThis hopefully can be ported directly also to the master branch and cleanup the pollution there as well.Note that the code in question does not use IS but does use PetscLayout hence the name of the new include fileCommit-type: bug-fix, portability-fixReported-by: Drew ParsonThanks-to: Lisandro Dalcin <dalcinl@gmail.com>(cherry picked from commit 51e210a943a96e6acf92eea785f1e143d67148d9)
show more ...
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*() with PetscArraymove()Commit-type: style-fix, feature
Move HDF5 array IO stuff from sys to vec.- Fix issue 288.- Moved PetscViewerHDF5Load,PetscViewerHDF5ReadSizes and their helpers from src/sys/classes/viewer/impls/hdf5/hdf5v.c into the new fi
Move HDF5 array IO stuff from sys to vec.- Fix issue 288.- Moved PetscViewerHDF5Load,PetscViewerHDF5ReadSizes and their helpers from src/sys/classes/viewer/impls/hdf5/hdf5v.c into the new file src/vec/is/utils/hdf5io.c- PetscViewerHDF5Load() header moved from viewerimpl.h to petscis.h- PetscViewerHDF5ReadSizes() header moved from petscviewerhdf5.h to petscis.h
Section: Damn Damn Damn
Section: Somehow everything about that first commit was wrong
Section: Added binding for PetscSFDistributeSection()- Fortran is not allowed to pass in an array right now
PetscSection: move 3 fortran stubs to the proper file
PetscSection: add PetscSectionSymThis object's is essentially a Petsc-idiom way of letting the userspecify implementations ofPetscSectionGetPointSyms()PetscSectionRestorePointSyms()PetscSectio
PetscSection: add PetscSectionSymThis object's is essentially a Petsc-idiom way of letting the userspecify implementations ofPetscSectionGetPointSyms()PetscSectionRestorePointSyms()PetscSectionGetFieldPointSyms()PetscSectionRestoreFieldPointSyms()Like PetscDualSpaceGetSymmetries(), the symmetries are descibed by R *P, where R is a flip (or rotation with complex scalars). I had thoughtabout a more managed approach, like PetscSectionGet/SetValues, whichentirely hid the existence of symmetries to begin with, but:- then you have to differentiate between different PetscDataTypes (e.g., for indices, just perform the permutation, not the flips/rotations), and- what about inserting an element matrix? When inserting an element matrix, it makes the most sense to apply flips/rotations to the element matrix, and the permutations to the indices where the matrix is to be inserted with MatSetValues().so in the end I decided to just provide a simple interface to pass thesymmetries to the users and let them figure out how they want to usethem.
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
manual merge of conflict
mv src/vec/is/is/utils/ftn-custom/zisltogf.c src/vec/is/utils/ftn-custom/zisltogf.c
moved is directory in one level to make room for all the source in the is subpackageHg-commit: 7eb286fb676eef26fdc2da2c38b91bc070f9f9f8
Uncrustified src/vec/Hg-commit: 11b3f3188710a3512843b505cbe0d18ac9fd9393
reemove OBJSC and OBJSF from invididual makefiles and auto-define in conf/variablesHg-commit: 2f01c17f3c19dc4b89aaf306cfd60a12312c270d
Rename include/private/ to include/petsc-private/Hg-commit: 9a1730720b0d9756437b40462617551504641ade
add 'nkeys' to ISCompressIndicesGeneral() to make it scalable when PETSC_USE_CTABLERef: http://petsc.cs.iit.edu/petsc/petsc-dev/rev/39de4196260f (a bad change made in 2004)Hg-commit: 8cc43958d6493
add 'nkeys' to ISCompressIndicesGeneral() to make it scalable when PETSC_USE_CTABLERef: http://petsc.cs.iit.edu/petsc/petsc-dev/rev/39de4196260f (a bad change made in 2004)Hg-commit: 8cc43958d6493e4eeb199b935ab256ab96f3dc6d
Use #include <header.h> instead of #include "header.h" when there is no intent to search the current directory for header.hHg-commit: bd7216e80cc035071a5136364ab9d04bf9f41a07
Now requirepackage is only used for proper packages, functions use requiresfunction, and the rest use requiresdefineHg-commit: dd65fd3461c02753386917514e6ebe12d345a30e
Changed PetscTruth to PetscBool and PETSC_TRUTH to PETSC_BOOLnote this requires a new sowing versionHg-commit: 8b4c4277f05e3fb874633288193dab1105bf142a
fixed enum argument to PetscError() in many places that arise only in C++changed CHKERRXX() to be more rational, see petsc-dev emailHg-commit: bf64cb01b8b40e01034bd22ad18ed6a259752ed7
added MPI_Comm as first argument to PetscError() and SETERRQX()Hg-commit: fe5a2ff050abc00ca2c2979c0af22b117b62874e
removed PETSC_ARCH/conf/base andadded support for not setting PETSC_ARCH and PETSC_DIR with --prefix optionHg-commit: e478f4df238e5763b64567336d7cf94ca5d89d58
ISCompressIndicesGeneral() for Fortranwork on pflotran unstructured grid loaderHg-commit: 0d771eb844d630f24215ca9251b4c9adf5a09707
removed no longer needed converts of Fortran to C MPI_Comm (since MPI 1.1 has a standard for this)Hg-commit: 263aca0fcfe7efcaed30a4abb46e648de3bb24ab
mv zpetsc.h (a meaningless name) to fortranimpl.h (a slightly more meaningful name)Hg-commit: d2687f12f92bff49ceff434100d018f6898829c3
123