https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RhieChowFaceFluxProvider.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
14{
15 auto params = GeneralUserObject::validParams();
17
18 return params;
19}
20
25
26bool
27RhieChowFaceFluxProvider::hasFaceSide(const FaceInfo & fi, const bool fi_elem_side) const
28{
29 if (fi_elem_side)
30 return hasBlocks(fi.elem().subdomain_id());
31 else
32 return fi.neighborPtr() && hasBlocks(fi.neighbor().subdomain_id());
33}
bool hasBlocks(const SubdomainName &name) const
static InputParameters validParams()
const Elem & elem() const
const Elem * neighborPtr() const
const Elem & neighbor() const
static InputParameters validParams()
static InputParameters validParams()
RhieChowFaceFluxProvider(const InputParameters &params)
bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override