The base Kokkos boundary condition of a Dirichlet type. More...
#include <KokkosDirichletBCBase.h>
Classes | |
| struct | PresetLoop |
| Function tag for preset loop. More... | |
Public Types | |
| using | Base = std::conditional_t< is_ad, ADNodalBC, NodalBC > |
Public Member Functions | |
| DirichletBCBaseTempl (const InputParameters ¶meters) | |
| Constructor. More... | |
| virtual bool | preset () const override |
| Get whether the value is to be preset. More... | |
| virtual void | presetSolution (TagID tag) override |
| Dispatch solution vector preset. More... | |
| template<typename Derived > | |
| KOKKOS_FUNCTION void | operator() (PresetLoop, const ThreadID tid, const Derived &bc) const |
| The preset function called by Kokkos. More... | |
| template<typename Derived > | |
| KOKKOS_FUNCTION auto | computeQpResidual (const unsigned int qp, AssemblyDatum &datum) const |
Static Public Member Functions | |
| static InputParameters | validParams () |
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. More... | |
| TagID | _solution_tag |
| Tag associated with the solution vector to be preset. More... | |
The base Kokkos boundary condition of a Dirichlet type.
Definition at line 22 of file KokkosDirichletBCBase.h.
| using Moose::Kokkos::DirichletBCBaseTempl< is_ad >::Base = std::conditional_t<is_ad, ADNodalBC, NodalBC> |
Definition at line 62 of file KokkosDirichletBCBase.h.
|
private |
Definition at line 24 of file KokkosDirichletBCBase.h.
| Moose::Kokkos::DirichletBCBaseTempl< is_ad >::DirichletBCBaseTempl | ( | const InputParameters & | parameters | ) |
Constructor.
| KOKKOS_FUNCTION auto Moose::Kokkos::DirichletBCBaseTempl< is_ad >::computeQpResidual | ( | const unsigned int | qp, |
| AssemblyDatum & | datum | ||
| ) | const |
Definition at line 105 of file KokkosDirichletBCBase.h.
| KOKKOS_FUNCTION void Moose::Kokkos::DirichletBCBaseTempl< is_ad >::operator() | ( | PresetLoop | , |
| const ThreadID | tid, | ||
| const Derived & | bc | ||
| ) | const |
The preset function called by Kokkos.
Definition at line 88 of file KokkosDirichletBCBase.h.
|
inlineoverridevirtual |
Get whether the value is to be preset.
Definition at line 38 of file KokkosDirichletBCBase.h.
|
overridevirtual |
Dispatch solution vector preset.
| tag | The tag associated with the solution vector to be preset |
|
static |
|
private |
Flag whether the value is to be preset.
Definition at line 78 of file KokkosDirichletBCBase.h.
Referenced by Moose::Kokkos::DirichletBCBaseTempl< is_ad >::preset().
|
private |
Tag associated with the solution vector to be preset.
Definition at line 82 of file KokkosDirichletBCBase.h.
1.8.14