LCOV - code coverage report
Current view: top level - src/bcs - BoundaryCondition.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 14 15 93.3 %
Date: 2026-05-29 20:35:17 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      436005 : BoundaryCondition::validParams()
      14             : {
      15      436005 :   InputParameters params = ResidualObject::validParams();
      16      436005 :   params += BoundaryRestrictableRequired::validParams();
      17      436005 :   params += GeometricSearchInterface::validParams();
      18             : 
      19     1308015 :   params.addParam<bool>("use_displaced_mesh",
      20      872010 :                         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     1744020 :   params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
      28     1744020 :   params.addCoupledVar("displacements", "The displacements");
      29      872010 :   params.registerBase("BoundaryCondition");
      30      436005 :   params.registerSystemAttributeName("BoundaryCondition");
      31             : 
      32      436005 :   return params;
      33           0 : }
      34             : 
      35       75252 : BoundaryCondition::BoundaryCondition(const InputParameters & parameters, bool nodal)
      36             :   : ResidualObject(parameters, nodal),
      37             :     BoundaryRestrictableRequired(this, nodal),
      38             :     DistributionInterface(this),
      39       75252 :     GeometricSearchInterface(this)
      40             : {
      41       75246 : }

Generated by: LCOV version 1.14