LCOV - code coverage report
Current view: top level - src/constraints - Constraint.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 11 12 91.7 %
Date: 2025-07-17 01:28:37 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 "Constraint.h"
      11             : 
      12             : #include "SubProblem.h"
      13             : 
      14             : InputParameters
      15      345520 : Constraint::validParams()
      16             : {
      17      345520 :   InputParameters params = NeighborResidualObject::validParams();
      18             : 
      19     1036560 :   params.addParam<bool>("use_displaced_mesh",
      20      691040 :                         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      345520 :   params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
      27             : 
      28      345520 :   params.registerBase("Constraint");
      29      345520 :   params.registerSystemAttributeName("Constraint");
      30             : 
      31      345520 :   return params;
      32           0 : }
      33             : 
      34        1587 : Constraint::Constraint(const InputParameters & parameters)
      35        1587 :   : NeighborResidualObject(parameters), GeometricSearchInterface(this)
      36             : {
      37        1587 : }

Generated by: LCOV version 1.14