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 "AuxKernel.h" 13 : #include "XFEM.h" 14 : 15 : /** 16 : * Coupled auxiliary value 17 : */ 18 : class XFEMCutPlaneAux : public AuxKernel 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : XFEMCutPlaneAux(const InputParameters & parameters); 24 : 25 15084 : virtual ~XFEMCutPlaneAux() {} 26 : 27 : protected: 28 : virtual Real computeValue(); 29 : 30 : private: 31 : Xfem::XFEM_CUTPLANE_QUANTITY _quantity; 32 : std::shared_ptr<XFEM> _xfem; 33 : unsigned int _plane_id; 34 : };