LCOV - code coverage report
Current view: top level - src/constraints - Constraint.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 99787a Lines: 12 13 92.3 %
Date: 2025-10-14 20:01: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 "Constraint.h"
      11             : 
      12             : #include "SubProblem.h"
      13             : 
      14             : InputParameters
      15      357350 : Constraint::validParams()
      16             : {
      17      357350 :   InputParameters params = NeighborResidualObject::validParams();
      18      357350 :   params += GeometricSearchInterface::validParams();
      19             : 
      20     1072050 :   params.addParam<bool>("use_displaced_mesh",
      21      714700 :                         false,
      22             :                         "Whether or not this object should use the "
      23             :                         "displaced mesh for computation.  Note that "
      24             :                         "in the case this is true but no "
      25             :                         "displacements are provided in the Mesh block "
      26             :                         "the undisplaced mesh will still be used.");
      27     1429400 :   params.addParamNamesToGroup("use_displaced_mesh", "Advanced");
      28             : 
      29      714700 :   params.registerBase("Constraint");
      30      357350 :   params.registerSystemAttributeName("Constraint");
      31             : 
      32      357350 :   return params;
      33           0 : }
      34             : 
      35        1727 : Constraint::Constraint(const InputParameters & parameters)
      36        1727 :   : NeighborResidualObject(parameters), GeometricSearchInterface(this)
      37             : {
      38        1727 : }

Generated by: LCOV version 1.14