LCOV - code coverage report
Current view: top level - src/userobjects - ComputeBlockOrientationBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: #32971 (54bef8) with base c6cf66 Lines: 10 10 100.0 %
Date: 2026-05-29 20:40:07 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://www.mooseframework.org
       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 "ComputeBlockOrientationBase.h"
      11             : #include "MooseMesh.h"
      12             : 
      13             : #include "libmesh/mesh_tools.h"
      14             : 
      15             : InputParameters
      16          16 : ComputeBlockOrientationBase::validParams()
      17             : {
      18          16 :   InputParameters params = ElementUserObject::validParams();
      19          16 :   return params;
      20             : }
      21             : 
      22           8 : ComputeBlockOrientationBase::ComputeBlockOrientationBase(const InputParameters & parameters)
      23           8 :   : ElementUserObject(parameters)
      24             : {
      25           8 : }
      26             : 
      27             : EulerAngles
      28         272 : ComputeBlockOrientationBase::getBlockOrientation(SubdomainID block) const
      29             : {
      30         272 :   return _block_ea_values.at(block);
      31             : }
      32             : 
      33             : void
      34          34 : ComputeBlockOrientationBase::initialize()
      35             : {
      36             :   _block_ea_values.clear();
      37          34 : }

Generated by: LCOV version 1.14