- Apr 28, 2015
-
-
Christian Engwer authored
we have to retrieve an int which is stored in field_type. If the field_type is std::complex, we have to access the real-component, if it is double/float, we don't have to do anything special. We use std::real(.) to get the correct real value. This function (with its appropriate overloads) is available from c++11 on, but this part was already supported by the ancient g++ version we supprt ;-)
-
- Apr 13, 2015
-
-
Oliver Sander authored
-
Oliver Sander authored
-
- Mar 24, 2015
-
-
Updated how METIS_PartGraphRecursive is called in METIS version 5. In the new parameters NULL value is used where possible. Only one new parameter could not be set to NULL, it is the "ncon" (second argument). In the manual it says: "ncon: The number of balancing constraints. It should be at least 1." so 1 is used as its value. Also options with the new layout are passed in METIS_PartGraphRecursive initialized with the default values(default values also used in the current code: options[0]=0). Only one option was added manually: the METIS_OPTION_NUMBERING = numflag which is the same numflag parameter passed in the old version of METIS_PartGraphRecursive function. Signed-off-by:
Christoph Grüninger <gruenich@dune-project.org>
-
- Mar 10, 2015
-
-
- Jan 05, 2015
-
-
Oliver Sander authored
On request of Markus Blatt. Supposedly there have been problems with and/or on older compilers.
-
- Jan 04, 2015
-
-
Oliver Sander authored
-
Oliver Sander authored
-
- Dec 18, 2014
-
-
Steffen Müthing authored
When DUNE_ISTL_WITH_CHECKING is enabled, the BCRSMatrix throws an exception when trying to access a row that has no columns. This creates a problem in PDELab when using nested BCRSMatrices (as some people do for operator splitting in PDELab), where an off-diagonal BCRSMatrix block might be completely empty (i.e. have a correctly set up structure, but every row in the off-diagonal BCRSMatrix is empty. If the PDELab assembler then attempts to set a Dirichlet constraint, it has to access the row to set all columns in that row to zero, but the check in operator[] prevents it from doing so. So this patch just drops that check.
-
- Dec 15, 2014
-
-
Steffen Müthing authored
This patch removes the assumption that the field_type and / or real_type can always be implicitly converted to double and can be implicitly constructed from an int (in constructs like field_type d = 0;). This patch is required for compatibility with the FLOP counter in PDELab.
-
- Nov 29, 2014
-
-
Christoph Grüninger authored
It should be std::endl. Courtesy of GCC 5-svn, it refuses to compile these.
-
- Nov 28, 2014
-
-
Carsten Gräser authored
While c++11 allows a trailing comma in enums, we should avoid this because it provokes gcc-4.4 warnings.
-
-
- Oct 30, 2014
-
-
Tobias Malkmus authored
-
- Oct 29, 2014
-
-
Christoph Grüninger authored
This solves warnings in UG for redefined macros. Thanks to Christian for hinting the proper way fixing this.
-
Markus Blatt authored
-
When assigning a BCRSMatrix to another BCRSMatrix which was setup for a different size/pattern, it segfaulted and I got the following Exception: "InvalidStateException [allocate:.../dune/istl/bcrsmatrix.hh:2108]: Rows have already been allocated, cannot allocate a second time." The problem was, that inside the assignment operator the rows (r) were never deallocated. This commit fixes this and adds a testcase. Testcase slightly modified by Markus.
-
- Oct 03, 2014
-
-
Markus Blatt authored
This mode is not implemented and therefore throws an assertion that makes the test fail everytime.
-
- Aug 05, 2014
-
-
Dominic Kempf authored
The elapsed wallclock time is readily available by UMFPack and can be written to InverseOperatorResult.elapsed!
-
- Jul 21, 2014
-
-
Markus Blatt authored
Namely we try to document the template parameters in more detail and make sure that cross reference to OwnerOverlapCopyCommunication, vectors, and matrix implemetation appear.
-
- Jun 12, 2014
-
-
Steffen Müthing authored
-
Steffen Müthing authored
As Christoph pointed out in FS1467, that's a rather unusual name for a DUNE header file, so make it a little more consistent.
-
Christoph Grüninger authored
Add newline at and of file.
-
- Jun 11, 2014
-
-
Steffen Müthing authored
That header is not supposed to be used on its own, so it makes no sense to check whether that is possible.
-
Steffen Müthing authored
-
Steffen Müthing authored
The recently added tests for complex matrices added to complexrhstest made that file really large and unwieldy, so this patch moves those tests to a new file complexmatrixtest.
-
Marian Piatkowski authored
[Cleanup][Tests] Rearranged the automatically parsed code for the assembling of the random matrices and random vectors in assemble_random_matrix_vectors.hh for better readability
-
Marian Piatkowski authored
-
Marian Piatkowski authored
[Tests] added tests using complex nonsingular matrices and complex hermitian matrices to test the MinRes and GMRes solver on purely complex problems
-
Marian Piatkowski authored
-
Marian Piatkowski authored
[Bugfix] fixed order of the scalar product when applying the Arnoldi algorithm in GMRes solver, which is important in the complex case minor cleanups in the MinRes solver
-
Marian Piatkowski authored
[Bugfix] implemented complex Givens rotations and fixed MinRes and GMRes for complex valued problems
-
- Jun 01, 2014
-
-
Christoph Grüninger authored
-
- May 19, 2014
-
-
Markus Blatt authored
The type idxtype is used by header repartition even if parmetis is not used. Therefore it has to be typedefed meaningful in this case, too. This was not the case before and is accomplished by this commit.
-
Markus Blatt authored
This was introduced for debugging only and could have side effects onto other headers. Removes the accidentally committed line.
-
- May 09, 2014
-
-
Tobias Malkmus authored
-
- 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
-
-