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::Kokkos
16 {
17 
23 {
24 public:
26 
35  NodalBCBase(const NodalBCBase & object);
36 
41  std::vector<ContiguousNodeID> getContiguousNodes() const;
42 
46  virtual bool preset() const { return false; }
48  virtual void presetSolution(TagID /* tag */) {}
50 };
51 
52 } // namespace Moose::Kokkos
VarFieldType
Definition: MooseTypes.h:770
unsigned int TagID
Definition: MooseTypes.h:238
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()
NodalBCBase(const InputParameters &parameters, Moose::VarFieldType field_type)
Constructor.
virtual void presetSolution(TagID)