https://mooseframework.inl.gov
INSFVHydraulicSeparatorInterface.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 
11 
13  : _bc(bc)
14 {
15  if (!dynamic_cast<const INSFVVariable *>(&_bc->variable()))
16  _bc->paramError("variable", "The variable should be an INSFV variable!");
17 }
INSFVHydraulicSeparatorInterface(const FVBoundaryCondition *bc)
Constructor.
void paramError(const std::string &param, Args... args) const
const FVBoundaryCondition * _bc
Pointer to the boundary condition that inherits from this interface.
const MooseVariableFV< Real > & variable() const