https://mooseframework.inl.gov
CSVFileTimes.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 // Moose includes
13 #include "Times.h"
14 
18 class CSVFileTimes : public Times
19 {
20 public:
23  virtual ~CSVFileTimes() = default;
24 
25 protected:
26  virtual void initialize() override {}
27 
29  const unsigned int _time_column_index;
30 };
const unsigned int _time_column_index
Column in (all) the CSV file(s) where the time is.
Definition: CSVFileTimes.h:29
virtual void initialize() override
In charge of computing / loading the times, unless all that could be done there is done in the constr...
Definition: CSVFileTimes.h:26
CSVFileTimes(const InputParameters &parameters)
Definition: CSVFileTimes.C:29
Times objects are under the hood Reporters, but limited to a vector of Real.
Definition: Times.h:18
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
Definition: CSVFileTimes.C:16
const InputParameters & parameters() const
Get the parameters of the object.
Times from a file.
Definition: CSVFileTimes.h:18
virtual ~CSVFileTimes()=default