https://mooseframework.inl.gov
ElementPairInfo.h
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 #pragma once
11 
12 // MOOSE includes
13 #include "Moose.h"
14 #include "MooseTypes.h"
15 
16 #include "libmesh/point.h"
17 
18 // libMesh forward declarations
19 namespace libMesh
20 {
21 class Node;
22 class Elem;
23 }
24 
31 {
32 public:
33  ElementPairInfo(const Elem * elem1,
34  const Elem * elem2,
35  const std::vector<Point> & elem1_constraint_q_point,
36  const std::vector<Point> & elem2_constraint_q_point,
37  const std::vector<Real> & elem1_constraint_JxW,
38  const std::vector<Real> & elem2_constraint_JxW,
39  const Point & elem1_normal,
40  const Point & elem2_normal);
41 
42  virtual ~ElementPairInfo();
43 
44  virtual void update(const std::vector<Point> & elem1_constraint_q_point,
45  const std::vector<Point> & elem2_constraint_q_point,
46  const std::vector<Real> & elem1_constraint_JxW,
47  const std::vector<Real> & elem2_constraint_JxW,
48  const Point & elem1_normal,
49  const Point & elem2_normal);
50 
51  const Elem * _elem1;
52  const Elem * _elem2;
53  std::vector<Point> _elem1_constraint_q_point;
54  std::vector<Point> _elem2_constraint_q_point;
55  std::vector<Real> _elem1_constraint_JxW;
56  std::vector<Real> _elem2_constraint_JxW;
59 };
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()
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
const Elem * _elem1
std::vector< Point > _elem1_constraint_q_point
This is the ElementPairInfo class.
const Elem * _elem2
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)