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 : #ifdef MOOSE_MFEM_ENABLED 11 : 12 : #include "MFEMComplexVectorDirichletBCBase.h" 13 : 14 : InputParameters 15 4224 : MFEMComplexVectorDirichletBCBase::validParams() 16 : { 17 4224 : InputParameters params = MFEMComplexEssentialBC::validParams(); 18 16896 : params.addParam<MFEMVectorCoefficientName>("vector_coefficient_real", 19 : "0. 0. 0.", 20 : "Vector coefficient specifying the real part of the " 21 : "values the variable takes on the boundary"); 22 12672 : params.addParam<MFEMVectorCoefficientName>("vector_coefficient_imag", 23 : "0. 0. 0.", 24 : "Vector coefficient specifying the imaginary part of " 25 : "the values the variable takes on the boundary"); 26 : 27 4224 : return params; 28 0 : } 29 : 30 14 : MFEMComplexVectorDirichletBCBase::MFEMComplexVectorDirichletBCBase( 31 14 : const InputParameters & parameters) 32 : : MFEMComplexEssentialBC(parameters), 33 14 : _vec_coef_real(getVectorCoefficient("vector_coefficient_real")), 34 42 : _vec_coef_imag(getVectorCoefficient("vector_coefficient_imag")) 35 : { 36 14 : } 37 : 38 : #endif