#include <XFEMPressure.h>
Definition at line 17 of file XFEMPressure.h.
◆ XFEMPressure()
XFEMPressure::XFEMPressure |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 29 of file XFEMPressure.C.
30 : DiracKernel(parameters),
31 _component(getParam<unsigned int>(
"component")),
32 _factor(getParam<Real>(
"factor")),
33 _function(isParamValid(
"function") ? &getFunction(
"function") : NULL)
35 GeometricSearchData & geo_search_data = _subproblem.geomSearchData();
◆ addPoints()
void XFEMPressure::addPoints |
( |
| ) |
|
|
virtual |
Definition at line 40 of file XFEMPressure.C.
45 for (std::map<
unsigned int, std::shared_ptr<ElementPairLocator>>::iterator it_epl =
50 ElementPairLocator & elem_pair_loc = *it_epl->second;
52 const std::list<std::pair<const Elem *, const Elem *>> & elem_pairs =
53 elem_pair_loc.getElemPairs();
54 for (std::list<std::pair<const Elem *, const Elem *>>::const_iterator it_ep =
56 it_ep != elem_pairs.end();
59 const Elem * elem1 = it_ep->first;
60 const Elem * elem2 = it_ep->second;
61 const ElementPairInfo & info = elem_pair_loc.getElemPairInfo(*it_ep);
63 for (
unsigned int i = 0; i < info._elem1_constraint_q_point.size(); ++i)
69 addPoint(elem1, info._elem1_constraint_q_point[i]);
70 addPoint(elem2, info._elem2_constraint_q_point[i]);
◆ computeQpResidual()
Real XFEMPressure::computeQpResidual |
( |
| ) |
|
|
virtual |
◆ _component
const int XFEMPressure::_component |
|
protected |
◆ _elem_qp_JxW
std::map<const Elem *, std::map<unsigned int, Real> > XFEMPressure::_elem_qp_JxW |
|
protected |
◆ _elem_qp_normal
std::map<const Elem *, std::map<unsigned int, Point> > XFEMPressure::_elem_qp_normal |
|
protected |
◆ _element_pair_locators
std::map<unsigned int, std::shared_ptr<ElementPairLocator> >* XFEMPressure::_element_pair_locators |
|
protected |
◆ _factor
const Real XFEMPressure::_factor |
|
protected |
◆ _function
const Function* const XFEMPressure::_function |
|
protected |
The documentation for this class was generated from the following files: