Line data Source code
1 : /**********************************************************************/ 2 : /* DO NOT MODIFY THIS HEADER */ 3 : /* Swift, a Fourier spectral solver for MOOSE */ 4 : /* */ 5 : /* Copyright 2024 Battelle Energy Alliance, LLC */ 6 : /* ALL RIGHTS RESERVED */ 7 : /**********************************************************************/ 8 : 9 : #include "TensorSolver.h" 10 : #include "TensorPredictor.h" 11 : #include "TensorProblem.h" 12 : 13 0 : IterativeTensorSolverInterface::IterativeTensorSolverInterface() 14 0 : : _iterations(0), 15 0 : _is_converged(true) 16 : { 17 0 : } 18 : 19 : void 20 0 : IterativeTensorSolverInterface::applyPredictors() 21 : { 22 0 : for (const auto & pred : _predictors) 23 0 : pred->computeBuffer(); 24 0 : }