Commit Graph
148 Commits
Author SHA1 Message Date
Tzanio Kolev 646728dfac Merge pull request #1498 from mfem/tweaks-dev
Small bug fixes, accessor methods, and documentation tweaks [tweaks-dev]
2020-06-15 07:25:03 -07:00
Tzanio efd5b9f019 minor 2020-06-12 18:05:23 -07:00
Vargas 71377db232 make style 2020-05-28 11:50:45 -07:00
Arturo Vargas da01fc0ed1 add docs 2020-05-28 11:49:30 -07:00
Vargas e37c2c7fb1 make style 2020-05-21 13:35:05 -07:00
Arturo Vargas 9bd653526e PR comments 2020-05-21 13:33:55 -07:00
Arturo Vargas 89abb3cd8c Merge branch 'master' into gpu/artv3/batch-lu 2020-05-21 13:04:06 -07:00
Stowell, Mark L dc31c57359 Adding DenseMatrixInverse::Mult(double*, double*) method similar to DenseMatrix 2020-05-21 10:55:43 -07:00
Arturo Vargas b0350a5999 pivot flag host read fix 2020-05-14 18:20:46 -07:00
Vargas 7a9b2bb98a make style 2020-05-14 16:40:55 -07:00
Arturo Vargas 860d2aca1c add suport for vector and dense tensor types 2020-05-14 16:32:22 -07:00
Arturo Vargas a556dc8eba consider support for Vectors/DenseMatrices in lu batch 2020-05-13 17:07:38 -07:00
Arturo Vargas 4f430f0ee4 DenseTensor->Vector 2020-04-28 18:16:08 -07:00
Vargas 908f689ea5 makestyle 2020-04-28 14:40:36 -07:00
Arturo Vargas b8b5a21a7c clean up pass 2020-04-28 14:00:35 -07:00
Vargas c1f7f42dcc make style 2020-04-28 13:36:05 -07:00
Arturo Vargas 5925b7dfa8 init commit of batch lu decomp 2020-04-28 13:27:48 -07:00
Will Pazner 39647f4ffd Fix bug in RightSolve 2020-03-27 20:49:04 -07:00
Tzanio f1e04e7282 Merge branch 'master' into mfem-4.1-dev
Conflicts:
	fem/quadinterpolator.cpp
	fem/restriction.cpp
2020-03-10 16:56:01 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio 9b19b8c09d A bit more documented linalg/kernels.hpp 2020-03-07 17:10:59 -08:00
Tzanio b22edc0adc Bugfix in kernels::CalcSingularvalue.
Documented the function arguments in linalg/kernels.hpp.

Other minor changes.
2020-03-05 18:35:55 -08:00
camierjs 28f3373ed8 Switch blas to kernels 2020-03-05 16:52:49 -08:00
camierjs a79cadc840 Merge branch 'master' into laghos 2020-03-05 16:37:55 -08:00
Tzanio 58872c9e7b Merge branch 'master' into okina-mmu
Conflicts:
	fem/datacollection.cpp
	tests/unit/CMakeLists.txt
2020-03-04 15:19:33 -08:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
Veselin Dobrev ad1902b4b4 Update some doxygen documentation.
Remove the 'capacity' field from class DenseMatrix.
2020-02-15 00:35:42 -08:00
camierjs 758660a1cd Merge branch 'master' into laghos 2020-02-11 08:28:55 -08:00
camierjs 4f4c1c0e6c Merge branch 'master' into okina-mmu 2020-02-11 08:26:28 -08:00
George Zagaris 1a59129be5 ENH: propagate tolerance to lu.Factor()
Propagate the specified tolerance in LinearSolve() to the
lu.Factor() call.
2020-02-10 19:48:58 -08:00
camierjs 772c77be5d Merge branch 'master' into laghos 2020-02-05 14:48:01 -08:00
camierjs a85365da33 Change densemat to use Memory, but kept LUFactors 2020-02-04 14:36:52 -08:00
Jakub Cerveny 5669a12c57 Fixed memory leak when lu.Factor() fails. 2020-01-30 10:05:21 +01:00
Jakub Cerveny 56e20df48e A couple more style changes. 2020-01-30 09:49:08 +01:00
George Zagaris 152d984b2b STYLE: manual style fixes based on review comments 2020-01-29 19:17:11 -08:00
George Zagaris 20da647259 ENH: access matrix components directly 2020-01-29 19:08:18 -08:00
George Zagaris 1c83482ef3 ENH: optional tolerance argument in LinearSolve()
Add optional argument to set the tolerance in LinearSolve().
If not specified, the default is set to 1.e-9.
2020-01-29 18:54:59 -08:00
George Zagaris d9d6377fcb ENH: change return value to boolean
Changed the return value of the LUFactors::Factor() and
LinearSolve() to a boolean. Updated test accordingly.
2020-01-29 18:45:41 -08:00
George Zagaris 73ca8f8918 ENH: avoid using magic number in LUFactors::Factor
Add optional argument to LUFactors::Factor that prescribes
a tolernace for fuzzy comparisons. This avoids using magic
numerical values in the implementation and allows the caller
to modify the tolerance if needed. If a tolerance is not
specified, the default is set to 1.e-9.
2020-01-29 17:55:45 -08:00
George Zagaris 2b0ed55119 ENH: overload SetCol/SetRow to take pointers
Overloads the SetCol and SetRow methods of the DenseMatrix class
to take raw pointers for convenience and to avoid creation of
small objects in a tight loop.
2020-01-29 17:55:45 -08:00
George Zagaris 0e156169a7 ENH: make LUFactors::Factor less verbose on error 2020-01-29 17:55:45 -08:00
George Zagaris 0f1d8cab71 ENH: add LinearSolve(A,X) convenience routine
This commit adds a convenience routine to solve linear systems
of the form `Ax=b` for a given square DenseMatrix instance `A`
and right handside vector, `b`. In general non-trivial case of
a matrix that is 3x3 or greater, this routine serves as a thin
wrapper around the functionality of the LUFactors class that
is provided for convenience. In addition, this commit adds
associated unit tests for the new routine.
2020-01-29 17:55:45 -08:00
George Zagaris 1c3735c659 ENH: add return code to LUFactors::Factor() method
Change the LUFactors::Factor() routine such that it returns
zero on success and a negative integer otherwise.
2020-01-29 17:55:45 -08:00
Will Pazner a431e1e472 Add RightSolve function to LUFactors 2020-01-13 16:40:04 -08:00
Will Pazner 22111a33a2 Formatting 2020-01-13 12:46:20 -08:00
Will Pazner c9aeaaa987 Compute ILU factorization 2020-01-10 15:19:51 -08:00
camierjs 371d7c411b Now use blas:: code instead of densemat & cleanup 2020-01-10 12:12:53 -08:00
camierjs 7f719b5d2c Cleanup 2019-12-19 10:36:05 -08:00
camierjs 81d3d81223 Merge branch 'master' into laghos 2019-12-17 12:51:17 -08:00