LCOV - code coverage report
Current view: top level - include/problems - AugmentedLagrangianContactProblemInterface.h (source / functions) Hit Total Coverage
Test: idaholab/moose contact: 8601ad Lines: 2 5 40.0 %
Date: 2025-07-18 13:27:36 Functions: 1 2 50.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             : #pragma once
      11             : 
      12             : #include "InputParameters.h"
      13             : 
      14             : /**
      15             :  *  Class to provide an interface for parameters and routines required to check
      16             :  *  convergence for the augmented Lagrangian contact problem.
      17             :  */
      18             : class AugmentedLagrangianContactProblemInterface
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             :   AugmentedLagrangianContactProblemInterface(const InputParameters & params);
      23        2354 :   virtual const unsigned int & getLagrangianIterationNumber() const
      24             :   {
      25        2354 :     return _lagrangian_iteration_number;
      26             :   }
      27           0 :   virtual void setLagrangianIterationNumber(unsigned int iter)
      28             :   {
      29           0 :     _lagrangian_iteration_number = iter;
      30           0 :   }
      31             : 
      32             : protected:
      33             :   /// maximum mumber of augmented lagrange iterations
      34             :   const unsigned int _maximum_number_lagrangian_iterations;
      35             : 
      36             :   /// current augmented lagrange iteration number
      37             :   unsigned int _lagrangian_iteration_number;
      38             : };

Generated by: LCOV version 1.14