https://mooseframework.inl.gov
NavierStokesLHDGOutflowBC.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 "IntegratedBC.h"
14 
15 #include <vector>
16 
17 template <typename>
18 class MooseVariableFE;
20 template <typename>
21 class MooseArray;
22 class Function;
23 
29 {
30 public:
32 
34 
35  virtual void computeResidual() override;
36  virtual void computeJacobian() override;
37  virtual void computeOffDiagJacobian(unsigned int jvar) override;
38  virtual void jacobianSetup() override;
39  virtual void initialSetup() override;
40 
41 protected:
42  virtual Real computeQpResidual() override
43  {
44  mooseAssert(false, "this will never be called");
45  return 0;
46  }
47 
49  unsigned int _cached_side;
50 };
virtual void computeOffDiagJacobian(unsigned int jvar) override
static InputParameters validParams()
NavierStokesLHDGOutflowBC(const InputParameters &parameters)
virtual Real computeQpResidual() override
virtual void jacobianSetup() override
virtual void computeResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _cached_side
A cache variable to prevent multiple computations of Jacobians.
const InputParameters & parameters() const
virtual void initialSetup() override
Implements an outflow boundary condition for use with a hybridized discretization of the incompressib...
Implements all the methods for assembling a hybridized local discontinuous Galerkin (LDG-H)...
virtual void computeJacobian() override