https://mooseframework.inl.gov
GenericInterfaceKernel.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 "InterfaceKernel.h"
13 #include "ADInterfaceKernel.h"
14 
15 template <typename T, bool is_ad>
17 {
18 public:
22  {
23  }
24 };
25 
26 template <typename T>
28 {
29 public:
33  {
34  }
35 };
36 
37 template <bool is_ad>
39 
40 #define usingGenericInterfaceKernelTemplMembers(T) \
41  usingFunctionInterfaceMembers; \
42  usingPostprocessorInterfaceMembers; \
43  usingMooseObjectMembers; \
44  usingTransientInterfaceMembers; \
45  usingTaggingInterfaceMembers; \
46  using GenericInterfaceKernelTempl<T, is_ad>::_qp; \
47  using GenericInterfaceKernelTempl<T, is_ad>::_i; \
48  using GenericInterfaceKernelTempl<T, is_ad>::_j; \
49  using GenericInterfaceKernelTempl<T, is_ad>::_u; \
50  using GenericInterfaceKernelTempl<T, is_ad>::_phi; \
51  using GenericInterfaceKernelTempl<T, is_ad>::_test; \
52  using GenericInterfaceKernelTempl<T, is_ad>::_q_point; \
53  using GenericInterfaceKernelTempl<T, is_ad>::_var; \
54  using GenericInterfaceKernelTempl<T, is_ad>::_neighbor_value; \
55  using GenericInterfaceKernelTempl<T, is_ad>::_test_neighbor; \
56  using GenericInterfaceKernelTempl<T, is_ad>::_phi_neighbor; \
57  using Coupleable::getVar; \
58  using Coupleable::coupled; \
59  using Coupleable::coupledComponents
60 
61 #define usingGenericInterfaceKernelMembers usingGenericInterfaceKernelTemplMembers(Real)
InterfaceKernel and VectorInterfaceKernel is responsible for interfacing physics across subdomains...
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
ADInterfaceKernel and ADVectorInterfaceKernel is responsible for interfacing physics across subdomain...
GenericInterfaceKernelTempl(const InputParameters &parameters)
GenericInterfaceKernelTempl(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()