LCOV - code coverage report
Current view: top level - include/kokkos/postprocessors - KokkosGeneralPostprocessor.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 0 1 0.0 %
Date: 2026-05-29 20:35:17 Functions: 0 1 0.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 "KokkosPostprocessor.h"
      13             : #include "KokkosGeneralUserObject.h"
      14             : 
      15             : namespace Moose::Kokkos
      16             : {
      17             : 
      18             : class GeneralPostprocessor : public GeneralUserObject, public Postprocessor
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   GeneralPostprocessor(const InputParameters & parameters);
      24             : 
      25             :   /**
      26             :    * We provide default finalize() as getValue() has been abused to perform the final aggregation
      27             :    * for a long time and we allowed not implementing finalize(). However, it is desired to do all
      28             :    * the finalization work such as communication in finalize() and let getValue() simply return the
      29             :    * final aggregated value, as getValue() is designed to be a const method.
      30             :    */
      31           0 :   virtual void finalize() override {}
      32             : };
      33             : 
      34             : } // namespace Moose::Kokkos

Generated by: LCOV version 1.14