Commit Graph
129 Commits
Author SHA1 Message Date
Veselin Dobrev ea0bffa058 Modified the virtual method AbstractSparseMatrix::EliminateZeroRows
and it implementations in derived classes, to accept an optional
'threshold' parameter.

A number of improvements in the doxygen documentation.

Some other minor tweaks.
2018-01-05 20:12:00 -08:00
Veselin Dobrev 02e184d996 make style 2018-01-04 18:51:48 -08:00
Veselin Dobrev 60d8a93f5a Merge branch 'master' into mixednonlin-dev 2018-01-04 18:50:08 -08:00
Veselin Dobrev 9c82cb6c2e In class Array2D, fix the case of 0 columns which was causing
division by zero in the NumRows() method.

In SparseMatrix::EliminateCol(), implement the case when the
matrix is finalized.
2018-01-04 18:23:57 -08:00
Tzanio ac9ca824cb Merged mfem's master as of 4/1/18 to resolve conflicts.
Tried to sync similar changes with PR #298.

Merge remote-tracking branch 'upstream/master' into diag-policy
2018-01-04 14:59:18 -08:00
Veselin Dobrev 42ad503d6e Define a shortcut for std::numeric_limits<double>::infinity() called
mfem::infinity() and replace (almost) all usage of the std version with
the shortcut.

In SparseMatrix::MakeRef, copy the field isSorted from the original
matrix.
2018-01-02 06:36:04 -08:00
Veselin Dobrev 97ed215aef Merge branch 'master' into elim-colrow-dev 2017-12-25 01:23:00 -08:00
Veselin Dobrev c6dafc6483 A set of small fixes and cleanups uncovered by static analysis with
clang static analyzer.
2017-12-09 16:12:35 -08:00
Tzanio 4e133b75e8 Minor styling/comments 2017-12-01 17:56:43 -08:00
Tzanio bfa0126936 make style 2017-12-01 17:44:35 -08:00
Tzanio 197441b025 Merge branch 'master' into elim-colrow-dev 2017-12-01 17:40:27 -08:00
Tzanio e9030a0147 Minor styling/comments 2017-12-01 17:40:14 -08:00
Tzanio Kolev f3fbd9765d Merge pull request #361 from mfem/sparsemat_op_equal
Define SparseMatrix operator equal [sparsemat_op_equal]
2017-11-26 18:22:05 -08:00
Veselin Dobrev 4211f15657 A small tweak in the SparseMatrix assignment operator. 2017-11-17 15:45:58 -08:00
gelever 52979a8b3f Make style 2017-11-13 16:31:49 -08:00
gelever 63d9e1239e Define operator= for SparseMatrix 2017-11-13 16:22:27 -08:00
kvoronin b336811de4 Added missed const 2017-11-11 23:01:14 -08:00
kvoronin 043a6b50e4 Added const specifiers in SparseMatrix methods EliminateCols() and GetSubMatrix() 2017-11-11 22:55:52 -08:00
Alexander Grayver 59d895d32e Fix DIAG_ZERO case 2017-11-06 20:29:50 +01:00
Alexander Grayver 12cb5dcad7 Introduce DiagonalPolicy enum instead of int d argument 2017-11-06 14:27:37 +01:00
Ido Akkerman 320405239a EliminateCol now similar to EliminateRow. This allows column elminination in finalized matrices. 2017-10-04 10:13:12 +02:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -07:00
Tzanio dbae60fe32 Version 3.1 2016-02-16 15:45:48 -08:00
Tzanio Kolev 6b72d34af6 Bugfix for VS2012 2015-01-29 17:08:16 -08:00
Tzanio Kolev 9d7774a03e Version 3.0 2015-01-26 15:07:34 -08:00
Tzanio Kolev fa169e4b92 Version 2.0 2011-11-18 11:39:53 -08:00
Tzanio Kolev 29ae8fb6ac Version 1.2 2011-04-08 15:27:24 -07:00
Tzanio Kolev 6bfa95b718 Version 1.0 2010-07-21 13:14:05 -07:00