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