https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElementPairInfo.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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#include "ElementPairInfo.h"
11
13 const Elem * elem2,
14 const std::vector<Point> & elem1_constraint_q_point,
15 const std::vector<Point> & elem2_constraint_q_point,
16 const std::vector<Real> & elem1_constraint_JxW,
17 const std::vector<Real> & elem2_constraint_JxW,
18 const Point & elem1_normal,
19 const Point & elem2_normal)
20 : _elem1(elem1),
21 _elem2(elem2),
22 _elem1_constraint_q_point(elem1_constraint_q_point),
23 _elem2_constraint_q_point(elem2_constraint_q_point),
24 _elem1_constraint_JxW(elem1_constraint_JxW),
25 _elem2_constraint_JxW(elem2_constraint_JxW),
26 _elem1_normal(elem1_normal),
27 _elem2_normal(elem2_normal)
28{
29}
30
32
33void
34ElementPairInfo::update(const std::vector<Point> & elem1_constraint_q_point,
35 const std::vector<Point> & elem2_constraint_q_point,
36 const std::vector<Real> & elem1_constraint_JxW,
37 const std::vector<Real> & elem2_constraint_JxW,
38 const Point & elem1_normal,
39 const Point & elem2_normal)
40{
41 _elem1_constraint_q_point = elem1_constraint_q_point;
42 _elem2_constraint_q_point = elem2_constraint_q_point;
43 _elem1_constraint_JxW = elem1_constraint_JxW;
44 _elem2_constraint_JxW = elem2_constraint_JxW;
45 _elem1_normal = elem1_normal;
46 _elem2_normal = elem2_normal;
47}
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 > _elem2_constraint_q_point
std::vector< Real > _elem2_constraint_JxW
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)
std::vector< Real > _elem1_constraint_JxW
std::vector< Point > _elem1_constraint_q_point