www.mooseframework.org
ElementPairInfo.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #include "ElementPairInfo.h"
16 
18  const Elem * elem2,
19  const std::vector<Point> & elem1_constraint_q_point,
20  const std::vector<Point> & elem2_constraint_q_point,
21  const std::vector<Real> & elem1_constraint_JxW,
22  const std::vector<Real> & elem2_constraint_JxW,
23  const Point & elem1_normal,
24  const Point & elem2_normal)
25  : _elem1(elem1),
26  _elem2(elem2),
27  _elem1_constraint_q_point(elem1_constraint_q_point),
28  _elem2_constraint_q_point(elem2_constraint_q_point),
29  _elem1_constraint_JxW(elem1_constraint_JxW),
30  _elem2_constraint_JxW(elem2_constraint_JxW),
31  _elem1_normal(elem1_normal),
32  _elem2_normal(elem2_normal)
33 {
34 }
35 
37 
38 void
39 ElementPairInfo::update(const std::vector<Point> & elem1_constraint_q_point,
40  const std::vector<Point> & elem2_constraint_q_point,
41  const std::vector<Real> & elem1_constraint_JxW,
42  const std::vector<Real> & elem2_constraint_JxW,
43  const Point & elem1_normal,
44  const Point & elem2_normal)
45 {
46  _elem1_constraint_q_point = elem1_constraint_q_point;
47  _elem2_constraint_q_point = elem2_constraint_q_point;
48  _elem1_constraint_JxW = elem1_constraint_JxW;
49  _elem2_constraint_JxW = elem2_constraint_JxW;
50  _elem1_normal = elem1_normal;
51  _elem2_normal = elem2_normal;
52 }
std::vector< Real > _elem2_constraint_JxW
virtual void update(const std::vector< Point > &elem1_constraint_q_point, const std::vector< Point > &elem2_constraint_q_point, const std::vector< Real > &elem1_constraint_JxW, const std::vector< Real > &elem2_constraint_JxW, const Point &elem1_normal, const Point &elem2_normal)
virtual ~ElementPairInfo()
std::vector< Point > _elem1_constraint_q_point
std::vector< Real > _elem1_constraint_JxW
std::vector< Point > _elem2_constraint_q_point
ElementPairInfo(const Elem *elem1, const Elem *elem2, const std::vector< Point > &elem1_constraint_q_point, const std::vector< Point > &elem2_constraint_q_point, const std::vector< Real > &elem1_constraint_JxW, const std::vector< Real > &elem2_constraint_JxW, const Point &elem1_normal, const Point &elem2_normal)