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 "CNSFVHLLCImplicitBC.h" 11 : 12 : InputParameters 13 246 : CNSFVHLLCImplicitBC::validParams() 14 : { 15 246 : InputParameters params = CNSFVHLLCBC::validParams(); 16 246 : return params; 17 : } 18 : 19 130 : CNSFVHLLCImplicitBC::CNSFVHLLCImplicitBC(const InputParameters & parameters) 20 130 : : CNSFVHLLCBC(parameters) 21 : { 22 130 : } 23 : 24 : void 25 14496 : CNSFVHLLCImplicitBC::preComputeWaveSpeed() 26 : { 27 14496 : _normal_speed_boundary = _normal_speed_elem; 28 14496 : _rho_boundary = _rho_elem[_qp]; 29 14496 : _vel_boundary = _vel_elem[_qp]; 30 14496 : _specific_internal_energy_boundary = _specific_internal_energy_elem[_qp]; 31 14496 : } 32 : 33 : ADReal 34 6300 : CNSFVHLLCImplicitBC::fluxBoundary() 35 : { 36 6300 : return fluxElem(); 37 : } 38 : 39 : ADReal 40 6300 : CNSFVHLLCImplicitBC::hllcBoundary() 41 : { 42 6300 : return hllcElem(); 43 : } 44 : 45 : ADReal 46 6300 : CNSFVHLLCImplicitBC::conservedVariableBoundary() 47 : { 48 6300 : return conservedVariableElem(); 49 : }