History log of /petsc/src/dm/impls/da/dainterp.c (Results 176 – 200 of 252)
Revision Date Author Comments
# 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 ...


# e3fbd1f4 22-Oct-2013 Barry Smith <bsmith@mcs.anl.gov>

removed use of DMDAGetGlobalIndices() for the DMDA computation of Jacobians
Replaced with call to DMGetLocalToGlobalMqppingBlock() and ISGetIndices() so these routines
no longer need the full set of

removed use of DMDAGetGlobalIndices() for the DMDA computation of Jacobians
Replaced with call to DMGetLocalToGlobalMqppingBlock() and ISGetIndices() so these routines
no longer need the full set of indices only the block version.

This in itself does not save memory but eventually will allow use to remove the storage of all the indices for dof > 1 with only the
storage of indices for the blocks

show more ...


# 8ea3bf28 21-Oct-2013 Barry Smith <bsmith@mcs.anl.gov>

removed idx and Nl from DM_DA object since the dm->ltogmap has the same information

this eliminates one memory usage of size dof * number of local grid points in DMSetUp_DA
Needed to add DMDARestore

removed idx and Nl from DM_DA object since the dm->ltogmap has the same information

this eliminates one memory usage of size dof * number of local grid points in DMSetUp_DA
Needed to add DMDARestoreGlobalIndices() to properly allow access to dm->logmap with DMDAGetGlobalIndices().
Though users could use DMGetGlobalToLocalMapping() followed by ISLocalGetGlobalMappingGetIndices() I have retained
DMDAGetGlobalIndices() to the code refactorization is less dramatic; the code could be changed later to eliminate
DMDAGetGlobalIndices()

show more ...


# 4042b796 17-Mar-2013 Jed Brown <jed@59A2.org>

Merge branch 'master' into jed/ts-eimex

Sync to include Git conversion, PETSC_EXTERN, and minor API changes.

Conflicts:
src/ts/interface/tsregall.c


# 4035e84d 16-Feb-2013 Barry Smith <bsmith@mcs.anl.gov>

daimpl.h was never fixed? Well it is now

Hg-commit: a4f3f6d7e4f165ac5276405a089a596a28adc0b3


# ce94432e 13-Feb-2013 Barry Smith <bsmith@mcs.anl.gov>

added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)

Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be


# 0298fd71 08-Feb-2013 Barry Smith <bsmith@mcs.anl.gov>

removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for Fortran
Fixed a few bugs where PETSC_NULL had been used incorrectly.

Hg-commit: 05

removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for Fortran
Fixed a few bugs where PETSC_NULL had been used incorrectly.

Hg-commit: 054705a517d7f4388a8a084415d7478cbe95dff4

show more ...


# 31d8eec5 01-Feb-2013 Barry Smith <bsmith@mcs.anl.gov>

commit after merge

Hg-commit: 1fa981254c79c783277e37654668dfe698cddf41


# 8865f1ea 01-Feb-2013 Karl Rupp <rupp@mcs.anl.gov>

Uncrustified src/dm/*. No re-uncrustification of un-uncrustified plex.c.

Hg-commit: 0eadce41498eb88aa85fb46f989ad9d09bfd9c3e


# c5a46771 22-Jan-2013 Barry Smith <bsmith@mcs.anl.gov>

commit aftr merge

Hg-commit: 854807b200896ff0e3d6fb344a549ed1a2b93850


# 1147fc2a 21-Jan-2013 Karl Rupp <rupp@mcs.anl.gov>

Reformatting: 'No space after a '(' or before a ')''

Hg-commit: 797341a7bfba18bb97e6da668b36bad2e5977356


# db4deed7 19-Jan-2013 Karl Rupp <rupp@mcs.anl.gov>

Style improvements: braces around 'else', partial '){' -> ') {'

Hg-commit: adc31fe870178bcba56a29e10981c8f8716a006a


# fd5aaf66 17-Jan-2013 Karl Rupp <rupp@mcs.anl.gov>

Removed leftover \t from src/dm/impls/da/*

Hg-commit: 72626afd6f31514aec3a244fa693f5db1b850223


# 6c2930d4 18-Sep-2012 Shri Abhyankar <abhyshr@mcs.anl.gov>

Commit after merge

Hg-commit: 29c41d281e3ece3127c753661dccfd04e452b7f8


# 3e08d2be 18-Sep-2012 Barry Smith <bsmith@mcs.anl.gov>

removed trailing blanks from source code
added rule rmtrailingblanks accessible via make ACTION=remtrailingblanks tree

Hg-commit: 6e3652165d48aa5f3e94dd66bf607adea6fac27a


# 8caf3d72 18-Sep-2012 Barry Smith <bsmith@mcs.anl.gov>

code to match PETSc style guide for if (xxx) for (xxx) sizeof(xxx)

Hg-commit: 01e0d19bcd83a980fb5e8e32b294a95da72b405f


# 0f55b88d 03-Jul-2012 Satish Balay <balay@mcs.anl.gov>

backout all chmod stuff in bf971ba58125
[but keep diffs to src/mat/impls/aij/mpi/mpimatmatmult.c ]

Hg-commit: 4a812fc1f35496ce2717c7da9ef12ffabbd13258


# c0174eb7 03-Jul-2012 Mark F. Adams <mark.adams@columbia.edu>

removed a spurious call to MatSetBlockSize.

Hg-commit: bf971ba58125bd8cf7ceb2a9d0f5cdf27c27cc6a


# 8e7768b9 24-Mar-2012 Matthew G Knepley <knepley@gmail.com>

Merge

Hg-commit: f997b2abc12025b16065184c2bb279689bbd06ac


# b45d2f2c 24-Mar-2012 Jed Brown <jed@59A2.org>

Rename include/private/ to include/petsc-private/

Hg-commit: 9a1730720b0d9756437b40462617551504641ade


# 2632470a 05-Mar-2012 Jed Brown <jed@59A2.org>

merge SNES/DM refactor

Hg-commit: 31d66a4917111e3b9e87bf19170c2c9421b4e8be


# 69b1f4b7 02-Mar-2012 Barry Smith <bsmith@mcs.anl.gov>

changed MatCreateMPIXXX() to MatCreateXXX() since that is what they are

Hg-commit: 88fb4066e05405d3c444fb00dd00ab15e805b3e3


# 51322221 28-Feb-2012 Jungho Lee <julee@mcs.anl.gov>

commit after merge

Hg-commit: e8d19a834d936a4816c3abf3af0b68733c00be11


# 0efd9525 02-Feb-2012 Barry Smith <bsmith@mcs.anl.gov>

commit after merge

Hg-commit: 54a761c42544130efb5741e24e87c2ff287e2248


1234567891011