Line data Source code
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 : #include "HDGKernel.h" 11 : #include "TimeIntegrator.h" 12 : 13 : InputParameters 14 44316 : HDGKernel::validParams() 15 : { 16 44316 : InputParameters params = Kernel::validParams(); 17 44316 : params.registerBase("HDGKernel"); 18 44316 : return params; 19 0 : } 20 : 21 763 : HDGKernel::HDGKernel(const InputParameters & parameters) : Kernel(parameters) 22 : { 23 763 : if (const auto * const ti = _sys.queryTimeIntegrator(_var.number()); ti && ti->isExplicit()) 24 0 : mooseError("HDGKernels do not currently work with explicit time integration. This is because " 25 : "the facet Lagrange multiplier variable does not have a time derivative term."); 26 : 27 763 : const auto coord_system = _mesh.getUniqueCoordSystem(); 28 763 : if (coord_system != Moose::COORD_XYZ) 29 0 : mooseError("HDGKernels have not yet been coded to include coordinate system information in its " 30 : "residuals/Jacobians"); 31 763 : } 32 : 33 : void 34 0 : HDGKernel::computeResidualAndJacobianOnSide() 35 : { 36 0 : mooseError("not implemented"); 37 : }