Line data Source code
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 : #include "FluxBC.h" 11 : 12 : InputParameters 13 14290 : FluxBC::validParams() 14 : { 15 14290 : InputParameters params = IntegratedBC::validParams(); 16 14290 : return params; 17 : } 18 : 19 13 : FluxBC::FluxBC(const InputParameters & params) : IntegratedBC(params) {} 20 : 21 : Real 22 19200 : FluxBC::computeQpResidual() 23 : { 24 19200 : return -computeQpFluxResidual() * _normals[_qp] * _test[_i][_qp]; 25 : } 26 : 27 : Real 28 64512 : FluxBC::computeQpJacobian() 29 : { 30 64512 : return -computeQpFluxJacobian() * _normals[_qp] * _test[_i][_qp]; 31 : }