https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CSVTimeSequenceStepper.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#include "DelimitedFileReader.h"
14
24{
25public:
27
29
30 virtual void init() override;
31
32protected:
34 const std::string _file_name;
35
38
40 const std::string _delimiter;
41
43 const std::string _column_name;
44
46 const bool _search_by_index;
47
49 const unsigned int _column_index;
50};
Solves the PDEs at a sequence of time points given as a column in a text table file (such as a *....
const std::string _delimiter
string used as a delimiter
const bool _search_by_index
indicates whether to access a column using its index or its name
const std::string _file_name
name of the file where the data is read
static InputParameters validParams()
const unsigned int _column_index
index of the column containing the time data
virtual void init() override
Initialize the time stepper.
const MooseUtils::DelimitedFileReader::HeaderFlag _header
whether the file contains a header with the column names
const std::string _column_name
name of the column containing the time data
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
Solves the PDEs at a sequence of given time points.