| #
d476b537
|
| 09-Nov-2008 |
Matthew Knepley <knepley@mcs.anl.gov> |
Merge
Hg-commit: 87bc205b65426932af6e852e495d40d71f02677a
|
| #
321429db
|
| 07-Nov-2008 |
Barry Smith <bsmith@mcs.anl.gov> |
As long as you apply the scaling (either the diagonal or the scalar one) only once, it's all OK (I verified it).
When you try to apply the scaling more than once, this is what happens:
1) for the M
As long as you apply the scaling (either the diagonal or the scalar one) only once, it's all OK (I verified it).
When you try to apply the scaling more than once, this is what happens:
1) for the MatScale, the new scale factor is substituted to the previous one; I think this is not what should happen. I think that, once built, it should be possible, for the user, to use it nearly as an ordinary matrix. So, I suggest that MatScale, should control if a scale factor is already present. If it is, it should not substitute it. It should upgrade it (in other words scale_factor *= new_one). Only if it does not exist, it should create and store it.
2) for the MatDiagonalScale we could think to something analogous to what I told at point 1. Anyway, I did not verify the results, because, after having modified my test program to apply the MatDiagonalScale twice (in sequence), I, first of all, ran the program with valgrind and it found some memory leaks that did not appear with the single scaling.
I re-attached the test program. I added (commented) the two lines of code that can activate the "double scaling" (lines 155 and 161).
Thank you again. Best Regards.
Michele
Hg-commit: e67580c9014d755296cc00681ca01a93b901982f
show more ...
|
| #
2d200336
|
| 06-Nov-2008 |
Matthew Knepley <knepley@mcs.anl.gov> |
Merge
Hg-commit: af487d5b45dae01d0566132d57158d0286d6a750
|
| #
e4fc5df0
|
| 04-Nov-2008 |
Barry Smith <bsmith@mcs.anl.gov> |
added MatScale() MatDiagonalScale() to MATCOMPOSITE per petsc-maint 18500 warning: not tested.
Hg-commit: 2c125e6c8461666c920507c51bfebca66ccd9d7c
|
| #
7c4f633d
|
| 03-Nov-2008 |
Barry Smith <bsmith@mcs.anl.gov> |
removed -I$PETSC_DIR from make system and changed the corresponding #include "src/dsdsdsds" to "../src/sdsdsds" in the source code
Hg-commit: 6e3c4cc4b4bfcb366bae9b71afcb5009c1f0429d
|
| #
2966e336
|
| 30-Oct-2008 |
Matthew Knepley <knepley@mcs.anl.gov> |
Merge
Hg-commit: b21f1d9be4eabb0bcd8bf0e8f6b9017c8df1d44f
|
| #
eccdcbdc
|
| 30-Oct-2008 |
Lisandro Dalcin <dalcinl@gmail.com> |
merge
Hg-commit: fed3f0475c4939936354d3b4df5a86f70ba26a8e
|
| #
6d7c1e57
|
| 30-Oct-2008 |
Barry Smith <bsmith@mcs.anl.gov> |
added MatCompositeSetType() MatComposite can now do multiply in addition to add
Hg-commit: 4c5e06c87351afd0630cd1b00305dc0ca4344355
|
| #
d0f46423
|
| 10-Sep-2008 |
Barry Smith <bsmith@mcs.anl.gov> |
fixed some memory bleeding changed PetscMap in Vec and Mat to be an allocated shared structure with referencing counting. Shared by Vecs obtained with VecDuplicate() and MatGetVecs()
Hg-commit
fixed some memory bleeding changed PetscMap in Vec and Mat to be an allocated shared structure with referencing counting. Shared by Vecs obtained with VecDuplicate() and MatGetVecs()
Hg-commit: 9cebf4ba1b4632fc12cb8afbc01d420ee612ad72
show more ...
|
| #
3be44c43
|
| 18-Nov-2007 |
Barry Smith <bsmith@mcs.anl.gov> |
commit aFTERmerge
Hg-commit: 45a698803bd457bdc2ba32be5035e710250a5320
|
| #
6f3d5618
|
| 31-Oct-2007 |
Dmitry Karpeev <karpeev@mcs.anl.gov> |
Merge.
Hg-commit: 4a9e5a2b97bdb9073e83eff56096e46ac4ef2230
|
| #
60f69c44
|
| 15-Oct-2007 |
Matthew Knepley <knepley@mcs.anl.gov> |
Merge
Hg-commit: ae7ad2b71b1fdcfb27898e923a2c03bd62c86a54
|
| #
781b3001
|
| 14-Oct-2007 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: 4e945c9820f08f3e5a1bc871ec50d7ccb0b7454e
|
| #
e0156e0b
|
| 11-Oct-2007 |
Satish Balay <balay@mcs.anl.gov> |
merge
Hg-commit: 8b48556a285e293c04f497a3a1e40ac96cfd5016
|
| #
780a600e
|
| 05-Oct-2007 |
Satish Balay <balay@mcs.anl.gov> |
merge
Hg-commit: b5a05984274c84515a795ed75eef9d3b27ba97f1
|
| #
442648ef
|
| 04-Oct-2007 |
Lisandro Dalcin <dalcinl@gmail.com> |
merge
Hg-commit: 8b955b66410cbc923a4e1233fdeaca7fbf3e5d5d
|
| #
7adad957
|
| 03-Oct-2007 |
Lisandro Dalcin <dalcinl@gmail.com> |
changes for solving the strict aliasing issue in PetscObject and derived
Hg-commit: 278faecc91564f5495fa9f7d48380d547995fa45
|
| #
823e7f9c
|
| 30-Jul-2007 |
Dmitry Karpeev <karpeev@mcs.anl.gov> |
Merge.
Hg-commit: 87e316ba2724836f5390b8c890f9dee19e9c35ea
|
| #
0802e0e8
|
| 10-Jul-2007 |
bcordonn <bcordonn@hookshot.mcs.anl.gov> |
Commit after a merge
Hg-commit: 27d386e23e9f55709fe4259d452de253e8d187ea
|
| #
d0051c2c
|
| 07-Jul-2007 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: 6fb2e2031f541698c18b941059a70518bfdac344
|
| #
2ef6adf6
|
| 06-Jul-2007 |
Matthew Knepley <knepley@mcs.anl.gov> |
Merge
Hg-commit: 1c3afdd77376c2f1a3f6c814cb3554fcc98760b5
|
| #
38f2d2fd
|
| 06-Jul-2007 |
Lisandro Dalcin <dalcinl@gmail.com> |
initial changes for better memory loggin on objects
Hg-commit: 0ef7914e13d41d173ef1ba2552c26bd9f41bc807
|
| #
dca50b53
|
| 14-Mar-2007 |
Matthew Knepley <knepley@mcs.anl.gov> |
Merge
Hg-commit: 11f9f12619ebda1ed94edf49e4c23ac29afc2748
|
| #
2813ca57
|
| 13-Mar-2007 |
Barry Smith <bsmith@mcs.anl.gov> |
added PetscMapSetBlockSize() on several matrix types that missed it; petsc-maint 15926
Hg-commit: b936b8f008c282766f58ef07bd6c07f871dc8dc0
|
| #
4ab79f74
|
| 06-Mar-2007 |
Matthew Knepley <knepley@mcs.anl.gov> |
Merge
Hg-commit: b66158ae56936dbc51c53435e2a067b4ce824630
|