https://mooseframework.inl.gov
Loading...
Searching...
No Matches
BlockOrientationFromUserObject.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://www.mooseframework.org
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 "libmesh/communicator.h"
14#include "Coupleable.h"
17
18// Forward Declarations
19class MooseMesh;
20
22{
23public:
25
27
28 virtual void initialize() override;
29 virtual void execute() override;
30 virtual void finalize() override;
31
32protected:
35
37 const UserObjectName & _uo_name;
39
42
45
47 std::vector<VectorPostprocessorValue *> _output_vector;
48};
int _num_rows
Number of rows, representing the number of data entries in the VectorPostprocessor.
const UserObjectName & _uo_name
User object to grab average value from.
MooseMesh & _mesh
Reference to the mesh.
const ComputeBlockOrientationBase * _uo
std::vector< VectorPostprocessorValue * > _output_vector
Vector of outputs, where each entry is the vector of average values for single variable in each block...
int _num_cols
Number of columns, representing the number of features in the VectorPostprocessor.
Computes the average value of a variable on each block.
const InputParameters & parameters() const