https://mooseframework.inl.gov
ADFlowBoundaryFlux1Phase.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 
13 
14 class ADBoundaryFluxBase;
15 
20 {
21 public:
23 
24  virtual Real computeQpIntegral() override;
25 
26 protected:
28  const unsigned int _n_components;
30  std::vector<const ADVariableValue *> _U;
32  const std::string & _boundary_name;
34  const std::string _boundary_uo_name;
38  const unsigned int _equation_index;
39 
40 public:
42 };
Retrieves an entry of a flux vector for a 1-phase boundary.
const unsigned int _equation_index
Index within flux vector to query.
const ADBoundaryFluxBase & _boundary_uo
Boundary user object.
static InputParameters validParams()
const std::string _boundary_uo_name
Boundary user object name.
std::vector< const ADVariableValue * > _U
Variables to pass to boundary flux user object, in the correct order.
virtual Real computeQpIntegral() override
A base class for computing/caching fluxes at boundaries.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
ADFlowBoundaryFlux1Phase(const InputParameters &parameters)
const std::string & _boundary_name
Boundary component name.
const unsigned int _n_components
Number of components in the solution vector used to compute the flux.