www.mooseframework.org
XFEMMovingInterfaceVelocityBase.h
Go to the documentation of this file.
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 #pragma once
11 
12 #include "DiscreteElementUserObject.h"
14 
16 
17 template <>
19 
20 class XFEMMovingInterfaceVelocityBase : public DiscreteElementUserObject
21 {
22 public:
23  XFEMMovingInterfaceVelocityBase(const InputParameters & parameters);
25 
26  virtual void initialize() override;
27 
33  virtual Real computeMovingInterfaceVelocity(unsigned int point_id) const = 0;
34 
38  unsigned int numberPoints() const { return _value_at_interface_uo->numberPoints(); }
39 
40 protected:
43 };
44 
PointValueAtXFEMInterface.h
XFEMMovingInterfaceVelocityBase
Definition: XFEMMovingInterfaceVelocityBase.h:20
XFEMMovingInterfaceVelocityBase::numberPoints
unsigned int numberPoints() const
Compute total number of points that are used to define an interface.
Definition: XFEMMovingInterfaceVelocityBase.h:38
PointValueAtXFEMInterface::numberPoints
unsigned int numberPoints() const
Definition: PointValueAtXFEMInterface.h:69
XFEMMovingInterfaceVelocityBase::computeMovingInterfaceVelocity
virtual Real computeMovingInterfaceVelocity(unsigned int point_id) const =0
Compute the interface velocity for a point.
XFEMMovingInterfaceVelocityBase::initialize
virtual void initialize() override
Definition: XFEMMovingInterfaceVelocityBase.C:29
XFEMMovingInterfaceVelocityBase::_value_at_interface_uo
const PointValueAtXFEMInterface * _value_at_interface_uo
Pointer to PointValueAtXFEMInterface object.
Definition: XFEMMovingInterfaceVelocityBase.h:42
validParams< XFEMMovingInterfaceVelocityBase >
InputParameters validParams< XFEMMovingInterfaceVelocityBase >()
Definition: XFEMMovingInterfaceVelocityBase.C:14
XFEMMovingInterfaceVelocityBase::XFEMMovingInterfaceVelocityBase
XFEMMovingInterfaceVelocityBase(const InputParameters &parameters)
Definition: XFEMMovingInterfaceVelocityBase.C:23
XFEMMovingInterfaceVelocityBase::~XFEMMovingInterfaceVelocityBase
virtual ~XFEMMovingInterfaceVelocityBase()
Definition: XFEMMovingInterfaceVelocityBase.h:24
PointValueAtXFEMInterface
Definition: PointValueAtXFEMInterface.h:26