https://mooseframework.inl.gov
KokkosNodalBCBase.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
14 
15 namespace Moose
16 {
17 namespace Kokkos
18 {
19 
25 {
26 public:
28 
37  NodalBCBase(const NodalBCBase & object);
38 
43  std::vector<ContiguousNodeID> getContiguousNodes() const;
44 
48  virtual bool preset() const { return false; }
50  virtual void presetSolution(TagID /* tag */) {}
52 };
53 
54 } // namespace Kokkos
55 } // namespace Moose
56 
57 #define usingKokkosNodalBCBaseMembers usingKokkosBoundaryConditionMembers
VarFieldType
Definition: MooseTypes.h:722
unsigned int TagID
Definition: MooseTypes.h:210
std::vector< ContiguousNodeID > getContiguousNodes() const
Get the list of contiguous node IDs this object is operating on.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The base class for Kokkos boundary conditions.
virtual bool preset() const
For use in Dirichlet boundary conditions only.
The base class for Kokkos nodal boundary conditions.
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
static InputParameters validParams()
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
NodalBCBase(const InputParameters &parameters, Moose::VarFieldType field_type)
Constructor.
virtual void presetSolution(TagID)