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