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 "DiffusionIPHDGAssemblyHelper.h" 11 : #include "DiffusionIPHDGPrescribedFluxBC.h" 12 : 13 : registerMooseObject("MooseApp", DiffusionIPHDGPrescribedFluxBC); 14 : 15 : InputParameters 16 14432 : DiffusionIPHDGPrescribedFluxBC::validParams() 17 : { 18 14432 : auto params = IPHDGPrescribedFluxBC::validParams(); 19 14432 : params += DiffusionIPHDGAssemblyHelper::validParams(); 20 14432 : params.addClassDescription("Implements a flux boundary condition for use with a hybridized " 21 : "discretization of the diffusion equation"); 22 14432 : return params; 23 0 : } 24 : 25 85 : DiffusionIPHDGPrescribedFluxBC::DiffusionIPHDGPrescribedFluxBC(const InputParameters & parameters) 26 : : IPHDGPrescribedFluxBC(parameters), 27 255 : _iphdg_helper(std::make_unique<DiffusionIPHDGAssemblyHelper>( 28 85 : this, this, this, _sys, _assembly, _tid, std::set<SubdomainID>{}, boundaryIDs())) 29 : { 30 85 : }