LCOV - code coverage report
Current view: top level - include/loops - ComputeResidualThread.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             : class ResidualObject;
      15             : 
      16             : class ComputeResidualThread : public NonlinearThread
      17             : {
      18             : public:
      19             :   ComputeResidualThread(FEProblemBase & fe_problem, const std::set<TagID> & tags);
      20             : 
      21             :   // Splitting Constructor
      22             :   ComputeResidualThread(ComputeResidualThread & x, Threads::split split);
      23             : 
      24             :   virtual ~ComputeResidualThread();
      25             : 
      26             :   void join(const ComputeResidualThread & /*y*/);
      27             : 
      28             : protected:
      29             :   using NonlinearThread::compute;
      30             :   virtual void compute(ResidualObject & ro) override;
      31             :   using NonlinearThread::computeOnInternalFace;
      32             :   virtual void computeOnInternalFace() override;
      33             : 
      34             :   void accumulateNeighbor() override;
      35             :   void accumulateNeighborLower() override;
      36             :   void accumulateLower() override;
      37             :   void accumulate() override;
      38             :   void determineObjectWarehouses() override;
      39             : 
      40       48175 :   std::string objectType() const override { return "Residual"; }
      41             : 
      42             :   /// the tags denoting the vectors we want our residual objects to fill
      43             :   const std::set<TagID> & _tags;
      44             : };

Generated by: LCOV version 1.14