https://mooseframework.inl.gov
VectorPostprocessorSampler.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 "Sampler.h"
13 
15 {
16 public:
18 
20 
21 protected:
23  virtual Real computeSample(dof_id_type row_index, dof_id_type col_index) override;
24 
26  void executeSetUp() override;
27 
28 private:
30  std::vector<const std::vector<Real> *> _data;
31 };
VectorPostprocessorSampler(const InputParameters &parameters)
std::vector< const std::vector< Real > * > _data
Storage of VPP data.
virtual Real computeSample(dof_id_type row_index, dof_id_type col_index) override
Return the sample for the given row and column.
void executeSetUp() override
Set the number of rows and columns after postprocessor data is filled.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
uint8_t dof_id_type