www.mooseframework.org
AdvectionBC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "IntegratedBC.h"
13 
14 // Forward Declarations
15 class AdvectionBC;
16 
17 template <>
18 InputParameters validParams<AdvectionBC>();
19 
24 class AdvectionBC : public IntegratedBC
25 {
26 public:
27  AdvectionBC(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpResidual() override;
31  virtual Real computeQpJacobian() override;
32 
33  const unsigned int _dim;
34  const unsigned int _coupled_components;
35  std::vector<const VariableValue *> _velocity;
36 };
AdvectionBC::computeQpJacobian
virtual Real computeQpJacobian() override
Definition: AdvectionBC.C:57
AdvectionBC::_dim
const unsigned int _dim
Definition: AdvectionBC.h:33
AdvectionBC::_coupled_components
const unsigned int _coupled_components
Definition: AdvectionBC.h:34
AdvectionBC
Boundary terms for inflow/outflow of advected quantities, e.g.
Definition: AdvectionBC.h:24
validParams< AdvectionBC >
InputParameters validParams< AdvectionBC >()
Definition: AdvectionBC.C:17
AdvectionBC::computeQpResidual
virtual Real computeQpResidual() override
Definition: AdvectionBC.C:46
AdvectionBC::AdvectionBC
AdvectionBC(const InputParameters &parameters)
Definition: AdvectionBC.C:27
AdvectionBC::_velocity
std::vector< const VariableValue * > _velocity
Definition: AdvectionBC.h:35