https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
13#include "SubChannelMesh.h"
14
19{
20public:
23 virtual void initialize() override {}
24 virtual void execute() override;
25 virtual void finalize() override;
26 virtual Real getValue() const override;
27
28protected:
32 const Real & _height;
34 const unsigned int & _i_ch;
36 const VariableName & _variable;
38 unsigned int _iz;
40 Real _weight;
42 Real _value;
43};
Base class for subchannel meshes.
Calculates the value of a user selected variable at a user selected point in the assembly.
static InputParameters validParams()
Real _weight
linear interpolation weight of the height within the axial cell
unsigned int _iz
axial cell containing the height
virtual void finalize() override
const unsigned int & _i_ch
subchannel index
virtual void execute() override
const Real & _height
axial location [m]
virtual void initialize() override
virtual Real getValue() const override
Real _value
value we want to calculate
const VariableName & _variable
name of variable
const SubChannelMesh & _mesh
geometric information