https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
28
32 virtual void initialize() override;
33
37 virtual void execute() override;
38
44 void fillPoints();
45
46protected:
49
51 const UserObject & _uo;
52
54 std::vector<Point> _points;
55};
std::vector< Real > VectorPostprocessorValue
Definition MooseTypes.h:231
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.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
SpatialUserObjectVectorPostprocessor is a type of VectorPostprocessor that outputs the values of a sp...
const UserObject & _uo
Userobject to evaluate spatially.
std::vector< Point > _points
Points at which to evaluate the user object.
VectorPostprocessorValue & _uo_vec
The VectorPostprocessorValue object where the results are stored.
void fillPoints()
Read the points at which to evaluate from a vector ('points'), a file ('points_file'),...
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.
Base class for user-specific data.
Definition UserObject.h:20