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 MFEM_ENABLED 11 : 12 : #include "MFEMVectorDirichletBCBase.h" 13 : 14 : InputParameters 15 25950 : MFEMVectorDirichletBCBase::validParams() 16 : { 17 25950 : InputParameters params = MFEMEssentialBC::validParams(); 18 25950 : params.addParam<MFEMVectorCoefficientName>( 19 : "vector_coefficient", 20 : "0. 0. 0.", 21 : "Vector coefficient specifying the values the variable takes on the boundary"); 22 25950 : return params; 23 0 : } 24 : 25 30 : MFEMVectorDirichletBCBase::MFEMVectorDirichletBCBase(const InputParameters & parameters) 26 : : MFEMEssentialBC(parameters), 27 30 : _vec_coef(getVectorCoefficient(getParam<MFEMVectorCoefficientName>("vector_coefficient"))) 28 : { 29 30 : } 30 : 31 : #endif