LCOV - code coverage report
Current view: top level - src/userobjects - GeneralUserObjectBasePD.C (source / functions) Hit Total Coverage
Test: idaholab/moose peridynamics: #31405 (292dce) with base fef103 Lines: 12 13 92.3 %
Date: 2025-09-04 07:55:08 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 "GeneralUserObjectBasePD.h"
      11             : #include "PeridynamicsMesh.h"
      12             : 
      13             : InputParameters
      14         634 : GeneralUserObjectBasePD::validParams()
      15             : {
      16         634 :   InputParameters params = GeneralUserObject::validParams();
      17         634 :   params.addClassDescription("Base class for peridynamics general userobjects");
      18             : 
      19         634 :   return params;
      20           0 : }
      21             : 
      22         317 : GeneralUserObjectBasePD::GeneralUserObjectBasePD(const InputParameters & parameters)
      23             :   : GeneralUserObject(parameters),
      24         634 :     _mesh(_subproblem.mesh()),
      25         317 :     _pdmesh(dynamic_cast<PeridynamicsMesh &>(_mesh)),
      26         317 :     _dim(_pdmesh.dimension()),
      27         317 :     _aux(_fe_problem.getAuxiliarySystem()),
      28         317 :     _bond_status_var(&_subproblem.getStandardVariable(_tid, "bond_status")),
      29         317 :     _nnodes(2)
      30             : {
      31         317 : }

Generated by: LCOV version 1.14