LCOV - code coverage report
Current view: top level - src/solidproperties - SolidProperties.C (source / functions) Hit Total Coverage
Test: idaholab/moose solid_properties: #31405 (292dce) with base fef103 Lines: 16 17 94.1 %
Date: 2025-09-04 07:57:33 Functions: 2 2 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 "SolidProperties.h"
      11             : #include "MooseObject.h"
      12             : 
      13             : InputParameters
      14         408 : SolidProperties::validParams()
      15             : {
      16         408 :   InputParameters params = GeneralUserObject::validParams();
      17         816 :   params.addParam<bool>(
      18             :       "allow_imperfect_jacobians",
      19         816 :       false,
      20             :       "true to allow unimplemented property derivative terms to be set to zero for the AD API");
      21         408 :   params.registerBase("SolidProperties");
      22             : 
      23             :   // Suppress unused parameters
      24         408 :   params.suppressParameter<bool>("use_displaced_mesh");
      25         408 :   params.suppressParameter<ExecFlagEnum>("execute_on");
      26         408 :   params.suppressParameter<bool>("allow_duplicate_execution_on_initial");
      27         408 :   params.suppressParameter<bool>("force_preic");
      28         408 :   params.suppressParameter<bool>("force_preaux");
      29         408 :   params.suppressParameter<bool>("force_postaux");
      30         408 :   params.suppressParameter<int>("execution_order_group");
      31             : 
      32         408 :   return params;
      33           0 : }
      34             : 
      35         215 : SolidProperties::SolidProperties(const InputParameters & parameters)
      36             :   : ThreadedGeneralUserObject(parameters),
      37             :     SolutionInvalidInterface(this),
      38         430 :     _allow_imperfect_jacobians(getParam<bool>("allow_imperfect_jacobians"))
      39             : {
      40         215 : }

Generated by: LCOV version 1.14