https://mooseframework.inl.gov
CurlCurlField.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 "GenericKernelCurl.h"
13 
18 template <bool is_ad>
20 {
21 public:
23 
25 
26 protected:
27  virtual GenericReal<is_ad> computeQpResidual() override;
28  virtual Real computeQpJacobian() override;
29 
32 
34 };
35 
Moose::GenericType< Real, is_ad > GenericReal
CurlCurlFieldTempl< true > ADCurlCurlField
Definition: CurlCurlField.h:37
virtual GenericReal< is_ad > computeQpResidual() override
Definition: CurlCurlField.C:34
Weak form contribution corresponding to the curl(curl(E)) where E is the electric field vector...
Definition: CurlCurlField.h:19
Real _coeff
Scalar coefficient.
Definition: CurlCurlField.h:31
CurlCurlFieldTempl< false > CurlCurlField
Definition: CurlCurlField.h:36
CurlCurlFieldTempl(const InputParameters &parameters)
Definition: CurlCurlField.C:27
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
static InputParameters validParams()
Definition: CurlCurlField.C:17
virtual Real computeQpJacobian() override
Definition: CurlCurlField.C:41