Commit 3b56541c authored by Alexander Lindsay's avatar Alexander Lindsay
Browse files

Updates to MooseVariableInterface and variable getter APIs to incorporate vector finite elements

Needs to wait for https://github.com/idaholab/moose/pull/10238
parent 60673545
Pipeline #3061 passed with stages
in 15 minutes and 31 seconds
......@@ -31,7 +31,7 @@ InputParameters validParams<NekSideIntegralVariableUserObject>();
*/
class NekSideIntegralVariableUserObject :
public SideIntegralUserObject,
public MooseVariableInterface
public MooseVariableInterface<Real>
{
public:
NekSideIntegralVariableUserObject(const InputParameters & parameters);
......
......@@ -38,7 +38,7 @@ NekSideIntegralVariableUserObject::NekSideIntegralVariableUserObject(const Input
// TODO we really shouldn't have to dynamic cast into FourierPolynomial and Legendre Polynomial here
// but this was a quick example
SideIntegralUserObject(parameters),
MooseVariableInterface(this, false),
MooseVariableInterface<Real>(this, false),
_u(coupledValue("variable")),
_legendre_poly_function(dynamic_cast<LegendrePolynomial&>(_mci_feproblem.getFunction(parameters.get<std::string>("legendre_function_name")))),
_fourier_poly_function(dynamic_cast<FourierPolynomial&>(_mci_feproblem.getFunction(parameters.get<std::string>("fourier_function_name")))),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment