LCOV - code coverage report
Current view: top level - src/userobjects - UserObject.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 11 12 91.7 %
Date: 2026-05-29 20:35:17 Functions: 3 3 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             : #include "UserObject.h"
      11             : #include "Assembly.h"
      12             : 
      13             : InputParameters
      14     1411951 : UserObject::validParams()
      15             : {
      16     1411951 :   InputParameters params = UserObjectBase::validParams();
      17             : 
      18     1411951 :   params.registerSystemAttributeName("UserObject");
      19             : 
      20     1411951 :   return params;
      21           0 : }
      22             : 
      23       73686 : UserObject::UserObject(const InputParameters & parameters)
      24       73686 :   : UserObjectBase(parameters), _coord_sys(_assembly.coordSystem())
      25             : {
      26       73686 : }
      27             : 
      28             : void
      29        3726 : UserObject::setPrimaryThreadCopy(UserObject * primary)
      30             : {
      31        3726 :   if (!_primary_thread_copy && primary != this)
      32        3726 :     _primary_thread_copy = primary;
      33        3726 : }

Generated by: LCOV version 1.14