LCOV - code coverage report
Current view: top level - src/userobjects - UserObject.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: fa5e60 Lines: 11 12 91.7 %
Date: 2026-06-24 08:03:36 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     1404713 : UserObject::validParams()
      15             : {
      16     1404713 :   InputParameters params = UserObjectBase::validParams();
      17             : 
      18     1404713 :   params.registerSystemAttributeName("UserObject");
      19             : 
      20     1404713 :   return params;
      21           0 : }
      22             : 
      23       74673 : UserObject::UserObject(const InputParameters & parameters)
      24       74673 :   : UserObjectBase(parameters), _coord_sys(_assembly.coordSystem())
      25             : {
      26       74673 : }
      27             : 
      28             : void
      29        3751 : UserObject::setPrimaryThreadCopy(UserObject * primary)
      30             : {
      31        3751 :   if (!_primary_thread_copy && primary != this)
      32        3751 :     _primary_thread_copy = primary;
      33        3751 : }

Generated by: LCOV version 1.14