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