https://mooseframework.inl.gov
UnobstructedPlanarViewFactor.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 #include "ViewFactorBase.h"
13 
14 // Forward Declarations
15 
20 {
21 public:
23 
25 
26  virtual void execute() override;
27  virtual void initialize() override;
28 
29 protected:
30  virtual void threadJoinViewFactor(const UserObject & y) override;
31  virtual void finalizeViewFactor() override;
32 
34  void reinitFace(dof_id_type elem_id, unsigned int side);
35 
36  BoundaryInfo * _boundary_info;
37  std::vector<std::tuple<dof_id_type, unsigned short int, boundary_id_type>> _side_list;
38 
40  std::unique_ptr<const Elem> _current_remote_side;
41  std::unique_ptr<libMesh::FEBase> _current_remote_fe;
43  const std::vector<Real> * _current_remote_JxW;
44  const std::vector<Point> * _current_remote_xyz;
45  const std::vector<Point> * _current_remote_normals;
46  std::vector<Real> _current_remote_coord;
48 
49  unsigned int _exponent;
51 };
void reinitFace(dof_id_type elem_id, unsigned int side)
helper function that reinits an element face
virtual void finalizeViewFactor() override
a purely virtural function called in finalize, must be overriden by derived class ...
const std::vector< Point > * _current_remote_normals
const std::vector< double > y
A base class for automatic computation of view factors between sidesets.
std::unique_ptr< libMesh::FEBase > _current_remote_fe
UnobstructedPlanarViewFactor(const InputParameters &parameters)
Computes the view factors for planar faces in unobstructed radiative heat transfer.
virtual void threadJoinViewFactor(const UserObject &y) override
a purely virtual function called in finalize, must be overriden by derived class
std::unique_ptr< const Elem > _current_remote_side
data of the to_elem side being initialized
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< Real > * _current_remote_JxW
const std::vector< Point > * _current_remote_xyz
const InputParameters & parameters() const
uint8_t dof_id_type
std::vector< std::tuple< dof_id_type, unsigned short int, boundary_id_type > > _side_list