www.mooseframework.org
ElementPairInfo.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 "Moose.h"
14 
15 #include "libmesh/point.h"
16 
17 // libMesh forward declarations
18 namespace libMesh
19 {
20 class Node;
21 class Elem;
22 }
23 
30 {
31 public:
32  ElementPairInfo(const Elem * elem1,
33  const Elem * elem2,
34  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  virtual ~ElementPairInfo();
42 
43  virtual void update(const std::vector<Point> & elem1_constraint_q_point,
44  const std::vector<Point> & elem2_constraint_q_point,
45  const std::vector<Real> & elem1_constraint_JxW,
46  const std::vector<Real> & elem2_constraint_JxW,
47  const Point & elem1_normal,
48  const Point & elem2_normal);
49 
50  const Elem * _elem1;
51  const Elem * _elem2;
52  std::vector<Point> _elem1_constraint_q_point;
53  std::vector<Point> _elem2_constraint_q_point;
54  std::vector<Real> _elem1_constraint_JxW;
55  std::vector<Real> _elem2_constraint_JxW;
58 };
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)