www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
XFEMMovingInterfaceVelocityBase Class Referenceabstract

#include <XFEMMovingInterfaceVelocityBase.h>

Inheritance diagram for XFEMMovingInterfaceVelocityBase:
[legend]

Public Member Functions

 XFEMMovingInterfaceVelocityBase (const InputParameters &parameters)
 
virtual ~XFEMMovingInterfaceVelocityBase ()
 
virtual void initialize () override
 
virtual Real computeMovingInterfaceVelocity (unsigned int point_id) const =0
 Compute the interface velocity for a point. More...
 
unsigned int numberPoints () const
 Compute total number of points that are used to define an interface. More...
 

Protected Attributes

const PointValueAtXFEMInterface_value_at_interface_uo
 Pointer to PointValueAtXFEMInterface object. More...
 

Detailed Description

Definition at line 21 of file XFEMMovingInterfaceVelocityBase.h.

Constructor & Destructor Documentation

◆ XFEMMovingInterfaceVelocityBase()

XFEMMovingInterfaceVelocityBase::XFEMMovingInterfaceVelocityBase ( const InputParameters &  parameters)

Definition at line 23 of file XFEMMovingInterfaceVelocityBase.C.

24  : DiscreteElementUserObject(parameters)
25 {
26 }

◆ ~XFEMMovingInterfaceVelocityBase()

virtual XFEMMovingInterfaceVelocityBase::~XFEMMovingInterfaceVelocityBase ( )
inlinevirtual

Definition at line 25 of file XFEMMovingInterfaceVelocityBase.h.

25 {}

Member Function Documentation

◆ computeMovingInterfaceVelocity()

virtual Real XFEMMovingInterfaceVelocityBase::computeMovingInterfaceVelocity ( unsigned int  point_id) const
pure virtual

Compute the interface velocity for a point.

Parameters
point_idPoint ID
Returns
Real Interface velocity

Implemented in XFEMPhaseTransitionMovingInterfaceVelocity.

Referenced by MovingLineSegmentCutSetUserObject::execute(), and MovingLineSegmentCutSetUserObject::finalize().

◆ initialize()

void XFEMMovingInterfaceVelocityBase::initialize ( )
overridevirtual

Definition at line 29 of file XFEMMovingInterfaceVelocityBase.C.

30 {
31  const UserObject * uo =
32  &(_fe_problem.getUserObjectBase(getParam<UserObjectName>("value_at_interface_uo")));
33 
34  if (dynamic_cast<const PointValueAtXFEMInterface *>(uo) == nullptr)
35  mooseError("UserObject casting to PointValueAtXFEMInterface in XFEMMovingInterfaceVelocity");
36 
37  _value_at_interface_uo = dynamic_cast<const PointValueAtXFEMInterface *>(uo);
38 }
const PointValueAtXFEMInterface * _value_at_interface_uo
Pointer to PointValueAtXFEMInterface object.

◆ numberPoints()

unsigned int XFEMMovingInterfaceVelocityBase::numberPoints ( ) const
inline

Compute total number of points that are used to define an interface.

Definition at line 39 of file XFEMMovingInterfaceVelocityBase.h.

Referenced by MovingLineSegmentCutSetUserObject::execute(), and MovingLineSegmentCutSetUserObject::finalize().

const PointValueAtXFEMInterface * _value_at_interface_uo
Pointer to PointValueAtXFEMInterface object.

Member Data Documentation

◆ _value_at_interface_uo

const PointValueAtXFEMInterface* XFEMMovingInterfaceVelocityBase::_value_at_interface_uo
protected

The documentation for this class was generated from the following files: