- Jan 26, 2022
-
-
Mark OLESEN authored
- use setter method for context initialized
-
Mark OLESEN authored
- fix constness on updateMat COMP: use std::max_element instead of Foam::max(List..) - PetscInt may be an unusually sized type and the Foam::max(List...) convenience field function may fail. Eg, if PetscInt is something like 'long long' and there is no pTraits<long long>::min, max defined. COMP: add additional library link dependencies See merge request !9
-
- May 18, 2021
-
-
- Oct 22, 2020
-
-
Mark OLESEN authored
-
- Oct 07, 2020
-
-
Mark OLESEN authored
-
- Oct 03, 2020
-
-
stefano zampini authored
with the code before, the periodic iters for the preconditioner were updated only if the matrix was changed. Now, periodic updates are decoupled Added PC setup stage to better distinguish low level PETSc events
-
- Oct 02, 2020
-
-
stefano zampini authored
-
- Jul 06, 2020
-
-
Simone Bnà authored
-
- Jun 24, 2020
-
-
-
Mark OLESEN authored
- unused fall-through value, but should default to "Always"
-
Mark OLESEN authored
- Jun 19, 2020
-
-
Mark OLESEN authored
- remnants from older code prior to wrapping PETSc vectors directly. - leave gAverage() and gSum(). Still potentially useful.
-
-
-
Mark OLESEN authored
- might have PREFIX/ARCH/include PREFIX/include
-
Mark OLESEN authored
-
- Jun 18, 2020
-
-
Simone Bna authored
-
Mark OLESEN authored
- change very misleading enum from `cachingTypes` to `updateTypes` and fix enumeration order. - default constructed cache was "None" (meant to be no caching) but should have been "Always" (ie, always update).
-
- Jun 16, 2020
-
-
Mark OLESEN authored
- consistent with other modules
-
Mark OLESEN authored
- support mixed-precision (SPDP) mode
-
stefano zampini authored
-
- use KSP_NORM_NONE if using foam convergence criterion - support monitoring OpenFOAM residual reduction irrespective of the convergence testing - remove occurences of PETSC_NULL and nullptr in favor of NULL
-
-
- call SetUseInitialGuessNonzero before KSPSetFromOptions, so that users can still customize it. - We no longer need a patched petsc version that compute the L1 residual for us. - Use a monitor to report the initial residual from PETSc when using PETSc convergence testing. - Cleanup source code from unused functions/variables - Use PetscFunctionBeginUser/PetscFunctionReturn and PETSc error handling if called from PETSc
-
- the general MatSetUp call is a dummy call if we already preallocated with the above preallocators this is intended to allow for a different matrix type, only for the purpose of testing
-
- need VecResetArray otherwise the CPU array placed will never be updated STYLE: make PetscWrappedVector constructor explicit, use default constructor
-
- Jun 12, 2020
-
-
Simone Bnà authored
-
Simone Bnà authored
-
Simone Bnà authored
-
- Jun 08, 2020
-
-
Mark OLESEN authored
- compile into FOAM_USER_LIBBIN for consistency with other modules
-
- Jun 05, 2020
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- normally not defined, but can be used to define an alternative installation location. More refinements in the future, pending changes in OpenFOAM.
-
- Apr 10, 2020
-
-
Simone Bnà authored
-
- Mar 11, 2020
-
-
Mark OLESEN authored
-