Loading [MathJax]/extensions/tex2jax.js
Cardinal
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
NekPointValue.h
Go to the documentation of this file.
1 /********************************************************************/
2 /* SOFTWARE COPYRIGHT NOTIFICATION */
3 /* Cardinal */
4 /* */
5 /* (c) 2021 UChicago Argonne, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by UChicago Argonne, LLC */
9 /* Under Contract No. DE-AC02-06CH11357 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* Prepared by Battelle Energy Alliance, LLC */
13 /* Under Contract No. DE-AC07-05ID14517 */
14 /* With the U. S. Department of Energy */
15 /* */
16 /* See LICENSE for full restrictions */
17 /********************************************************************/
18 
19 #pragma once
20 
21 #include "NekFieldPostprocessor.h"
22 
33 {
34 public:
35  static InputParameters validParams();
36 
37  NekPointValue(const InputParameters & parameters);
38 
39  virtual Real getValue() const override;
40 
41  virtual void execute() override;
42 
43 protected:
45  const Point & _point;
46 
48  Real _value;
49 };
virtual Real getValue() const override
const Point & _point
Point where the field will be evaluated.
Definition: NekPointValue.h:45
Real _value
The value of the variable at the desired location.
Definition: NekPointValue.h:48
Definition: NekFieldPostprocessor.h:30
virtual void execute() override
static InputParameters validParams()
Definition: NekPointValue.h:32
NekPointValue(const InputParameters &parameters)