LCOV - code coverage report
Current view: top level - include/tensor_solver - IterativeTensorSolverInterface.h (source / functions) Hit Total Coverage
Test: idaholab/swift: #92 (25e020) with base b3cd84 Lines: 0 1 0.0 %
Date: 2025-09-10 17:10:32 Functions: 0 0 -
Legend: Lines: hit not hit

          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             : #pragma once
      10             : 
      11             : class TensorPredictor;
      12             : 
      13             : /**
      14             :  * Interface for tensor solvers with internal iterations
      15             :  */
      16           0 : class IterativeTensorSolverInterface
      17             : {
      18             : public:
      19             :   IterativeTensorSolverInterface();
      20             : 
      21             :   const unsigned int & getIterations() const  { return _iterations; }
      22             :   const bool & isConverged() const { return _is_converged; }
      23             : 
      24             :   void addPredictor(std::shared_ptr<TensorPredictor> predictor);
      25             : 
      26             : protected:
      27             :   void applyPredictors();
      28             : 
      29             :   unsigned int _iterations;
      30             :   bool _is_converged;
      31             : 
      32             :   std::vector<std::shared_ptr<TensorPredictor>> _predictors;
      33             : };

Generated by: LCOV version 1.14