LCOV - code coverage report
Current view: top level - src/bcs - BoundaryCondition.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31761 (28487c) with base 701993 Lines: 14 15 93.3 %
Date: 2025-11-11 13:51:07 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     1481210 : BoundaryCondition::validParams()
      14             : {
      15     1481210 :   InputParameters params = ResidualObject::validParams();
      16     1481210 :   params += BoundaryRestrictableRequired::validParams();
      17     1481210 :   params += GeometricSearchInterface::validParams();
      18             : 
      19     4443630 :   params.addParam<bool>("use_displaced_mesh",
      20     2962420 :                         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     5924840 :   params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
      28     5924840 :   params.addCoupledVar("displacements", "The displacements");
      29     2962420 :   params.registerBase("BoundaryCondition");
      30     1481210 :   params.registerSystemAttributeName("BoundaryCondition");
      31             : 
      32     1481210 :   return params;
      33           0 : }
      34             : 
      35       83671 : BoundaryCondition::BoundaryCondition(const InputParameters & parameters, bool nodal)
      36             :   : ResidualObject(parameters, nodal),
      37             :     BoundaryRestrictableRequired(this, nodal),
      38             :     DistributionInterface(this),
      39       83671 :     GeometricSearchInterface(this)
      40             : {
      41       83663 : }

Generated by: LCOV version 1.14