Implements a simple coupled boundary condition where u=v on the boundary. More...
#include <ADVectorMatchedValueBC.h>
Public Member Functions | |
ADVectorMatchedValueBC (const InputParameters ¶meters) | |
const MooseVariableFE< T > & | variable () const override |
bool | shouldSetComp (unsigned short i) const |
MooseVariableBase * | mooseVariableBase () const |
Get the variable that this object is using. More... | |
MooseVariableField< T > & | mooseVariableField () |
Return the MooseVariableField<T> object that this interface acts on. More... | |
MooseVariableFE< T > * | mooseVariable () const |
MooseVariableFV< T > * | mooseVariableFV () const |
Static Public Member Functions | |
static InputParameters | validParams () |
static std::string | deduceFunctorName (const std::string &name, const InputParameters ¶ms) |
Helper to look up a functor name through the input parameter keys. More... | |
Protected Member Functions | |
ADRealVectorValue | computeQpResidual () override |
Compute this NodalBC's contribution to the residual at the current quadrature point. More... | |
virtual const OutputTools< T >::VariableValue & | value () |
The value of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableValue & | valueOld () |
The old value of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableValue & | valueOlder () |
The older value of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableValue & | dot () |
The time derivative of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableValue & | dotDot () |
The second time derivative of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableValue & | dotOld () |
The old time derivative of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableValue & | dotDotOld () |
The old second time derivative of the variable this object is operating on. More... | |
virtual const VariableValue & | dotDu () |
The derivative of the time derivative of the variable this object is operating on with respect to this variable's coefficients. More... | |
virtual const VariableValue & | dotDotDu () |
The derivative of the second time derivative of the variable this object is operating on with respect to this variable's coefficients. More... | |
virtual const OutputTools< T >::VariableGradient & | gradient () |
The gradient of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableGradient & | gradientOld () |
The old gradient of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableGradient & | gradientOlder () |
The older gradient of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableSecond & | second () |
The second derivative of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableSecond & | secondOld () |
The old second derivative of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableSecond & | secondOlder () |
The older second derivative of the variable this object is operating on. More... | |
virtual const OutputTools< T >::VariableTestSecond & | secondTest () |
The second derivative of the test function. More... | |
virtual const OutputTools< T >::VariableTestSecond & | secondTestFace () |
The second derivative of the test function on the current face. More... | |
virtual const OutputTools< T >::VariablePhiSecond & | secondPhi () |
The second derivative of the trial function. More... | |
virtual const OutputTools< T >::VariablePhiSecond & | secondPhiFace () |
The second derivative of the trial function on the current face. More... | |
std::string | deduceFunctorName (const std::string &name) const |
Small helper to look up a functor name through the input parameter keys. More... | |
template<typename T > | |
const Moose::Functor< T > & | getFunctor (const std::string &name) |
Retrieves a functor from the subproblem. More... | |
template<typename T > | |
const Moose::Functor< T > & | getFunctor (const std::string &name, THREAD_ID tid) |
Retrieves a functor from the subproblem. More... | |
template<typename T > | |
const Moose::Functor< T > & | getFunctor (const std::string &name, SubProblem &subproblem) |
Retrieves a functor from the passed-in subproblem. More... | |
template<typename T > | |
const Moose::Functor< T > & | getFunctor (const std::string &name, SubProblem &subproblem, THREAD_ID tid) |
Retrieves a functor from the passed-in subproblem. More... | |
bool | isFunctor (const std::string &name) const |
Checks the subproblem for the given functor. More... | |
bool | isFunctor (const std::string &name, const SubProblem &subproblem) const |
Checks the passed-in subproblem for the given functor. More... | |
Moose::ElemArg | makeElemArg (const Elem *elem, bool correct_skewnewss=false) const |
Helper method to create an elemental argument for a functor that includes whether to perform skewness corrections. More... | |
template<typename T > | |
void | checkFunctorSupportsSideIntegration (const std::string &name, bool qp_integration) |
Throws error if the functor does not support the requested side integration. More... | |
Protected Attributes | |
const ADRealVectorValue & | _v |
MooseVariableFE< T > & | _var |
The variable that this NodalBC operates on. More... | |
const Node *const & | _current_node |
current node being processed More... | |
const unsigned int | _qp = 0 |
Pseudo-"quadrature point" index (Always zero for the current node) More... | |
const Moose::ADType< T >::type & | _u |
Value of the unknown variable this BC is acting on. More... | |
const std::array< bool, 3 > | _set_components |
bool | _nodal |
Whether or not this object is acting only at nodes. More... | |
MooseVariableFE< T > * | _variable = nullptr |
MooseVariableFV< T > * | _fv_variable = nullptr |
Assembly * | _mvi_assembly |
Implements a simple coupled boundary condition where u=v on the boundary.
Definition at line 17 of file ADVectorMatchedValueBC.h.
ADVectorMatchedValueBC::ADVectorMatchedValueBC | ( | const InputParameters & | parameters | ) |
Definition at line 25 of file ADVectorMatchedValueBC.C.
|
protectedinherited |
Throws error if the functor does not support the requested side integration.
[in] | name | Name of functor or functor parameter |
[in] | qp_integration | True if performing qp integration, false if face info |
Definition at line 236 of file FunctorInterface.h.
|
overrideprotectedvirtual |
Compute this NodalBC's contribution to the residual at the current quadrature point.
Implements ADNodalBCTempl< T, Base >.
Definition at line 31 of file ADVectorMatchedValueBC.C.
|
staticinherited |
Helper to look up a functor name through the input parameter keys.
name | The input parameter name that we are trying to deduce the functor name for |
params | The input parameters object that we will be checking for parameters named name |
Definition at line 28 of file FunctorInterface.C.
Referenced by FunctorInterface::checkFunctorSupportsSideIntegration(), FunctorInterface::deduceFunctorName(), FunctorInterface::getFunctor(), and FunctorInterface::isFunctor().
|
protectedinherited |
Small helper to look up a functor name through the input parameter keys.
Definition at line 60 of file FunctorInterface.C.
|
protectedvirtualinherited |
The time derivative of the variable this object is operating on.
Definition at line 134 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The second time derivative of the variable this object is operating on.
Definition at line 144 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The derivative of the second time derivative of the variable this object is operating on with respect to this variable's coefficients.
This is useful for creating Jacobian entries for residual statements that use _u_dotdot
Definition at line 224 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The old second time derivative of the variable this object is operating on.
Definition at line 164 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The derivative of the time derivative of the variable this object is operating on with respect to this variable's coefficients.
This is useful for creating Jacobian entries for residual statements that use _u_dot
Definition at line 214 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The old time derivative of the variable this object is operating on.
Definition at line 154 of file MooseVariableInterface.C.
|
protectedinherited |
Retrieves a functor from the subproblem.
This method also leverages the ability to create default functors if the user passed an integer or real in the input file
name | The name of the functor to retrieve. This should match the functor parameter name, not the actual name of the functor created in the input file |
Definition at line 200 of file FunctorInterface.h.
Referenced by MaterialFunctorConverterTempl< T >::MaterialFunctorConverterTempl().
|
protectedinherited |
Retrieves a functor from the subproblem.
This method also leverages the ability to create default functors if the user passed an integer or real in the input file
name | The name of the functor to retrieve. This should match the functor parameter name, not the actual name of the functor created in the input file |
tid | The thread ID used to retrieve the functor from this interface's subproblem |
Definition at line 192 of file FunctorInterface.h.
|
protectedinherited |
Retrieves a functor from the passed-in subproblem.
This method also leverages the ability to create default functors if the user passed an integer or real in the input file
name | The name of the functor to retrieve. This should match the functor parameter name, not the actual name of the functor created in the input file |
subproblem | The subproblem to query for the functor |
Definition at line 185 of file FunctorInterface.h.
|
protectedinherited |
Retrieves a functor from the passed-in subproblem.
This method also leverages the ability to create default functors if the user passed an integer or real in the input file
name | The name of the functor to retrieve. This should match the functor parameter name, not the actual name of the functor created in the input file |
subproblem | The subproblem to query for the functor |
tid | The thread ID used to retrieve the functor from the subproblem |
Definition at line 176 of file FunctorInterface.h.
|
protectedvirtualinherited |
The gradient of the variable this object is operating on.
This is computed by default and should already be available as _grad_u
Definition at line 234 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The old gradient of the variable this object is operating on.
Definition at line 244 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The older gradient of the variable this object is operating on.
Definition at line 254 of file MooseVariableInterface.C.
|
protectedinherited |
Checks the subproblem for the given functor.
This will not query default functors potentially stored in this object, e.g. this method will return false if the user passed an int or real to the functor param in the input file
name | The name of the functor to check. This should match the functor parameter name, not the actual name of the functor created in the input file |
Definition at line 113 of file FunctorInterface.C.
|
protectedinherited |
Checks the passed-in subproblem for the given functor.
This will not query default functors potentially stored in this object, e.g. this method will return false if the user passed an int or real to the functor param in the input file
name | The name of the functor to check. This should match the functor parameter name, not the actual name of the functor created in the input file |
subproblem | The subproblem to query for the functor |
Definition at line 104 of file FunctorInterface.C.
|
protectedinherited |
Helper method to create an elemental argument for a functor that includes whether to perform skewness corrections.
Definition at line 120 of file FunctorInterface.C.
Referenced by FVFunctorTimeKernel::computeQpResidual(), FVCoupledForce::computeQpResidual(), FVMassMatrix::computeQpResidual(), FVBoundedValueConstraint::computeQpResidual(), FVIntegralValueConstraint::computeQpResidual(), FVPointValueConstraint::computeQpResidual(), SecondTimeDerivativeAux::computeValue(), TimeDerivativeAux::computeValue(), FunctorAux::computeValue(), and FunctorTimes::initialize().
|
inherited |
Definition at line 64 of file MooseVariableInterface.C.
Referenced by ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), ADInterfaceKernelTempl< T >::ADInterfaceKernelTempl(), ADKernelTempl< T >::ADKernelTempl(), and InterfaceKernelTempl< T >::InterfaceKernelTempl().
|
inlineinherited |
Get the variable that this object is using.
Definition at line 48 of file MooseVariableInterface.h.
|
inherited |
Return the MooseVariableField<T>
object that this interface acts on.
Definition at line 334 of file MooseVariableInterface.C.
Referenced by DiracKernelTempl< T >::DiracKernelTempl().
|
inherited |
Definition at line 53 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The second derivative of the variable this object is operating on.
Definition at line 264 of file MooseVariableInterface.C.
Referenced by MooseVariableFV< Real >::getDirichletBoundaryFaceValue().
|
protectedvirtualinherited |
The old second derivative of the variable this object is operating on.
Definition at line 274 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The older second derivative of the variable this object is operating on.
Definition at line 284 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The second derivative of the trial function.
Definition at line 314 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The second derivative of the trial function on the current face.
This should be called in e.g. IntegratedBC when you need second derivatives of the trial function function on the boundary.
Definition at line 324 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The second derivative of the test function.
Definition at line 294 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The second derivative of the test function on the current face.
This should be called in e.g. IntegratedBC when you need second derivatives of the test function function on the boundary.
Definition at line 304 of file MooseVariableInterface.C.
|
inlineinherited |
Definition at line 30 of file ADNodalBC.h.
|
static |
Definition at line 15 of file ADVectorMatchedValueBC.C.
|
protectedvirtualinherited |
The value of the variable this object is operating on.
This is computed by default and should already be available as _u
Definition at line 74 of file MooseVariableInterface.C.
Referenced by ReporterPointSource::fillPoint().
|
protectedvirtualinherited |
The old value of the variable this object is operating on.
Definition at line 94 of file MooseVariableInterface.C.
|
protectedvirtualinherited |
The older value of the variable this object is operating on.
Definition at line 114 of file MooseVariableInterface.C.
|
inlineoverrideinherited |
Definition at line 28 of file ADNodalBC.h.
|
protectedinherited |
current node being processed
Definition at line 42 of file ADNodalBC.h.
|
protectedinherited |
Definition at line 215 of file MooseVariableInterface.h.
Referenced by MooseVariableInterface< Real >::MooseVariableInterface().
|
protectedinherited |
Definition at line 218 of file MooseVariableInterface.h.
Referenced by MooseVariableInterface< Real >::MooseVariableInterface().
|
protectedinherited |
Whether or not this object is acting only at nodes.
Definition at line 210 of file MooseVariableInterface.h.
|
protectedinherited |
Pseudo-"quadrature point" index (Always zero for the current node)
Definition at line 45 of file ADNodalBC.h.
|
protectedinherited |
Definition at line 50 of file ADNodalBC.h.
Referenced by ADNodalBCTempl< RealVectorValue, ADDirichletBCBase >::shouldSetComp().
|
protectedinherited |
Value of the unknown variable this BC is acting on.
Definition at line 48 of file ADNodalBC.h.
Referenced by computeQpResidual().
|
protected |
Definition at line 27 of file ADVectorMatchedValueBC.h.
Referenced by computeQpResidual().
|
protectedinherited |
The variable that this NodalBC operates on.
Definition at line 39 of file ADNodalBC.h.
Referenced by ADNodalBCTempl< RealVectorValue, ADDirichletBCBase >::variable().
|
protectedinherited |
Definition at line 214 of file MooseVariableInterface.h.
Referenced by MooseVariableInterface< Real >::MooseVariableInterface().