https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CoupledPressureBC.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 "PressureBase.h"
13#include "PressureAction.h"
14
18template <bool is_ad>
20{
21public:
24
25 CoupledPressureBCTempl(const InputParameters & parameters);
26
27protected:
28 virtual GenericReal<is_ad> computePressure() const override;
29
32
33 using PressureParent<is_ad>::_qp;
34};
35
38
declareMoosePressureAction(CoupledPressureBC, CoupledPressureAction)
CoupledPressureBCTempl< false > CoupledPressureBC
CoupledPressureBCTempl< true > ADCoupledPressureBC
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
Moose::GenericType< Real, is_ad > GenericReal
typename std::conditional< is_ad, ADPressureBase, PressureBase >::type PressureParent
Pressure boundary condition using coupled variable to apply pressure in a given direction.
static InputParameters validParams()
virtual GenericReal< is_ad > computePressure() const override
static InputParameters actionParams()
const GenericVariableValue< is_ad > & _pressure
The values of pressure to be imposed.