Line data Source code
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 : // MOOSE includes 13 : #include "GeneralVectorPostprocessor.h" 14 : #include "DelimitedFileReader.h" 15 : 16 : class CSVReaderVectorPostprocessor : public GeneralVectorPostprocessor 17 : { 18 : public: 19 : static InputParameters validParams(); 20 : CSVReaderVectorPostprocessor(const InputParameters & parameters); 21 0 : virtual void initialize() override {} 22 0 : virtual void execute() override {} 23 : 24 : protected: 25 : /// The vector variables storing the data read from the csv 26 : std::map<std::string, VectorPostprocessorValue *> _column_data; 27 : };