www.mooseframework.org
FluxBC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef FLUXBC_H
16 #define FLUXBC_H
17 
18 #include "IntegratedBC.h"
19 
20 class FluxBC;
21 
22 template <>
24 
30 class FluxBC : public IntegratedBC
31 {
32 public:
33  FluxBC(const InputParameters & params);
34 
35 protected:
36  virtual Real computeQpResidual() override;
37  virtual Real computeQpJacobian() override;
38 
39  virtual RealGradient computeQpFluxResidual() = 0;
40  virtual RealGradient computeQpFluxJacobian() = 0;
41 };
42 
43 #endif /* FLUXBC_H */
RealVectorValue RealGradient
Definition: Assembly.h:43
virtual Real computeQpResidual() override
Definition: FluxBC.C:28
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< FluxBC >()
Definition: FluxBC.C:19
virtual Real computeQpJacobian() override
Definition: FluxBC.C:34
Boundary condition of a flux type .
Definition: FluxBC.h:30
virtual RealGradient computeQpFluxResidual()=0
Base class for deriving any boundary condition of a integrated type.
Definition: IntegratedBC.h:33
virtual RealGradient computeQpFluxJacobian()=0
FluxBC(const InputParameters &params)
Definition: FluxBC.C:25