https://mooseframework.inl.gov
Loading...
Searching...
No Matches
KokkosGeneralUserObject.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
12#include "KokkosUserObject.h"
13
16#include "TransientInterface.h"
17
18namespace Moose::Kokkos
19{
20
22 public MeshHolder,
23 public AssemblyHolder,
24 public FESystemHolder,
28{
29public:
31
33
38
39private:
40 // General user objects are not dispatched
41 virtual void computeUserObject() override final {}
42 virtual ThreadID numUserObjectThreads() const override final { return 0; }
43};
44
45} // namespace Moose::Kokkos
Intermediate base class that ties together all the interfaces for getting MooseVariableFEBases with t...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
An interface for accessing Materials.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
The Kokkos interface that holds the host reference of the Kokkos assembly and copies it to device dur...
static InputParameters validParams()
GeneralUserObject(const InputParameters &parameters)
virtual void computeUserObject() override final
Dispatch parallel operation.
virtual ThreadID numUserObjectThreads() const override final
Get the number of threads.
GeneralUserObject(const GeneralUserObject &object)
Copy constructor for parallel dispatch.
The Kokkos interface that holds the host reference of the Kokkos mesh and copies it to device during ...
Definition KokkosMesh.h:630
Interface for objects that needs transient capabilities.
MOOSE_KOKKOS_INDEX_TYPE ThreadID