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 
20 class AdvectionBC : public IntegratedBC
21 {
22 public:
24 
26 
27 protected:
28  virtual Real computeQpResidual() override;
29  virtual Real computeQpJacobian() override;
30 
31  const unsigned int _dim;
32  const unsigned int _coupled_components;
33  const std::vector<const VariableValue *> _velocity;
34 };
virtual Real computeQpJacobian() override
Definition: AdvectionBC.C:53
const unsigned int _dim
Definition: AdvectionBC.h:31
const unsigned int _coupled_components
Definition: AdvectionBC.h:32
const std::vector< const VariableValue * > _velocity
Definition: AdvectionBC.h:33
Boundary terms for inflow/outflow of advected quantities, e.g.
Definition: AdvectionBC.h:20
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
AdvectionBC(const InputParameters &parameters)
Definition: AdvectionBC.C:26
virtual Real computeQpResidual() override
Definition: AdvectionBC.C:42
static InputParameters validParams()
Definition: AdvectionBC.C:16
const InputParameters & parameters() const