https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18{
19public:
21
23
24 virtual void execute() override;
25 virtual void initialize() override;
26
27protected:
28 virtual void threadJoinViewFactor(const UserObject & y) override;
29 virtual void finalizeViewFactor() override;
30
32 void reinitFace(dof_id_type elem_id, unsigned int side);
33
34 BoundaryInfo * _boundary_info;
35 std::vector<std::tuple<dof_id_type, unsigned short int, boundary_id_type>> _side_list;
36
38 std::unique_ptr<const Elem> _current_remote_side;
39 std::unique_ptr<libMesh::FEBase> _current_remote_fe;
41 const std::vector<Real> * _current_remote_JxW;
42 const std::vector<Point> * _current_remote_xyz;
43 const std::vector<Point> * _current_remote_normals;
44 std::vector<Real> _current_remote_coord;
46
47 unsigned int _exponent;
49};
const std::vector< double > y
const InputParameters & parameters() const
Computes the view factors for planar faces in unobstructed radiative heat transfer.
const std::vector< Real > * _current_remote_JxW
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
virtual void threadJoinViewFactor(const UserObject &y) override
a purely virtual function called in finalize, must be overriden by derived class
std::vector< std::tuple< dof_id_type, unsigned short int, boundary_id_type > > _side_list
const std::vector< Point > * _current_remote_xyz
std::unique_ptr< const Elem > _current_remote_side
data of the to_elem side being initialized
const std::vector< Point > * _current_remote_normals
std::unique_ptr< libMesh::FEBase > _current_remote_fe
A base class for automatic computation of view factors between sidesets.