https://mooseframework.inl.gov
INSFVPressureNoQpComputation.h
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 #pragma once
11 
12 #include "INSFVPressureVariable.h"
13 
14 class InputParameters;
15 
17 {
18 public:
20 
24  virtual void requireQpComputations() const override
25  {
26  mooseError("Qp-calculations should not be requested");
27  }
28  inline const MooseArray<ADReal> & adDofValues() const override
29  {
30  mooseError("Qp-calculations should not be requested");
31  }
32  const DoFValue & dofValues() const override
33  {
34  mooseError("Qp-calculations should not be requested");
35  }
36  const DoFValue & dofValuesOld() const override
37  {
38  mooseError("Qp-calculations should not be requested");
39  }
40  const DoFValue & dofValuesDot() const override
41  {
42  mooseError("Qp-calculations should not be requested");
43  }
44 };
const DoFValue & dofValuesOld() const override
const DoFValue & dofValues() const override
INSFVPressureNoQpComputation(const InputParameters &params)
virtual void requireQpComputations() const override
Set a selection of routines that are use Qp values to error to make sure Qp values are not being comp...
void mooseError(Args &&... args) const
const DoFValue & dofValuesDot() const override
const MooseArray< ADReal > & adDofValues() const override