- May 08, 2014
-
-
Steffen Müthing authored
Function attribute have to be placed in front of the function name, not behind it.
-
- May 07, 2014
-
-
made the distinction between field_type and real_type which is the same for real numbers but differs for std::complex
-
added the old constructors called with the variable recalc_defect to RestartedGMResSolver and set them as deprecated, since they should not be used anymore
-
-
replaced the usual arrays for the Givens-rotation coefficients and the search directions etc. with the arrays from Dune implemented the BLAS-routine drotg for greater robustness which was a TODO note to compute the Givens rotation
-
removed bool recalc_defect reimplement the update function with respect to optimality fixed strange behaviour when maxiter is reached and GMRes wants to restart infinitely many times fixed strange behaviour when linear reduction is reached but GMRes wants to restart and continue calculation fixed the printing of the results
-
- Oct 02, 2013
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
This caused build errors with CMake.
-
Christoph Grüninger authored
-
- Sep 18, 2013
-
-
- Sep 11, 2013
-
-
- Sep 09, 2013
-
-
Christian Engwer authored
fix "unused variable" warnings by proper use of #ifdef
-
- Sep 06, 2013
-
-
- Aug 27, 2013
-
-
Markus Blatt authored
MatrixAdapter uses a const reference to store a reference to the matrix it is working on. Without this patch it was possible to pass the matrix to constructor actually taking a MatrixAdapter as its argument. This resulted in a const reference to a temporary MatrixAdapter that died after the constructor call. This patch request explicitly calling the constructor and thus fixes this issue.
-
- Aug 26, 2013
-
-
This problem was introduced in 3da29f78
-
- Aug 21, 2013
-
-
Markus Blatt authored
The last patch missed one instance of double. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: ../../../../dune/istl/test/superlutest.cc # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # ../../../../build-clang/ # ../../../../build-test/ # ../../../../parallel/ # ../../../../test-shared/
-
Markus Blatt authored
-
Markus Blatt authored
Somehow I missed this instance in the transition.
-
Markus Blatt authored
Previously this code was plain wrong. It actually made a copy of the vector and tried to swap its entries with the original vector. The argument to swap even was a const reference! Now we use the correct trick: vector().swap(other).
-
- Aug 19, 2013
-
-
Oliver Sander authored
-
- Aug 15, 2013
-
-
Christian Engwer authored
use FieldTraits to determin the return type of the norm methods
-
Christian Engwer authored
use FieldTraits to determin the return type of the norm methods
-
Christian Engwer authored
update matrixtest to use the FieldTraits and not assume double as the return value of *_norm
-
Christian Engwer authored
use FieldTraits to determin the return type of the norm methods
-
Christian Engwer authored
use FieldTraits to determin the return type of the norm methods
-
Christian Engwer authored
add header ftraits.hh as we are using the FieldTraits now
-
Christian Engwer authored
add blockvector test for nested block vectors
-
Christian Engwer authored
add FieldTraits specialization for BlockVector (derived from the patch by Bernd Flemisch)
-
Christian Engwer authored
fix usage of FieldTraits (similar to the PromotionTraits)
-
- Aug 14, 2013
-
-
Inspired by commit fcff302d.
-
- Aug 13, 2013
-
-
Markus Blatt authored
-
Previously memory was only releases in the case that the data was copied. This resulted in a memory leak if no copying was requested. This patch fixes this by moving the deallocation to the correct scope and consequently closes flyspary #1326, see http://www.dune-project.org/flyspray/index.php?do=details&task_id=1326
-
- Aug 12, 2013
-
-
Markus Blatt authored
-
Markus Blatt authored
-
Markus Blatt authored
The patches that made copies of AMG usable form different threads changed its internal interface. This patch adapts KAMG to these changes and makes it compile and run again. While at it, I changed from normal pointers to shared_ptr where it seemed suitable.
-
This is essentially equivalent to Uli Sack's patch from Flyspray task FS#1202, ported to the current master. Currently, GMRes is inconsistent when comparing current ('norm') and initial defect ('norm_0'). While the current residual is taken from the preconditioned residual, the initial defect - at least in the case the flag '_recalc_defect' is not set, which is the default - is taken from the unpreconditioned residual. This causes the following problems: 1) The calculated reduction is wrong. 2) The solver might even exit in iteration 0 (without entering the iteration loop) because 'norm' and 'norm_0' differ by a factor greater than the requested reduction, returning a zero update 'x'. By using the preconditioned residual in any case, the defect calculation is made consistent again.
-
-
Markus Blatt authored
-
Markus Blatt authored
-
Markus Blatt authored
-