https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18template <bool is_ad>
20{
21public:
23
25
26protected:
27 virtual GenericReal<is_ad> computeQpResidual() override;
28 virtual Real computeQpJacobian() override;
29
31 Real _coeff;
32
34};
35
CurlCurlFieldTempl< false > CurlCurlField
CurlCurlFieldTempl< true > ADCurlCurlField
Moose::GenericType< Real, is_ad > GenericReal
Weak form contribution corresponding to the curl(curl(E)) where E is the electric field vector.
virtual GenericReal< is_ad > computeQpResidual() override
static InputParameters validParams()
Real _coeff
Scalar coefficient.
virtual Real computeQpJacobian() override
const InputParameters & parameters() const