www.mooseframework.org
XFEMElementPairLocator.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 "ElementPairLocator.h"
13 #include "XFEM.h"
14 
15 class XFEMElementPairLocator : public ElementPairLocator
16 {
17 public:
18  XFEMElementPairLocator(std::shared_ptr<XFEM> xfem,
19  unsigned int interface_id,
20  bool use_displaced_mesh = false);
21  virtual void reinit();
22  virtual void update();
23 
24 protected:
25  std::shared_ptr<XFEM> _xfem;
27 };
28 
XFEMElementPairLocator
Definition: XFEMElementPairLocator.h:15
XFEMElementPairLocator::_xfem
std::shared_ptr< XFEM > _xfem
Definition: XFEMElementPairLocator.h:25
XFEMElementPairLocator::XFEMElementPairLocator
XFEMElementPairLocator(std::shared_ptr< XFEM > xfem, unsigned int interface_id, bool use_displaced_mesh=false)
Definition: XFEMElementPairLocator.C:12
XFEM.h
XFEMElementPairLocator::update
virtual void update()
Definition: XFEMElementPairLocator.C:88
XFEMElementPairLocator::reinit
virtual void reinit()
Definition: XFEMElementPairLocator.C:24
XFEMElementPairLocator::_use_displaced_mesh
bool _use_displaced_mesh
Definition: XFEMElementPairLocator.h:26