History log of /petsc/src/dm/impls/plex/plex.c (Results 1501 – 1525 of 1780)
Revision Date Author Comments
# 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 ...


# 3554e41d 03-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Now DMPlexCheckFaces() also checks all subfaces


# 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 ...


# e003ed69 02-Dec-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Improved error message for DMPlexCheckFaces()


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

DMPlex: Added DMPlexCheckFaces() which checks the face closure against the cell closure
- Added DMPlexGetTransitiveClosure_Internal() which takes an initial orientation


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

Merge branch 'knepley/fix-plex-label-hash'

* knepley/fix-plex-label-hash:
DMLabel: Fix bug in clearing value for array representation
DMLabel: Fixed warning - Damn damn damn, messed up line sele

Merge branch 'knepley/fix-plex-label-hash'

* knepley/fix-plex-label-hash:
DMLabel: Fix bug in clearing value for array representation
DMLabel: Fixed warning - Damn damn damn, messed up line selection
DMLabel: Added PetscHashIDelKey() - Fixed bug where I was passing a point for an iterator
DMLabel: PetscHashIGetKeys() was made a function - It now accepts a NULL argument

show more ...


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

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


# ce1779c8 26-Nov-2013 Barry Smith <bsmith@mcs.anl.gov>

introduce XXXViewFromOptions() and use consistently when possible


# e91bcc90 23-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Fixed two bugs with DMPlexCreateClosureIndex()
- Must make index for entire DM chart
- Need to update cloff when no fields are present


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

DMLabel: PetscHashIGetKeys() was made a function
- It now accepts a NULL argument


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

Merge branch 'knepley/fix-plex-geometry-hex'

* knepley/fix-plex-geometry-hex:
DMPlex: If “vtk” label has no cells, do not use it
DMPlex: DMPlexCreateCohesiveSubmesh() must also extract orientati

Merge branch 'knepley/fix-plex-geometry-hex'

* knepley/fix-plex-geometry-hex:
DMPlex: If “vtk” label has no cells, do not use it
DMPlex: DMPlexCreateCohesiveSubmesh() must also extract orientations
DMPlex: Add 1D code for DMPlexCheckSkeleton()
DMPlex: Cleanup code for VTK output - Removed diagnostic print - Use DMLabel interface
DMPlex: Change geometry check to support interpolated meshes - This all has to be replaced anyway

show more ...


# 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 ...


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

Merge branch 'knepley/fix-plex-partition-overlap'

* knepley/fix-plex-partition-overlap:
DMPlex: When partitioning with overlap, make sure no points from the original partition can be owned by anot

Merge branch 'knepley/fix-plex-partition-overlap'

* knepley/fix-plex-partition-overlap:
DMPlex: When partitioning with overlap, make sure no points from the original partition can be owned by another process

show more ...


# 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 ...


# 057e8d19 18-Nov-2013 Michael Lange <michael.lange@imperial.ac.uk>

DMPlex: When partitioning with overlap, make sure no points from the original partition can be owned by another process


# 0d957afb 17-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Bug fix for interpolated adjacency formation


# e430e843 17-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Fast adjacency graph construction for interpolated meshes


# 1337e6e5 17-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: More events for distribution


# 58723a97 12-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Fix DMPlexCheckSkeleton() for submeshes


# 5edfc765 11-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Fix missing restore
Reported-by: Jed Brown <jedbrown@mcs.anl.gov>


# 20cb08bd 11-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Use DMLabelDistribute() in DMPlexDistribute()


# 63d1a920 11-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Use DMLabelGetStrautmBounds() in DMPlexGetDepth/HeightStratum()


# f4e3e319 10-Nov-2013 Matthew G. Knepley <knepley@gmail.com>

DMPlex: Add 1D code for DMPlexCheckSkeleton()


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

DMPlex: Expand logging


1...<<61626364656667686970>>...72