Imposes the essential boundary condition u = g(t, x), where g is a Kokkos function. More...
#include <KokkosFunctionDirichletBC.h>
Public Types | |
| using | Base = std::conditional_t< is_ad, ADNodalBC, NodalBC > |
Public Member Functions | |
| KokkosFunctionDirichletBCTempl (const InputParameters ¶meters) | |
| KOKKOS_FUNCTION Real | computeValue (const unsigned int qp, AssemblyDatum &datum) const |
| virtual bool | preset () const override |
| Get whether the value is to be preset. | |
| virtual void | presetSolution (TagID tag) override |
| Dispatch solution vector preset. | |
| template<typename Derived > | |
| KOKKOS_FUNCTION void | operator() (PresetLoop, const ThreadID tid, const Derived &bc) const |
| The preset function called by Kokkos. | |
| template<typename Derived > | |
| KOKKOS_FUNCTION auto | computeQpResidual (const unsigned int qp, AssemblyDatum &datum) const |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Attributes | |
| const Moose::Kokkos::Function | _func |
| The function describing the Dirichlet condition. | |
Private Types | |
| using | real_type = std::conditional_t< is_ad, ADReal, Real > |
Private Attributes | |
| const bool | _preset |
| Flag whether the value is to be preset. | |
| TagID | _solution_tag |
| Tag associated with the solution vector to be preset. | |
Imposes the essential boundary condition u = g(t, x), where g is a Kokkos function.
Definition at line 19 of file KokkosFunctionDirichletBC.h.
|
inherited |
Definition at line 62 of file KokkosDirichletBCBase.h.
|
privateinherited |
Definition at line 24 of file KokkosDirichletBCBase.h.
| KokkosFunctionDirichletBCTempl< is_ad >::KokkosFunctionDirichletBCTempl | ( | const InputParameters & | parameters | ) |
|
inherited |
Definition at line 105 of file KokkosDirichletBCBase.h.
|
inline |
Definition at line 26 of file KokkosFunctionDirichletBC.h.
|
inherited |
The preset function called by Kokkos.
Definition at line 88 of file KokkosDirichletBCBase.h.
|
inlineoverridevirtualinherited |
Get whether the value is to be preset.
Definition at line 38 of file KokkosDirichletBCBase.h.
|
overridevirtualinherited |
Dispatch solution vector preset.
| tag | The tag associated with the solution vector to be preset |
|
static |
|
protected |
The function describing the Dirichlet condition.
Definition at line 33 of file KokkosFunctionDirichletBC.h.
Referenced by KokkosFunctionDirichletBCTempl< is_ad >::computeValue().
|
privateinherited |
Flag whether the value is to be preset.
Definition at line 78 of file KokkosDirichletBCBase.h.
Referenced by Moose::Kokkos::DirichletBCBaseTempl< is_ad >::preset().
|
privateinherited |
Tag associated with the solution vector to be preset.
Definition at line 82 of file KokkosDirichletBCBase.h.