www.mooseframework.org
xfem
include
dirackernels
XFEMPressure.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
// Moose Includes
13
#include "DiracKernel.h"
14
15
class
Function;
16
17
class
XFEMPressure
:
public
DiracKernel
18
{
19
public
:
20
XFEMPressure
(
const
InputParameters & parameters);
21
22
virtual
void
addPoints
();
23
virtual
Real
computeQpResidual
();
24
25
protected
:
26
const
int
_component
;
27
const
Real
_factor
;
28
const
Function *
const
_function
;
29
30
std::map<unsigned int, std::shared_ptr<ElementPairLocator>> *
_element_pair_locators
;
31
std::map<const Elem *, std::map<unsigned int, Point>>
_elem_qp_normal
;
32
std::map<const Elem *, std::map<unsigned int, Real>>
_elem_qp_JxW
;
33
};
34
35
template
<>
36
InputParameters
validParams<XFEMPressure>
();
XFEMPressure::_elem_qp_normal
std::map< const Elem *, std::map< unsigned int, Point > > _elem_qp_normal
Definition:
XFEMPressure.h:31
XFEMPressure::_function
const Function *const _function
Definition:
XFEMPressure.h:28
XFEMPressure::_factor
const Real _factor
Definition:
XFEMPressure.h:27
XFEMPressure::addPoints
virtual void addPoints()
Definition:
XFEMPressure.C:40
XFEMPressure::_elem_qp_JxW
std::map< const Elem *, std::map< unsigned int, Real > > _elem_qp_JxW
Definition:
XFEMPressure.h:32
XFEMPressure
Definition:
XFEMPressure.h:17
XFEMPressure::_component
const int _component
Definition:
XFEMPressure.h:26
XFEMPressure::computeQpResidual
virtual Real computeQpResidual()
Definition:
XFEMPressure.C:77
XFEMPressure::_element_pair_locators
std::map< unsigned int, std::shared_ptr< ElementPairLocator > > * _element_pair_locators
Definition:
XFEMPressure.h:30
XFEMPressure::XFEMPressure
XFEMPressure(const InputParameters ¶meters)
Definition:
XFEMPressure.C:29
validParams< XFEMPressure >
InputParameters validParams< XFEMPressure >()
Definition:
XFEMPressure.C:20
Generated on Sat Jan 25 2020 12:04:47 for www.mooseframework.org by
1.8.16