https://mooseframework.inl.gov
DirectionalFluxBC.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 "FunctionNeumannBC.h"
13 
15 
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeQpResidual() override;
28  virtual void precalculateResidual() override;
29 
32 
35 
37  unsigned int _illumination;
38 };
Boundary condition to apply a directional flux multiplied by the surface normal vector.
unsigned int _illumination
Illumination state (bitmask)
static InputParameters validParams()
virtual Real computeQpResidual() override
Given a radiation direction vector this user object computes the illumination state of each side QP o...
const SelfShadowSideUserObject *const _self_shadow
Self shadow illumination calculation user object.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
DirectionalFluxBC(const InputParameters &parameters)
const RealVectorValue _direction
Flux direction and magnitude vector.
virtual void precalculateResidual() override