https://mooseframework.inl.gov
SubChannelPointValue.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 "GeneralPostprocessor.h"
13 #include "SubChannelMesh.h"
14 
19 {
20 public:
22  SubChannelPointValue(const InputParameters & params);
23  virtual void initialize() override {}
24  virtual void execute() override;
25  virtual void finalize() override {}
26  virtual Real getValue() const override;
27 
28 protected:
32  const Real & _height;
34  const int & _i_ch;
35  Point _point;
36  const unsigned int _var_number;
37  const System & _system;
40 };
virtual Real getValue() const override
const unsigned int _var_number
static InputParameters validParams()
SubChannelPointValue(const InputParameters &params)
virtual void initialize() override
Real _value
value we want to calculate
Calculates the value of a user selected variable at a user selected point in the assembly.
const SubChannelMesh & _mesh
geometric information
const int & _i_ch
subchannel index
virtual void finalize() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void execute() override
Base class for subchannel meshes.
const Real & _height
axial location [m]