19 FEMContext & c = cast_ref<FEMContext &>(context);
23 FEBase * side_fe =
nullptr;
27 const std::vector<Real> & JxW = side_fe->
get_JxW();
29 const std::vector<Point > & q_point = side_fe->
get_xyz();
31 const std::vector<Point> & face_normals = side_fe->
get_normals();
39 for (
unsigned int qp=0; qp != n_qpoints; qp++)
41 const Real x = q_point[qp](0);
42 const Real y = q_point[qp](1);
44 const Real TOL = 1.e-5;
47 if (std::abs(y - 1.0) <= TOL && x > 0.0)
53 dQoI_1 += JxW[qp] * (grad_T * face_normals[qp]);
This class provides all data required for a physics package (e.g.
This class provides all data required for a physics package (e.g.
void get_side_fe(unsigned int var, FEGenericBase< OutputShape > *&fe) const
Accessor for edge/face (2D/3D) finite element object for variable var for the largest dimension in th...
Gradient side_gradient(unsigned int var, unsigned int qp) const
const QBase & get_side_qrule() const
Accessor for element side quadrature rule for the dimension of the current _elem.