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 : }