PRISMS-PF  v2.1
inputFileReader Class Reference

#include <inputFileReader.h>

Public Member Functions

 inputFileReader (std::string input_file_name, variableAttributeLoader variable_attributes)
 
std::vector< std::string > get_subsection_entry_list (const std::string parameters_file_name, const std::string subsec_name, const std::string entry_name, const std::string default_entry) const
 
unsigned int get_number_of_entries (const std::string parameters_file_name, const std::string keyword, const std::string entry_name) const
 
std::vector< std::string > get_entry_name_ending_list (const std::string parameters_file_name, const std::string keyword, const std::string entry_name_begining) const
 
void declare_parameters (dealii::ParameterHandler &parameter_handler, const std::vector< fieldType > var_types, const std::vector< PDEType > var_eq_types, const unsigned int num_of_constants, const std::vector< bool >) const
 
bool parse_line (std::string line, const std::string keyword, const std::string entry_name, std::string &out_string, bool expect_equals_sign) const
 

Public Attributes

dealii::ParameterHandler parameter_handler
 
std::vector< fieldTypevar_types
 
std::vector< PDETypevar_eq_types
 
unsigned int num_pp_vars
 
unsigned int num_constants
 
std::vector< std::string > model_constant_names
 
std::vector< std::string > var_names
 
unsigned int number_of_dimensions
 
std::vector< bool > var_nucleates
 
std::vector< bool > var_nonlinear
 

Detailed Description

Definition at line 12 of file inputFileReader.h.

Constructor & Destructor Documentation

◆ inputFileReader()

inputFileReader ( std::string  input_file_name,
variableAttributeLoader  variable_attributes 
)

Definition at line 10 of file inputFileReader.cc.

Member Function Documentation

◆ declare_parameters()

void declare_parameters ( dealii::ParameterHandler &  parameter_handler,
const std::vector< fieldType var_types,
const std::vector< PDEType var_eq_types,
const unsigned int  num_of_constants,
const std::vector< bool >  var_nucleates 
) const

Definition at line 236 of file inputFileReader.cc.

◆ get_entry_name_ending_list()

std::vector< std::string > get_entry_name_ending_list ( const std::string  parameters_file_name,
const std::string  keyword,
const std::string  entry_name_begining 
) const

Definition at line 192 of file inputFileReader.cc.

◆ get_number_of_entries()

unsigned int get_number_of_entries ( const std::string  parameters_file_name,
const std::string  keyword,
const std::string  entry_name 
) const

Definition at line 168 of file inputFileReader.cc.

◆ get_subsection_entry_list()

std::vector< std::string > get_subsection_entry_list ( const std::string  parameters_file_name,
const std::string  subsec_name,
const std::string  entry_name,
const std::string  default_entry 
) const

Definition at line 108 of file inputFileReader.cc.

◆ parse_line()

bool parse_line ( std::string  line,
const std::string  keyword,
const std::string  entry_name,
std::string &  out_string,
bool  expect_equals_sign 
) const

Definition at line 44 of file inputFileReader.cc.

Member Data Documentation

◆ model_constant_names

std::vector<std::string> model_constant_names

Definition at line 42 of file inputFileReader.h.

◆ num_constants

unsigned int num_constants

Definition at line 41 of file inputFileReader.h.

◆ num_pp_vars

unsigned int num_pp_vars

Definition at line 40 of file inputFileReader.h.

◆ number_of_dimensions

unsigned int number_of_dimensions

Definition at line 44 of file inputFileReader.h.

◆ parameter_handler

dealii::ParameterHandler parameter_handler

Definition at line 37 of file inputFileReader.h.

◆ var_eq_types

std::vector<PDEType> var_eq_types

Definition at line 39 of file inputFileReader.h.

◆ var_names

std::vector<std::string> var_names

Definition at line 43 of file inputFileReader.h.

◆ var_nonlinear

std::vector<bool> var_nonlinear

Definition at line 46 of file inputFileReader.h.

◆ var_nucleates

std::vector<bool> var_nucleates

Definition at line 45 of file inputFileReader.h.

◆ var_types

std::vector<fieldType> var_types

Definition at line 38 of file inputFileReader.h.


The documentation for this class was generated from the following files: