LCOV - code coverage report
Current view: top level - include/loops - ComputeResidualAndJacobianThread.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 1 1 100.0 %
Date: 2025-07-17 01:28:37 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : #pragma once
      11             : 
      12             : #include "NonlinearThread.h"
      13             : 
      14             : // Forward declarations
      15             : class FEProblemBase;
      16             : class NonlinearSystemBase;
      17             : class IntegratedBCBase;
      18             : class DGKernelBase;
      19             : class InterfaceKernelBase;
      20             : class TimeKernel;
      21             : class KernelBase;
      22             : class Kernel;
      23             : 
      24             : class ComputeResidualAndJacobianThread : public NonlinearThread
      25             : {
      26             : public:
      27             :   ComputeResidualAndJacobianThread(FEProblemBase & fe_problem,
      28             :                                    const std::set<TagID> & vector_tags,
      29             :                                    const std::set<TagID> & matrix_tags);
      30             : 
      31             :   // Splitting Constructor
      32             :   ComputeResidualAndJacobianThread(ComputeResidualAndJacobianThread & x, Threads::split split);
      33             : 
      34             :   virtual ~ComputeResidualAndJacobianThread();
      35             : 
      36             :   void join(const ComputeResidualAndJacobianThread & /*y*/);
      37             : 
      38             : protected:
      39             :   using NonlinearThread::compute;
      40             :   void compute(ResidualObject & ro) override;
      41             :   void accumulateNeighbor() override;
      42             :   void accumulateNeighborLower() override;
      43             :   void accumulateLower() override;
      44             :   void accumulate() override;
      45             :   void determineObjectWarehouses() override;
      46             :   using NonlinearThread::computeOnInternalFace;
      47             :   virtual void computeOnInternalFace() override;
      48             : 
      49          42 :   std::string objectType() const override { return "combined Jacobian & Residual"; }
      50             : 
      51             :   /// the tags denoting the vectors we want our residual objects to fill
      52             :   const std::set<TagID> & _vector_tags;
      53             : 
      54             :   /// the tags denoting the matrices we want our residual objects to fill
      55             :   const std::set<TagID> & _matrix_tags;
      56             : };

Generated by: LCOV version 1.14