https://mooseframework.inl.gov
SpatialUserObjectVectorPostprocessor.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 
19 {
20 public:
22 
28 
32  virtual void initialize() override;
33 
37  virtual void execute() override;
38 
44  void fillPoints();
45 
46 protected:
49 
51  const UserObject & _uo;
52 
54  std::vector<Point> _points;
55 };
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void execute() override
Populates the postprocessor vector of values with the userobject evaluations in space.
virtual void initialize() override
Initialize, clears the postprocessor vector.
VectorPostprocessorValue & _uo_vec
The VectorPostprocessorValue object where the results are stored.
SpatialUserObjectVectorPostprocessor(const InputParameters &parameters)
Class constructor.
void fillPoints()
Read the points at which to evaluate from a vector (&#39;points&#39;), a file (&#39;points_file&#39;), or neither (which will read from the user object directly if it satisfies the spatialPoints interface)
std::vector< Real > VectorPostprocessorValue
Definition: MooseTypes.h:203
const InputParameters & parameters() const
Get the parameters of the object.
const UserObject & _uo
Userobject to evaluate spatially.
SpatialUserObjectVectorPostprocessor is a type of VectorPostprocessor that outputs the values of a sp...
Base class for user-specific data.
Definition: UserObject.h:40
std::vector< Point > _points
Points at which to evaluate the user object.