https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMVectorDirichletBCBase.C
Go to the documentation of this file.
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
13
16{
18 params.addParam<MFEMVectorCoefficientName>(
19 "vector_coefficient",
20 "0. 0. 0.",
21 "Vector coefficient specifying the values the variable takes on the boundary");
22 return params;
23}
24
26 : MFEMEssentialBC(parameters), _vec_coef(getVectorCoefficient("vector_coefficient"))
27{
28}
29
30#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an optional parameter and a documentation string to the InputParameters object.
static InputParameters validParams()
static InputParameters validParams()
MFEMVectorDirichletBCBase(const InputParameters &parameters)