www.mooseframework.org
ElementPairInfo.h
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 #ifndef ELEMENTPAIRINFO_H
16 #define ELEMENTPAIRINFO_H
17 
18 // MOOSE includes
19 #include "Moose.h"
20 
21 #include "libmesh/vector_value.h"
22 #include "libmesh/point.h"
23 
24 // libMesh forward declarations
25 namespace libMesh
26 {
27 class Node;
28 class Elem;
29 }
30 
37 {
38 public:
39  ElementPairInfo(const Elem * elem1,
40  const Elem * elem2,
41  const std::vector<Point> & elem1_constraint_q_point,
42  const std::vector<Point> & elem2_constraint_q_point,
43  const std::vector<Real> & elem1_constraint_JxW,
44  const std::vector<Real> & elem2_constraint_JxW,
45  const Point & elem1_normal,
46  const Point & elem2_normal);
47 
48  virtual ~ElementPairInfo();
49 
50  virtual void update(const std::vector<Point> & elem1_constraint_q_point,
51  const std::vector<Point> & elem2_constraint_q_point,
52  const std::vector<Real> & elem1_constraint_JxW,
53  const std::vector<Real> & elem2_constraint_JxW,
54  const Point & elem1_normal,
55  const Point & elem2_normal);
56 
57  const Elem * _elem1;
58  const Elem * _elem2;
59  std::vector<Point> _elem1_constraint_q_point;
60  std::vector<Point> _elem2_constraint_q_point;
61  std::vector<Real> _elem1_constraint_JxW;
62  std::vector<Real> _elem2_constraint_JxW;
65 };
66 
67 #endif // ELEMENTPAIRLOCATOR_H
std::vector< Real > _elem2_constraint_JxW
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