www.mooseframework.org
Public Member Functions | Public Attributes | List of all members
ElementPairInfo Class Reference

This is the ElementPairInfo class. More...

#include <ElementPairInfo.h>

Public Member Functions

 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)
 
virtual ~ElementPairInfo ()
 
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)
 

Public Attributes

const Elem * _elem1
 
const Elem * _elem2
 
std::vector< Point > _elem1_constraint_q_point
 
std::vector< Point > _elem2_constraint_q_point
 
std::vector< Real > _elem1_constraint_JxW
 
std::vector< Real > _elem2_constraint_JxW
 
Point _elem1_normal
 
Point _elem2_normal
 

Detailed Description

This is the ElementPairInfo class.

This is a base class that stores information used for integration in element to element constraints.

Definition at line 31 of file ElementPairInfo.h.

Constructor & Destructor Documentation

◆ ElementPairInfo()

ElementPairInfo::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 
)

Definition at line 12 of file ElementPairInfo.C.

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 }
std::vector< Real > _elem2_constraint_JxW
const Elem * _elem1
std::vector< Point > _elem1_constraint_q_point
const Elem * _elem2
std::vector< Real > _elem1_constraint_JxW
std::vector< Point > _elem2_constraint_q_point

◆ ~ElementPairInfo()

ElementPairInfo::~ElementPairInfo ( )
virtual

Definition at line 31 of file ElementPairInfo.C.

31 {}

Member Function Documentation

◆ update()

void ElementPairInfo::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

Definition at line 34 of file ElementPairInfo.C.

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 }
std::vector< Real > _elem2_constraint_JxW
std::vector< Point > _elem1_constraint_q_point
std::vector< Real > _elem1_constraint_JxW
std::vector< Point > _elem2_constraint_q_point

Member Data Documentation

◆ _elem1

const Elem* ElementPairInfo::_elem1

Definition at line 52 of file ElementPairInfo.h.

◆ _elem1_constraint_JxW

std::vector<Real> ElementPairInfo::_elem1_constraint_JxW

Definition at line 56 of file ElementPairInfo.h.

Referenced by ElemElemConstraint::reinitConstraintQuadrature(), and update().

◆ _elem1_constraint_q_point

std::vector<Point> ElementPairInfo::_elem1_constraint_q_point

◆ _elem1_normal

Point ElementPairInfo::_elem1_normal

Definition at line 58 of file ElementPairInfo.h.

Referenced by update().

◆ _elem2

const Elem* ElementPairInfo::_elem2

Definition at line 53 of file ElementPairInfo.h.

◆ _elem2_constraint_JxW

std::vector<Real> ElementPairInfo::_elem2_constraint_JxW

Definition at line 57 of file ElementPairInfo.h.

Referenced by update().

◆ _elem2_constraint_q_point

std::vector<Point> ElementPairInfo::_elem2_constraint_q_point

◆ _elem2_normal

Point ElementPairInfo::_elem2_normal

Definition at line 59 of file ElementPairInfo.h.

Referenced by update().


The documentation for this class was generated from the following files: