History log of /petsc/src/dm/impls/plex/plexpreallocate.c (Results 226 – 250 of 273)
Revision Date Author Comments
# c7ff62de 13-Jan-2014 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/wirth-fusion-materials
bad manual merge needs to be fixed
this is what happens when branches hang around too long

Conflicts:
src/ts/examples/tutorials/advection-dif

Merge branch 'master' into barry/wirth-fusion-materials
bad manual merge needs to be fixed
this is what happens when branches hang around too long

Conflicts:
src/ts/examples/tutorials/advection-diffusion-reaction/ex10.c

show more ...


# 52d48256 10-Jan-2014 Vijay Mahadevan <vijay.m@gmail.com>

Merged petsc/petsc into master


# 5c903c1c 22-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'knepley/feature-dmda-section'

* knepley/feature-dmda-section: (29 commits)
DMPlex: fix stale docs about DMPlexGetCoordinateSection
DMDA: Fix compiler warnings
DMDA+DMPlex: Fixed

Merge branch 'knepley/feature-dmda-section'

* knepley/feature-dmda-section: (29 commits)
DMPlex: fix stale docs about DMPlexGetCoordinateSection
DMDA: Fix compiler warnings
DMDA+DMPlex: Fixed preallocation declarations
DMDA: c89 fix
DMDA: Forgot to add new source file
DMPlex: Fix merge from master
DMDA: Add a matrix preallocation routine that works with PetscSection
DMDA: Add transitive closure - Only working in 2D
DMDA: Add preallocation center dim for using PetscSection
DMDA: Added declaration for DMDAGetCellPoint()
DMDA: Added DMDAGetCellPoint()
DMPlex: Added documentation
DMDA: fix missing declarations and includes
DMPlex ex3: Fixed multicomponent functions - These were zero in all but the first component due to an earlier error
DMPlex: Cleaned up uses of DMPlexGet/SetCoordinateSection()
DMPlex: Cleaned up uses of DMPlexGet/SetCoordinateSection()
DMPlex ex3: Added 2D Q_1 and 3D P_2 tests - Added -simplex argument - Uses DMDA for quad tests
DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff()
DMDA: Fixed 2D geometry - Should reuse DMPlex routines
DMDA: Fix bug in 2D closure operation for cells
...

Conflicts:
src/dm/dt/interface/dtfe.c
src/dm/impls/plex/examples/tests/ex3.c
src/dm/impls/plex/examples/tests/output/ex3_2.out
src/dm/impls/plex/examples/tests/output/ex3_5.out

show more ...


# ed91c37e 19-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-dmda-section

* master: (319 commits)
SNESGS: Fix for uninitialized variable warning in gssecant.c
DMPlex: Fix for orientation in Gmsh files - Fixed tes

Merge branch 'master' into knepley/feature-dmda-section

* master: (319 commits)
SNESGS: Fix for uninitialized variable warning in gssecant.c
DMPlex: Fix for orientation in Gmsh files - Fixed test output
do not use C99 struct initialization code in PETSc
Nightly Summary: Added time taken to each of the tests in the dashboard.
ASCII printing of floating point numbers must cast to (double) to support quad precision
configure: check fortranDatatypes only when fortran is enabled [this fixes configure crash with --with-fc=0]
don't use non-portable and also dependent on floating point precision system level math constants
picky compilers
fix a couple compiler warnings/errors (depending on compiler) for Matlab engine code
DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection()
DM: Added DMGet/SetCoordinateSection()
Fuckup: Fix for merge that is still untangling bad rebase from Oct. 17th 2013 - Fixed const in declarations - Fixed merge from PetscFE - Fixed 2 mallocs
replace all echo in test/tutorial makefiles with printf since echo behaves differently on different systems
DMDA: Missing header - Damn rebase
DMPlex ex3: Added 2D Q_1 and 3D P_2 tests
DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff()
DMDA: Fixed 2D geometry - Should reuse DMPlex routines
DMDA: Fix bug in 2D closure operation for cells
DMDA: Make closure operations also return the size
DMDA: Changed DMDACreateSection() to emulate DMPlexCreateSection()
...

Conflicts:
config/builder.py
include/petscdmda.h
src/dm/dt/interface/dtfe.c
src/dm/impls/da/dageometry.c
src/dm/impls/da/dalocal.c
src/dm/impls/plex/plexgeometry.c

show more ...


# 0d414b50 17-Dec-2013 Vijay Mahadevan <vijay.m@gmail.com>

Merged petsc/petsc into master


# 9c5a1e1b 17-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-gmsh

* master: (163 commits)
do not use C99 struct initialization code in PETSc
Nightly Summary: Added time taken to each of the tests in the dash

Merge branch 'master' into knepley/feature-plex-gmsh

* master: (163 commits)
do not use C99 struct initialization code in PETSc
Nightly Summary: Added time taken to each of the tests in the dashboard.
ASCII printing of floating point numbers must cast to (double) to support quad precision
configure: check fortranDatatypes only when fortran is enabled [this fixes configure crash with --with-fc=0]
don't use non-portable and also dependent on floating point precision system level math constants
picky compilers
fix a couple compiler warnings/errors (depending on compiler) for Matlab engine code
DMPlex: More fixup from bad rebase, moved to DMGet/SetCoordinateSection()
DM: Added DMGet/SetCoordinateSection()
Fuckup: Fix for merge that is still untangling bad rebase from Oct. 17th 2013 - Fixed const in declarations - Fixed merge from PetscFE - Fixed 2 mallocs
replace all echo in test/tutorial makefiles with printf since echo behaves differently on different systems
DMDA: Missing header - Damn rebase
DMPlex ex3: Added 2D Q_1 and 3D P_2 tests
DMDA: Added DMDAProjectFunction() and DMDAComputeL2Diff()
DMDA: Fixed 2D geometry - Should reuse DMPlex routines
DMDA: Fix bug in 2D closure operation for cells
DMDA: Make closure operations also return the size
DMDA: Changed DMDACreateSection() to emulate DMPlexCreateSection()
DMDA: Added functions which emulate DMPlex functionality
DMDA: Now DMDAGetNumCells() returns the cells in each direction as well
...

Conflicts:
config/builder.py

show more ...


# 324c91e4 17-Dec-2013 Peter Brune <brune@mcs.anl.gov>

Merge branch 'madams/gamg-destroy' into prbrune/pcgamg-classicalinterpolationstrategies


# 578f55a3 17-Dec-2013 Peter Brune <brune@mcs.anl.gov>

Merge branch 'master' into madams/gamg-destroy

Conflicts:
src/ksp/pc/impls/gamg/gamg.c


# 8c722d37 10-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/reduce-dmsetup-da-memoryusage

Conflicts:
src/dm/examples/tests/ex15.c
src/dm/examples/tutorials/ex3.c
src/dm/impls/da/da2.c
src/dm/impls/da/da3.c


# a906b49b 10-Dec-2013 BarryFSmith <bsmith@mcs.anl.gov>

Merged master into barry/update-xxxviewfromoptions


# edbbd480 10-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/xcode


# e0133700 05-Dec-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/saws-push-header-body' into barry/saws-options


# fb3f26da 04-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'jed/malloc-array'

Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog,
added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for
allocating cleared (

Merge branch 'jed/malloc-array'

Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog,
added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for
allocating cleared (zeroed) memory.

* jed/malloc-array:
Sys: Add pointer casts from (void **) in calls to PetscMalloc1()
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()
Sys: add PetscCalloc[1-7]
Sys: add PetscMalloc1 macro, array allocation without redundant types
PetscMalloc[2-7]: remove type arguments, infer from pointer type
SNESComputeJacobianDefaultColor: fix uninitialized variable

show more ...


# 1795a4d1 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Sys: add PetscCalloc[1-7]

Replace lots of places where PetscMemzero is called immediately after
allocation.


# 785e854f 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

Sys: add PetscMalloc1 macro, array allocation without redundant types

The type is inferred from the pointer return type. This patch is
automated via the following script:

git grep -l 'PetscMalloc(

Sys: add PetscMalloc1 macro, array allocation without redundant types

The type is inferred from the pointer return type. This patch is
automated via the following script:

git grep -l 'PetscMalloc(.*sizeof' src | xargs perl -pi -e 's@PetscMalloc\(([^,;]*[^,; ]) *\* *sizeof\([^,;()]+\),@PetscMalloc1($1,@'

This commit contains an additional bug-fix in csrperm.c, fixing pointer
arity. The code was introduced in 2006, but the allocation could not
have been correct at any time. This probably means that
MatDuplicate_SeqAIJPERM has never been tested.

a54129beb540034ba105796c682d589e7e1111f2
Richard Tran Mills <rmills@ornl.gov>

Added MATSEQCSRPERM support for MatDuplicate() and conversion to/from
MATSEQAIJ. Note that these changes are not quite debugged.

show more ...


# dcca6d9d 03-Dec-2013 Jed Brown <jedbrown@mcs.anl.gov>

PetscMalloc[2-7]: remove type arguments, infer from pointer type

This change can be performed almost entirely by this script:

git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \
-e '
s@PetscMalloc

PetscMalloc[2-7]: remove type arguments, infer from pointer type

This change can be performed almost entirely by this script:

git grep -l PetscMalloc[2-7] $1 | xargs perl -pi \
-e '
s@PetscMalloc2\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc2($1,$3,$4,$6)@;
s@PetscMalloc3\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc3($1,$3,$4,$6,$7,$9)@;
s@PetscMalloc4\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc4($1,$3,$4,$6,$7,$9,$10,$12)@;
s@PetscMalloc5\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc5($1,$3,$4,$6,$7,$9,$10,$12,$13,$15)@;
s@PetscMalloc6\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc6($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18)@;
s@PetscMalloc7\(([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+),([^,;()]+)\)@PetscMalloc7($1,$3,$4,$6,$7,$9,$10,$12,$13,$15,$16,$18,$19,$21)@;
'

show more ...


# ec4b4701 29-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'knepley/fix-plex-reorder-empty'

* knepley/fix-plex-reorder-empty:
DMPlex: Allow preallocation to cope with a non-distributed mesh at the cost of a reduction
DMPlex: Fix reordering

Merge branch 'knepley/fix-plex-reorder-empty'

* knepley/fix-plex-reorder-empty:
DMPlex: Allow preallocation to cope with a non-distributed mesh at the cost of a reduction
DMPlex: Fix reordering for empty meshes

show more ...


# 244aa513 28-Nov-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'barry/minor-draw-improvements' into jed/chem


# 47a6104a 22-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Allow preallocation to cope with a non-distributed mesh at the cost of a reduction


# b3331239 21-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'knepley/fix-hash-scaling'

* knepley/fix-hash-scaling: (25 commits)
PetscSF: Register logging events
PetscSF: Added logging
DMPlex: Bug fix for interpolated adjacency formation

Merge branch 'knepley/fix-hash-scaling'

* knepley/fix-hash-scaling: (25 commits)
PetscSF: Register logging events
PetscSF: Added logging
DMPlex: Bug fix for interpolated adjacency formation
DMPlex: Fast adjacency graph construction for interpolated meshes
DMPlex: Fixed error in new events
DMPlex: More events for distribution
DMPlex: Fixed allocation bug in reordering
DMPlex: Fixed mismatched Malloc2 in reordering
DMLabel: Split Malloc3 into Malloc2 and Malloc
Hash+DMPlex: Changed PetscHashIPut() to eliminate pass-by-ref - Jed can sleep soundly tonight
DMPlex: Use PetscHashIHasKey() to check for membership
Hash; Added PetscHashIHasKey() - PetscHashIMap does not match the documentation
DMPlex: Added simple DMLabel test
DMPlex: Fix missing restore Reported-by: Jed Brown <jedbrown@mcs.anl.gov>
DMPlex: Use DMLabelDistribute() in DMPlexDistribute()
DMPlex: Use DMLabelGetStrautmBounds() in DMPlexGetDepth/HeightStratum()
DMPlex: Added DMLabelDistribute()
DMPlex: Added DMLabelGetStratumBounds()
DMPlex: Fixed quadratic behavior of DMLabel insert - Added hash table for each label value for insertion - Added arrayValid flag which says whether array data or hash table data is valid - Convert between representations using DMLabelMakeValid_Private() and DMLabelMakeInvalid_Private() - Split up allocation of stratumValues and stratumSize/Offsets - Most functions only use the array representation, but some can use both (should probably expand this with GetStratum) - Moved the DMLabelFIlter() function
Hash: Added PetscHashIPut() and PetscHashIDel() - Removed unused variable
...

show more ...


# e9741dec 18-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMDA: Add a matrix preallocation routine that works with PetscSection


# cd4f0679 18-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-dmda-section

* master: (528 commits)
Doc: Fixed configure doc
Nightly summary: Added configure section.
TSSetErrorIfStepFails: fix __FUNCT__
TS: fi

Merge branch 'master' into knepley/feature-dmda-section

* master: (528 commits)
Doc: Fixed configure doc
Nightly summary: Added configure section.
TSSetErrorIfStepFails: fix __FUNCT__
TS: fix for TSGetRHSMats_Private() in the creation of the Arhs and Brhs matrices
protect logging of objects (which uses global variables) with PETSC_USE_LOG
error handler API had been previously changed but this example was not updated to new API.
DMPlex: Fixed bug in coordinate permutation
PetscSection: Doc fix for permutation
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bugfix of MatCreateSeqAIJFromTriple() contributed by Nicolas Marsic <nicolas.marsic@montefiore.ulg.ac.be>
bib: rename ref with duplicate key
Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'.
completed removing server code that was not removed in previous commit
removed PETSc webserver and configure package files that supported it
Allow calling MatGetBlockSize[s]() before matrix preallocation
SNESLINESEARCHBT: Set the norms when exiting early due to negligible step.
fix outdated PetscOptionsList
SNESQN: only monitor real part of dot product (fails with C++ complex)
Fix for multiple definitions in mat/color/interface/ custom fortran bindings
...

Conflicts:
config/builder.py
include/petscdmplex.h
src/dm/impls/da/dageometry.c
src/dm/impls/plex/examples/tests/ex4.c
src/dm/impls/plex/plex.c
src/dm/impls/plex/plexinterpolate.c

show more ...


# a72f3261 09-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Expand logging


# c4fbd833 08-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-fem-dgspace

* master: (593 commits)
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bib: rename ref with duplicate key

Merge branch 'master' into knepley/feature-fem-dgspace

* master: (593 commits)
Bib: Added Top500 and fixed entry
fun3d: update PetscMallocValidate() usage
bib: rename ref with duplicate key
Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'.
Allow calling MatGetBlockSize[s]() before matrix preallocation
SNESLINESEARCHBT: Set the norms when exiting early due to negligible step.
SNESQN: only monitor real part of dot product (fails with C++ complex)
Corrected the #include statement in the man pages for the PetscObjectComposedDataSet/Getwhatever routines.
DMPlex: Added doc for DMPlexGetHybridBounds()
winzip: detect if winzip is used to extract petsc.tar.gz and error out.
configure: remove self.archIndependent as its not being used. [it is used to create externalpackages/package/arch dir which is unused]
configure: fix packages using package-dir/PETSC_ARCH as out-of-source-build location Perhaps this should be changed to package-dir/build?
configure: remove dead code previously used to download BuildSystem
configure: check if compilerDefines [and compilerFixes] exist in framework before using them
configure: save/restore reconfigure.py when --with-clean is used
configure: add --with-clean option to delete buildfiles/externalpackages in PETSC_DIR/PETSC_ARCH and potential externalpackages in --with-external-package-dir/PETSC_ARCH
configure: With --with-externalpackages-dir=dir store/build packages in dir/PETSC_ARCH
Add MatSeqSBAIJSetPreallocationCSR()
configure: switch to using PETSC_DIR/PETSC_ARCH/externalpackages by updating package.py to use externalpackages.py as the externalPackagesDirProvider
configure: move dead code configureExternalPackagesDir() from petscdir.py to externalpackagesdir.py Also set PETSC_DIR/PETSC_ARCH/externalpackages as the externalpackagesdir
...

show more ...


# 7737a228 31-Oct-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/saws

Conflicts:
src/ksp/pc/impls/gamg/gamg.c
src/sys/classes/viewer/impls/ams/ams.c
src/sys/objects/pinit.c


1234567891011