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 "UserObject.h" 13 : #include "ScalarCoupleable.h" 14 : #include "MortarConsumerInterface.h" 15 : #include "TwoMaterialPropertyInterface.h" 16 : #include "NeighborCoupleable.h" 17 : 18 : /** 19 : * Base class for creating new nodally-based mortar user objects 20 : */ 21 : class MortarUserObject : public UserObject, 22 : public ScalarCoupleable, 23 : public MortarConsumerInterface, 24 : public TwoMaterialPropertyInterface, 25 : public NeighborCoupleable 26 : { 27 : public: 28 : static InputParameters validParams(); 29 : 30 : MortarUserObject(const InputParameters & parameters); 31 : 32 : /** 33 : * reinitialize any data relevant to the current mortar segment 34 : */ 35 : virtual void reinit() = 0; 36 0 : virtual void threadJoin(const UserObject &) override final {} 37 : };