https://mooseframework.inl.gov
NavierStokesLHDGVelocityDirichletBC.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 <array>
16 
23 {
24 public:
26 
28 
29  virtual void computeResidual() override;
30  virtual void computeJacobian() override;
31  virtual void computeOffDiagJacobian(unsigned int jvar) override;
32  virtual void jacobianSetup() override;
33  virtual void initialSetup() override;
34 
35 protected:
36  virtual Real computeQpResidual() override
37  {
38  mooseAssert(false, "this will never be called");
39  return 0;
40  }
41 
42 private:
44  std::array<const Moose::Functor<Real> *, 3> _dirichlet_vel;
45 
47  unsigned int _cached_side;
48 };
virtual void computeOffDiagJacobian(unsigned int jvar) override
unsigned int _cached_side
A cache variable to prevent multiple computations of Jacobians.
std::array< const Moose::Functor< Real > *, 3 > _dirichlet_vel
Dirichlet velocity.
Weakly imposes Dirichlet boundary conditions for the velocity for a hybridized discretization of the ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
NavierStokesLHDGVelocityDirichletBC(const InputParameters &parameters)
Implements all the methods for assembling a hybridized local discontinuous Galerkin (LDG-H)...