LCOV - code coverage report
Current view: top level - include/kokkos/userobjects - KokkosGeneralUserObject.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 0 2 0.0 %
Date: 2026-05-29 20:35:17 Functions: 0 2 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 "KokkosUserObject.h"
      13             : 
      14             : #include "MaterialPropertyInterface.h"
      15             : #include "TransientInterface.h"
      16             : 
      17             : namespace Moose::Kokkos
      18             : {
      19             : 
      20             : class GeneralUserObject : public UserObject,
      21             :                           public MeshHolder,
      22             :                           public AssemblyHolder,
      23             :                           public SystemHolder,
      24             :                           public ::MaterialPropertyInterface,
      25             :                           public ::TransientInterface
      26             : {
      27             : public:
      28             :   static InputParameters validParams();
      29             : 
      30             :   GeneralUserObject(const InputParameters & parameters);
      31             : 
      32             :   /**
      33             :    * Copy constructor for parallel dispatch
      34             :    */
      35             :   GeneralUserObject(const GeneralUserObject & object);
      36             : 
      37             : private:
      38             :   // General user objects are not dispatched
      39           0 :   virtual void computeUserObject() override final {}
      40           0 :   virtual ThreadID numUserObjectThreads() const override final { return 0; }
      41             : };
      42             : 
      43             : } // namespace Moose::Kokkos

Generated by: LCOV version 1.14