#include <GapHeatPointSourceMaster.h>
Definition at line 22 of file GapHeatPointSourceMaster.h.
◆ GapHeatPointSourceMaster()
GapHeatPointSourceMaster::GapHeatPointSourceMaster |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 42 of file GapHeatPointSourceMaster.C.
43 : DiracKernel(parameters),
45 getPenetrationLocator(getParam<BoundaryName>(
"boundary"),
46 getParam<BoundaryName>(
"slave"),
47 Utility::string_to_enum<Order>(getParam<MooseEnum>(
"order")))),
50 if (parameters.isParamValid(
"tangential_tolerance"))
53 if (parameters.isParamValid(
"normal_smoothing_distance"))
56 if (parameters.isParamValid(
"normal_smoothing_method"))
58 parameters.get<std::string>(
"normal_smoothing_method"));
◆ addPoints()
void GapHeatPointSourceMaster::addPoints |
( |
| ) |
|
|
virtual |
Definition at line 62 of file GapHeatPointSourceMaster.C.
67 std::map<dof_id_type, PenetrationInfo *>::iterator
71 for (; it != end; ++it)
73 PenetrationInfo * pinfo = it->second;
76 if (!pinfo || pinfo->_node->n_comp(_sys.number(), _var.number()) < 1)
79 addPoint(pinfo->_elem, pinfo->_closest_point);
◆ computeQpJacobian()
Real GapHeatPointSourceMaster::computeQpJacobian |
( |
| ) |
|
|
virtual |
◆ computeQpResidual()
Real GapHeatPointSourceMaster::computeQpResidual |
( |
| ) |
|
|
virtual |
Definition at line 85 of file GapHeatPointSourceMaster.C.
88 const Node * node = pinfo->_node;
89 long int dof_number = node->dof_number(_sys.number(), _var.number(), 0);
◆ validParams()
InputParameters GapHeatPointSourceMaster::validParams |
( |
| ) |
|
|
static |
Definition at line 22 of file GapHeatPointSourceMaster.C.
24 MooseEnum orders(
"CONSTANT FIRST SECOND THIRD FOURTH",
"FIRST");
27 params.addRequiredParam<BoundaryName>(
"boundary",
"The master boundary");
28 params.addRequiredParam<BoundaryName>(
"slave",
"The slave boundary");
29 params.addParam<MooseEnum>(
"order", orders,
"The finite element order");
30 params.set<
bool>(
"use_displaced_mesh") =
true;
31 params.addParam<Real>(
"tangential_tolerance",
32 "Tangential distance to extend edges of contact surfaces");
33 params.addParam<Real>(
34 "normal_smoothing_distance",
35 "Distance from edge in parametric coordinates over which to smooth contact normal");
36 params.addParam<std::string>(
"normal_smoothing_method",
37 "Method to use to smooth normals (edge_based|nodal_normal_based)");
◆ _penetration_locator
PenetrationLocator& GapHeatPointSourceMaster::_penetration_locator |
|
protected |
◆ _slave_flux
NumericVector<Number>& GapHeatPointSourceMaster::_slave_flux |
|
protected |
◆ point_to_info
std::map<Point, PenetrationInfo *> GapHeatPointSourceMaster::point_to_info |
|
protected |
The documentation for this class was generated from the following files: