Commit Graph
91 Commits
Author SHA1 Message Date
Sebastian Grimberg 7548778722 Rename Mult -> ArrayMult and similar to avoid partially overridden warnings 2022-12-14 18:14:38 -08:00
Sebastian Grimberg 7444aa5070 Merge branch 'master' into sjg/multigrid-mult-rhs 2022-08-01 08:59:34 -07:00
Sebastian Grimberg b15b188c44 Update const for Mult with multiple RHS 2022-08-01 08:59:06 -07:00
Sebastian Grimberg 9a2f3d5c73 Upgrades to Multigrid for multiple RHS 2022-07-14 15:52:25 -07:00
Sebastian Grimberg 4ffe3ef158 Fix shadowed names, abiguous cases, and make style 2022-07-14 15:52:25 -07:00
Sebastian Grimberg 89b7031a7a Add interface for multiple RHS solves
Also adds AddMult, AddMultTranspose as Operator methods for the ones that support it already.
2022-07-14 15:52:25 -07:00
Tzanio Kolev a46cf91039 Fixed additional instances of implicit type conversion 2022-06-24 09:43:50 -07:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Stowell, Mark L 63381b366a Renaming ostream variables from out to os 2022-01-18 15:06:46 -08:00
Stowell, Mark L f7c9bdab17 Renaming "out" and "err" local variables to avoid globals 2021-12-22 15:19:20 -08:00
Will Pazner 9e67380171 Improvements to PrintMatlab
Make Operator::PrintMatlab virtual, output zero entry in last row and column to
preserve matrix size.
2021-09-28 12:01:04 -07:00
Tzanio cc9fda7d8f Merge branch 'master' into form-linear-system-tweak 2021-07-15 18:29:13 -07:00
Tzanio 36cd2bd524 Changed special seed value in PowerMethod::EstimateLargestEigenvalue from -1 to 0 2021-05-27 08:33:33 -07:00
Tom Stitt d7739175fc Skip input vector randomizing in EstimateLargestEigenvalue if the seed is -1; useful when v0 is already random initialized 2021-05-26 13:29:59 -07:00
Aaron Fisher e758c37691 Removed nearly all leading underscores for variable names. Every once in a while one of these will confilct with standard libraries in an oddball compiler and it's best to just avoid this problem alltogether. 2021-05-10 16:06:51 -07:00
Veselin Dobrev 8ca6247b3e When FormLinearSystem methods define the true-dof versions of
X and B, use Vector's MakeRef instead of NewMemoryAndSize in the
case when the FE space prolongation is identity.

In MemoryManager::Insert, when re-inserting the same host pointer
allow the new pointer to have d_mt == MemoryType::DEFAULT in the
debug check.

In GridFunction::{MakeRef,MakeTRef} check for identity prolongation
with the method IsIdentityProlongation.
2021-04-27 12:36:49 -07:00
Veselin Dobrev 656b976340 Merge branch 'master' into tmopt-split-api
Resolved conflicts:
   fem/nonlinearform.cpp
   fem/nonlinearform.hpp
   fem/nonlinearform_ext.cpp
   fem/nonlinearform_ext.hpp
   fem/nonlininteg.cpp
   fem/nonlininteg.hpp
2021-02-16 23:31:53 -08:00
Veselin Dobrev 86895821b9 Re-worked class PANonlinearFormExtension::Gradient to implement
an Update method, reuse vectors from PANonlinearFormExtension,
and support FormSystemOperator by implementing GetProlongation.

Fix the size of the NonlinearFormExtension operator -- it is an
L-to-L operator.

In class NonlinearForm, add methods to access the interior and
boundary face integrators.

Small tweaks the methods (Par)NonlinearForm::GetGradient,
ConstrainedOperator::AssembleDiagonal, and
RAPOperator::AssembleDiagonal.

Add more doxygen documentation and other comments.
2021-01-27 13:07:45 -08:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Tomov e4d6911eff Introduced Operator::AssembleDiagonal and connected that
to OperatorJacobiSmoother and PANonlinearFormExtension.
2020-09-10 12:45:14 -07:00
stefanhenneking 29136050db Minor change in initializing member variable. 2020-06-24 12:07:09 -05:00
stefanhenneking 18bb5a5ac0 Remove DIAG_KEEP option for now. 2020-06-24 10:39:07 -05:00
stefanhenneking aea81c2920 Adding diagonal policy to constrained operator. 2020-06-19 11:54:48 -05:00
Dylan Copeland 71ecff776a Merge branch 'master' of https://github.com/mfem/mfem into rtpa
Conflicts:
	CHANGELOG
	linalg/operator.cpp
2020-04-21 11:48:59 -07:00
Daniel Drzisga dac3abfe4b Moved PowerMethod to operator.* 2020-04-09 21:20:42 +02:00
Dylan Copeland d7b0a8ce64 Merge branch 'master' of https://github.com/mfem/mfem into rtpa
Conflicts:
	examples/ex24.cpp
	examples/ex24p.cpp
	examples/ex5p.cpp
	fem/CMakeLists.txt
	tests/unit/fem/test_pa_coeff.cpp
2020-03-29 19:54:52 -07:00
Dylan Copeland 447a73cdac Implemented PA for ex5(p), with a new MixedBilinearForm function to assemble the diagonal of ADA^T for a diagonal D. 2020-03-13 13:59:54 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07: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 88a78bb6aa Merge branch 'master' into bsd-relicense
Conflicts:
	CONTRIBUTING.md
2020-03-02 09:28:37 -08:00
camierjs 1e8da55823 Merge branch 'master' into okina-mmu 2020-02-27 11:34:06 -08:00
Tzanio b0200dc344 Merge branch 'master' into add-2ndorder-timeint-dev
Conflicts:
	examples/makefile
	tests/unit/CMakeLists.txt
2020-02-27 10:13:00 -08:00
Tzanio e689fd5b28 Merge branch 'master' into bsd-relicense 2020-02-27 09:29:25 -08:00
camierjs c632adbcb4 Add Pi to InitTVectors to test it with IsIdentityProlongation 2020-02-24 15:59:53 -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
camierjs 8f30f76e85 Move DEVICE macros to cuda header
Use stream sync
2020-02-20 15:08:49 -08:00
Ido Akkerman 9cf772e895 Going to seperate SecondOrder classes 2020-02-06 18:11:09 +01:00
camierjs 822e2be19d Merge branch 'master' into okina-mmu 2020-01-21 20:35:44 -08:00
camierjs c37addeb9c Merge branch 'master' into okina-mmu 2020-01-20 12:19:01 -08:00
Veselin Dobrev 6a5ed97f53 A few tweaks after the merges from master. 2020-01-17 20:15:47 -08:00
Tzanio 5446ce63e3 Merge branch 'master' into rectop-bc-dev
Conflicts:
	linalg/operator.cpp
2020-01-17 18:33:45 -08:00
camierjs 20a63b218a GetProlongationMatrix returns IdentityOperator when NRanks ==1
Add IsIdentityProlongation in operator.hpp
2020-01-16 16:11:51 -08:00
Tzanio 5534584ef8 Merge branch 'master' into rectop-bc-dev 2020-01-08 16:44:22 -08:00
camierjs 6a61e78bf9 Merge branch 'master' into okina-mmu 2020-01-06 11:01:36 -08:00
Dylan Copeland 8471693dc9 Merge branch 'master' of https://github.com/mfem/mfem into prod-iter-fix-dev 2019-12-17 16:21:27 -08:00
camierjs bf2d1eb59a Cuda, debug examples but last mt 2019-11-25 15:31:54 -08:00
Julian Andrej c84af9586d first step picking hunks for rectangular operators 2019-11-18 16:49:44 -08:00
Tzanio b7cac4145a make style 2019-11-03 13:32:21 -08:00
Veselin Dobrev 7a869c30c6 In class TimeDependentOperator, add a new property: evaluation
mode, see TimeDependentOperator::SetEvalMode() for description.
This new property is now used to support IMEX time integration
in class ARKStepSolver. With this addition the method
TimeDependentOperator::SUNImplicitMult() is no longer needed
and was removed.
2019-10-11 23:37:49 -07:00