History log of /petsc/src/mat/impls/sbaij/seq/sbaij2.c (Results 201 – 225 of 409)
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 ...


# 256ff83f 11-Sep-2013 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into barry/wirth-fusion-materials

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


# e33c197d 11-Jun-2013 Richard Mills <rtm@eecs.utk.edu>

Merged petsc/petsc into rmills/petsc master.


# 11513a83 07-May-2013 Jed Brown <jedbrown@mcs.anl.gov>

Merge branch 'jed/stack-call-blas'

Fix performance bug that calling BLAS takes an amount of time dependent
on the number of memory allocations that the program has made.

* jed/stack-call-blas:
Pe

Merge branch 'jed/stack-call-blas'

Fix performance bug that calling BLAS takes an amount of time dependent
on the number of memory allocations that the program has made.

* jed/stack-call-blas:
PetscStackCallBLAS: new macro instead of PetscStackCall (skip CHKMEMQ)
Stack: consolidate handling of PetscStack

show more ...


# 8b83055f 05-May-2013 Jed Brown <jedbrown@mcs.anl.gov>

PetscStackCallBLAS: new macro instead of PetscStackCall (skip CHKMEMQ)

When CHKMEMQ occurs on every call to BLAS or Lapack, we sometimes see
unacceptable performance degradation (orders of magnitude

PetscStackCallBLAS: new macro instead of PetscStackCall (skip CHKMEMQ)

When CHKMEMQ occurs on every call to BLAS or Lapack, we sometimes see
unacceptable performance degradation (orders of magnitude).
PetscStackCallBLAS is currently identical to PetscStackCall except for
skipping CHKMEMQ, but such checking could be made optional in the
future.

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


# 06873bf2 08-Mar-2013 Barry Smith <bsmith@mcs.anl.gov>

moved "macro" kernel interfaces to petsc-private/kernels

Hg-commit: a5f14392b251a7db2c640b6be7e611f6c23ef9ea


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

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

Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be


# a83cb05c 07-Feb-2013 Barry Smith <bsmith@mcs.anl.gov>

added back in /*I "petscvec.h" I*/ in several files I mistakenly removed it from
wrapped all the BLAS calls in PetscStackCall()

Hg-commit: 18be25a7ff539aa5230355449bf40d90e959b06a


# 7e590d5f 03-Feb-2013 Barry Smith <bsmith@mcs.anl.gov>

commit after merge

Hg-commit: db805e8197486aa7db018c01793dec447b9e9cbb


# 26fbe8dc 02-Feb-2013 Karl Rupp <rupp@mcs.anl.gov>

Uncrustified src/mat/*.

Hg-commit: 5c6f04286a6cfcd98361b2479b884c0041d95b73


# c5df96a5 26-Jan-2013 Barry Smith <bsmith@mcs.anl.gov>

updated PetscBLASIntCast() to return an error code

Hg-commit: 57d88da2280bc54336c931f5cac9a473f8f9a031


# f23aa3dd 25-Jan-2013 Barry Smith <bsmith@mcs.anl.gov>

generally SETERRQXX does not belong on its own line
also fixed formatting issues in dgmres.c (ugh)

Hg-commit: e3fffdf67cd55655a36785a0abc7c197e98ca7cd


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

commit aftr merge

Hg-commit: 854807b200896ff0e3d6fb344a549ed1a2b93850


# 6e111a19 21-Jan-2013 Karl Rupp <rupp@mcs.anl.gov>

Updated style to obey 'Do not put a blank line immediately after PetscFunctionBegin;'

Hg-commit: 5408b9ce2402ad624305b7a7a323ab3ae5e0c3f1


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

Carefully replaced more '){' by ') {', added checker script

Hg-commit: a0037010be00b56a68354d942365c8f8df63198a


# 9669e4d8 03-Jan-2013 Barry Smith <bsmith@mcs.anl.gov>

removed the silly #if defined(PETSC_USE_COMPLEX) special cases when the complex version gives the exact same results as the real version for real, i.e. PetscConj, PetscRealPart, do nothing and are ha

removed the silly #if defined(PETSC_USE_COMPLEX) special cases when the complex version gives the exact same results as the real version for real, i.e. PetscConj, PetscRealPart, do nothing and are harmless for the real case
the less #if def code duplication we have the better

Hg-commit: 158afdac623e9fb04c1dbe14153c0895e6c4feef

show more ...


# 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


# 8aa97da3 03-Apr-2012 stefano_zampini <stefano.zampini@gmail.com>

Commit after merge

Hg-commit: 8c5e601e00cdfb6d35c8d12ba9952a5d3a8ea1b8


# 96b95a6b 02-Apr-2012 Barry Smith <bsmith@mcs.anl.gov>

namespace Mat utility functions

Hg-commit: 2912dadb08982f5a3e4a9b22bd8b48ffa685bef3


12345678910>>...17