https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMComplexVectorDirichletBCBase.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>("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 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 return params;
28}
29
31 const InputParameters & parameters)
32 : MFEMComplexEssentialBC(parameters),
33 _vec_coef_real(getVectorCoefficient("vector_coefficient_real")),
34 _vec_coef_imag(getVectorCoefficient("vector_coefficient_imag"))
35{
36}
37
38#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()
MFEMComplexVectorDirichletBCBase(const InputParameters &parameters)