LCOV - code coverage report
Current view: top level - src/bcs - BoundaryCondition.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31706 (f8ed4a) with base bb0a08 Lines: 14 15 93.3 %
Date: 2025-11-03 17:23:24 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 "BoundaryCondition.h"
      11             : 
      12             : InputParameters
      13     1536318 : BoundaryCondition::validParams()
      14             : {
      15     1536318 :   InputParameters params = ResidualObject::validParams();
      16     1536318 :   params += BoundaryRestrictableRequired::validParams();
      17     1536318 :   params += GeometricSearchInterface::validParams();
      18             : 
      19     4608954 :   params.addParam<bool>("use_displaced_mesh",
      20     3072636 :                         false,
      21             :                         "Whether or not this object should use the "
      22             :                         "displaced mesh for computation.  Note that "
      23             :                         "in the case this is true but no "
      24             :                         "displacements are provided in the Mesh block "
      25             :                         "the undisplaced mesh will still be used.");
      26             : 
      27     6145272 :   params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
      28     6145272 :   params.addCoupledVar("displacements", "The displacements");
      29     3072636 :   params.registerBase("BoundaryCondition");
      30     1536318 :   params.registerSystemAttributeName("BoundaryCondition");
      31             : 
      32     1536318 :   return params;
      33           0 : }
      34             : 
      35       83625 : BoundaryCondition::BoundaryCondition(const InputParameters & parameters, bool nodal)
      36             :   : ResidualObject(parameters, nodal),
      37             :     BoundaryRestrictableRequired(this, nodal),
      38             :     DistributionInterface(this),
      39       83625 :     GeometricSearchInterface(this)
      40             : {
      41       83617 : }

Generated by: LCOV version 1.14